Can the espruino (WiFi) in this case, act as the MQTT broker?
I've got Device A hooked up to a GPS sensor and i'd like to send regular updates to listening devices B...D.
I can and have been using Websockets, with Device A running a server, but wanted to try use MQTT instead as it sounds like it's better suited for this sort of simple comms, with Device A being the broker?
All the examples i can find seem to have the Espruino connecting to a broker elsewhere, and then pub/subbing, unless i'm misreading it?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Can the espruino (WiFi) in this case, act as the MQTT broker?
I've got Device A hooked up to a GPS sensor and i'd like to send regular updates to listening devices B...D.
I can and have been using Websockets, with Device A running a server, but wanted to try use MQTT instead as it sounds like it's better suited for this sort of simple comms, with Device A being the broker?
All the examples i can find seem to have the Espruino connecting to a broker elsewhere, and then pub/subbing, unless i'm misreading it?