I guess a hack would be to just make it appear as a BLE device, but with DEVICE set to ttyACM0 or similar? The mqtt subscriber could spot the tty bit and hand it over to USB. Of course you'd have to fake advertise it as well, but it'd definitely work.
Or perhaps it's worth improving the whole MQTT connection thing to make it more general purpose
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.
Yes, definitely. At the moment is just does this: https://github.com/espruino/EspruinoHub#node-red--mqtt
I guess a hack would be to just make it appear as a BLE device, but with
DEVICE
set tottyACM0
or similar? Themqtt
subscriber could spot thetty
bit and hand it over to USB. Of course you'd have to fake advertise it as well, but it'd definitely work.Or perhaps it's worth improving the whole MQTT connection thing to make it more general purpose