Subscribe to a topic

There are lots of devices in IoT. By subscribing to the device's topic, you can listen the messages received by the device.




topic Set the topic to be subscribed. You may refer to the tutorial to get the device topic.


"|4|1|2|1|\r" Successfully subscribed

"|4|1|2|2|1|\r"The topic number that OBLOQ is able to subscribed reachs maximum (one OBLOQ subscribes up to 5 topics), so the subscription fails.

"|4|1|2|2|2|\r" topic subscription failed.

Arduino Sample:


results matching ""

    No results matching ""