Help with umqtt.simple MQTTClient init parameters version1.4: how to create a SSL connection? #13624
-
Hello I have installed the library umqtt.simple using Thonny package management feature. If you install version 1.3 of umqtt.simple, everything was perfectly OK. But if you install version 1.4 of umqtt.simple, the way to manage SSL does not work, because tutorial ( I guess) is based on umqtt.simple version 1.3 with a this initialisation parameters schema like : In conclusion , I need help to create a mqtt client with SSL = true, and the rest of configurations using umqtt.simple version 1.4 Thanks in advance!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, the way how tls is handled has changed. For umqtt.simple 1.4 you need to pass in the ssl context yourself:
|
Beta Was this translation helpful? Give feedback.
Yes, the way how tls is handled has changed. For umqtt.simple 1.4 you need to pass in the ssl context yourself: