Hi there.
I have a question regarding mqtt and usocket.
The old Micropython mqtt-library uses the class usocket.
Now there is no MQTT library in the nrf52840 and no usocket library, because the chip has no Ethernet.
What if you use Nordic UART to build an MQTT connection with a broker? Would not that be great.
It is not theoretically possible to write a usocket class that can connect to a server (MQTT broker) via the UART interface.
A umqtt class (simple.py, robust.py) could then use this socket.
Of course, the third thing you need is a software that builds a proper socket connection to the Internet. But this could work on any computer with Blutooth 4. You could rewrite WebbleMQ so that it does not use mosquitto.js but only builds a websocket connection to an MQTT-Brocker.
What do you all mean. Would it be possible?
Hi there.
I have a question regarding mqtt and usocket.
The old Micropython mqtt-library uses the class usocket.
Now there is no MQTT library in the nrf52840 and no usocket library, because the chip has no Ethernet.
What if you use Nordic UART to build an MQTT connection with a broker? Would not that be great.
It is not theoretically possible to write a usocket class that can connect to a server (MQTT broker) via the UART interface.
A umqtt class (simple.py, robust.py) could then use this socket.
Of course, the third thing you need is a software that builds a proper socket connection to the Internet. But this could work on any computer with Blutooth 4. You could rewrite WebbleMQ so that it does not use mosquitto.js but only builds a websocket connection to an MQTT-Brocker.
What do you all mean. Would it be possible?