No ACL setup yet! Denying access to everyone.
en:edu:zmitac:s2:aih:lab:stm32mqtt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:edu:zmitac:s2:aih:lab:stm32mqtt [2024/01/17 14:39] – ktokarzen:edu:zmitac:s2:aih:lab:stm32mqtt [2024/01/17 14:46] (current) – ktokarz
Line 66: Line 66:
 Please refer to the MQTT lesson for the details. Please refer to the MQTT lesson for the details.
 </note> </note>
 +If some other device publishes the data using the topic we subscribe the modem will send the information including the topic's name, length of the payload and payload as the text (without quotation marks).
 +<code>
 ++MQTTSUBRECV:0,"MQTT_topic",length,data
 +</code>
 +for example:
 +<code>
 ++MQTTSUBRECV:0,"vrel/device1/sensor/colour",7,#1C1C99
 +</code>
en/edu/zmitac/s2/aih/lab/stm32mqtt.1705498786.txt.gz · Last modified: by ktokarz