an mqtt client that wraps/translates UCI packets for send/receive from mqtt brokers. Allow mqtt clients to to interact with UCI based system
 
Go to file
David Kebler af93f278e0 0.3.1 had missing emit 'socket' so that base will know when mqtt module is listening to broker 2020-03-15 17:00:42 -07:00
examples refactor so send and push work like regular sockets except using mqtt as transport 2019-09-02 15:00:34 -07:00
src 0.3.1 had missing emit 'socket' so that base will know when mqtt module is listening to broker 2020-03-15 17:00:42 -07:00
test handle array of topcis 2018-04-05 15:50:39 -07:00
.eslintrc.js initial commit - working mqtt client class 2018-02-28 20:24:45 -08:00
.gitignore 0.3.1 had missing emit 'socket' so that base will know when mqtt module is listening to broker 2020-03-15 17:00:42 -07:00
.npmignore 0.3.1 had missing emit 'socket' so that base will know when mqtt module is listening to broker 2020-03-15 17:00:42 -07:00
package.json 0.3.1 had missing emit 'socket' so that base will know when mqtt module is listening to broker 2020-03-15 17:00:42 -07:00
readme.md 0.1.13 add back keeping payload as is when passed in a packet 2019-11-21 10:05:21 -08:00

readme.md

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