RP2 2040 MQTT TLS
Port, board and/or hardware
RPI PICO W
MicroPython version
after MP 1.23 upgrade to newer version
HIVEMQ TLS login fail
also last test
RPI_PICO_W-20250219-v1.25.0-preview.304.g1034b1755.uf2
fallback RPI_PICO_W-20240602-v1.23.0.uf2 works
use lib/
umqtt.simple.py 1.5.0
Reproduction
import ssl
context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
context.verify_mode = ssl.CERT_NONE
mqtt_client = MQTTClient(
client_id=b"somethingreallyrandomanduniquePICOW",
server=secrets.RMQTTBROKER ,
port=0,
user=secrets.RMQTTUSER,
password=secrets.RMQTTPW,
keepalive=7200,
ssl=context,
)
mqtt_client.connect(clean_session=True, timeout=None) # fails with newer MP versions
Expected behaviour
login to HIVEMQ TLS account
works with MP 1.23.0
but not with newer versions
Observed behaviour
File "/lib/umqtt/simple.py", line 66, in connect
OSError: -2
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree
BLE with multiple periperals (OSError: [Errno 107] ENOTCONN)
Port, board and/or hardware
Raspberry Pi Pico W
MicroPython version
MicroPython v1.23.0 on 2024-06-02; Raspberry Pi Pico W with RP2040
Reproduction
- Connect to a BLE peripheral using BLE.gap_connect. This works flawlessly
- Connect to a second BLE peripheral using BLE.gap_connect, while still connected to the first peripheral. (Error)
Expected behaviour
Connections to both peripherals is possible without any errors
Observed behaviour
OSError: [Errno 107] ENOTCONN
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree