This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| app-notes:mqtt-set-dio [2022/11/23 08:43] – created dodenhoeft | app-notes:mqtt-set-dio [2023/01/26 07:54] (current) – [SDK Script] dodenhoeft | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| * SDK enabled via WEB UI | * SDK enabled via WEB UI | ||
| - | ====== SDK Script | + | ==== SDK Script ==== |
| The follwing script is just an example | The follwing script is just an example | ||
| <code c mqtt-set-dio-status.are> | <code c mqtt-set-dio-status.are> | ||
| 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. | ||
| < | < | ||
| - | user@debian: | + | user@debian: |
| 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, ' | Client (null) sending PUBLISH (d0, q0, r0, m1, ' | ||
| Client (null) sending DISCONNECT | Client (null) sending DISCONNECT | ||
| - | user@debian: | + | user@debian: |
| Client (null) sending CONNECT | Client (null) sending CONNECT | ||
| Client (null) received CONNACK (0) | Client (null) received CONNACK (0) | ||