Commit Graph

18 Commits (master)

Author SHA1 Message Date
David Kebler 1c28088379 0.3.2 update deps includin mqtt to v4 2020-07-26 15:43:57 -07:00
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
David Kebler f5fde15007 0.3.0 bump for 3-2020 deployment of light code
adjust event names to match uci socket module
catch no packet for send and push
2020-03-15 15:56:48 -07:00
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
David Kebler ec953c0123 refactor so send and push work like regular sockets except using mqtt as transport
pub/sub still works traditionally with 'payload' event for incoming mqtt messages
2019-09-02 15:00:34 -07:00
David Kebler 1e334022f4 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
David Kebler abec7cd661 0.1.11 use topic match to protect against reply packets having same topic and subscribed (which causes infinite loop with broker)
added settable error topic 'error' by default.  Any errors can be sent to broker with that topic
2019-04-27 12:08:46 -07:00
David Kebler 6eab513dc4 0.1.10 on send improved handle of creating payload. clean up logging, update deps 2019-04-26 10:42:46 -07:00
David Kebler 4031ec9e02 0.1.9 bind end to close for consistency with rest of UCI 2019-03-17 13:50:33 -07:00
David Kebler 3788a4c097 update deps, update to new logger location 2019-02-26 11:47:54 -08:00
David Kebler 4a63a53a3d update dependencies
little cleanup
add jsdoc comments
2019-01-01 19:20:51 -08:00
David Kebler f08e361d2e now process topic to cmd prop and vice versa so it is compatible with uci packets 2018-05-24 12:31:47 -07:00
David Kebler 8ac552e9a8 upgrade to esm from @std/esm 2018-05-16 07:20:33 -07:00
David Kebler 5dda6b1e9e handle array of topcis 2018-04-05 15:50:39 -07:00
David Kebler c8071ed66e initial commit - working mqtt client class
nothing for custom broker yet
2018-02-28 20:24:45 -08:00
David Kebler ddbc8e7aac module template and module testing template added, removed promise testing 2017-05-29 10:04:44 -07:00
David Kebler 48803ba5fd add promise testing to template 2017-01-18 22:36:02 -08:00
David Kebler 6366815b03 initial commit 2017-01-11 15:56:25 -08:00