Skip to content

An Idea on Bluetooth to MQTT #1843

@Tasm-Devil

Description

@Tasm-Devil

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?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions