How do I use Ably with an Arduino, or some other c/c++ platform?
We do not yet directly have a client library for any Arduino platforms, or for c/c++. If you want to use an Arduino board with Ably, or integrate Ably into a c or c++ application, you have three options.
- The first option (the one we recommend) is to use a standard MQTT library, and use our Ably MQTT adaptor, see Do you support MQTT and are you protocol agnostic , or MQTT documentation for usage instructions
- The second option is to use the PubNub library for that platform with our PubNub protocol adapter, see the Ably PubNub protocol adapter documentation
- The third option, if you only need to publish and not subscribe, is just to use an HTTP library with our REST api endpoints directly