an mqtt client that wraps/translates UCI packets for send/receive from mqtt brokers. Allow mqtt clients to to interact with UCI based system
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
David Kebler 1c28088379 0.3.2 update deps includin mqtt to v4 3 years ago
examples refactor so send and push work like regular sockets except using mqtt as transport 4 years ago
src 0.3.1 had missing emit 'socket' so that base will know when mqtt module is listening to broker 3 years ago
test handle array of topcis 5 years ago
.eslintrc.js initial commit - working mqtt client class 5 years ago
.gitignore 0.3.1 had missing emit 'socket' so that base will know when mqtt module is listening to broker 3 years ago
.npmignore 0.3.1 had missing emit 'socket' so that base will know when mqtt module is listening to broker 3 years ago
package.json 0.3.2 update deps includin mqtt to v4 3 years ago
readme.md 0.1.13 add back keeping payload as is when passed in a packet 4 years ago

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