installing umqtt.simple package #12082
Unanswered
travelo94
asked this question in
Using MicroPython
Replies: 1 comment 5 replies
-
MicroPython does not currently have a socket-based implementation of a cellular radio driver. In general there is fairly limited support for cellular radios in MicroPython other than on ESP32 when using PPP (which will provides the socket module). If you have a non-socket-based driver for your radio, it should be possible to write your own socket.py that adapts that into the standard socket interface. https://docs.micropython.org/en/latest/library/socket.html |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello i have rpi pico that i want to connect with mqtt broker but i cant find a way to install 'socket' module , the connection with network will be via sim module
Traceback (most recent call last): File "<stdin>", line 3, in <module> File "umqtt/simple.py", line 1, in <module> File "/lib/usocket.py", line 2, in <module> ImportError: no module named 'socket'
Beta Was this translation helpful? Give feedback.
All reactions