Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
app-notes:mqtt-set-dio [2022/11/23 08:43] – [SDK Script] dodenhoeftapp-notes:mqtt-set-dio [2023/01/26 07:54] (current) – [SDK Script] dodenhoeft
Line 100: Line 100:
 To subscribe to the topic /dio/status we are useing mosquitto.  To subscribe to the topic /dio/status we are useing mosquitto. 
 <konsole> <konsole>
-user@debian:~$ mosquitto_pub -h 192.168.1.1 -m "0-t dio/status -d +user@debian:~$ mosquitto_pub -h 192.168.1.1 -m '0-t dio/status -d 
 Client (null) sending CONNECT Client (null) sending CONNECT
 Client (null) received CONNACK (0) Client (null) received CONNACK (0)
 Client (null) sending PUBLISH (d0, q0, r0, m1, 'dio/status', ... (1 bytes)) Client (null) sending PUBLISH (d0, q0, r0, m1, 'dio/status', ... (1 bytes))
 Client (null) sending DISCONNECT Client (null) sending DISCONNECT
-user@debian:~$ mosquitto_pub -h 192.168.1.1 -m "1-t dio/status -d +user@debian:~$ mosquitto_pub -h 192.168.1.1 -m '1-t dio/status -d 
 Client (null) sending CONNECT Client (null) sending CONNECT
 Client (null) received CONNACK (0) Client (null) received CONNACK (0)