Miscelaneous
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Usually, you'll want to subscribe to a widcard topic like downlink/#.
Reboot can be triggered using Device Menu -> Reboot
.
You will get a message on downlink/reboot topic, with an empty payload.
mosquitto_sub -h blynk.cloud -p 8883 -u device -P '{DEVICE_TOKEN}' -t 'downlink/reboot'
This feature is activated using Device Menu -> Ping
.
The server publishes downlink/ping topic, with QOS 1
and an empty payload. Subsequently, the client should automatically respond with an MQTT PUBACK
packet, in accordance with the MQTT standard.
mosquitto_sub -h blynk.cloud -p 8883 -u device -P '{DEVICE_TOKEN}' -t 'downlink/ping'
Upon connection, the client can specifiy the Last Will message along with the topic to which it should be published. If the client loses connection without sending a proper MQTT DISCONNECT
message, the broker will publish this pre-determined Last Will message.
The server has the capability to publish messages under the downlink/diag topic under certain circumstances, typically when it detects potentially problematic behavior from the client. These diagnostic messages are designed to be observed and addressed by developers.
mosquitto_sub -h blynk.cloud -p 8883 -u device -P '{DEVICE_TOKEN}' -t 'downlink/diag'