uci-mqtt/readme.md

9 lines
563 B
Markdown
Raw Permalink Normal View History

# uCOMmandIt MQTT client
This module integrates MQTT messaging with UCI Packet Messaging.
One can use it as a standard mqtt pub/sub but also provides a transport and functionality for UCI packets via send and push METHODS
In which case they instance can act like a consumer/client (send) or server/socket (push) based on client option
One can `send` a UCI JSON packet and by default the command will be translated into the MQTT Topic and the remainder into the payload and vice versa a listener waits for incoming MQTT messages translates them to UCI packages