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 a1a9eb0822 0.1.13 add back keeping payload as is when passed in a packet
emit consumer-connection events
2019-11-21 10:05:21 -08: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.1.13 add back keeping payload as is when passed in a packet 2019-11-21 10:05:21 -08: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.1.12 refactored to use mqtt.js directly. Converts needed functions to promises. Updated other deps 2019-08-15 08:11:36 -07:00
.npmignore 0.1.12 refactored to use mqtt.js directly. Converts needed functions to promises. Updated other deps 2019-08-15 08:11:36 -07:00
package.json 0.1.13 add back keeping payload as is when passed in a packet 2019-11-21 10:05:21 -08: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