eclipse / paho.mqtt-sn.embedded-c

Paho C MQTT-SN gateway and libraries for embedded systems. Paho is an Eclipse IoT project.
https://eclipse.org/paho
Other
314 stars 178 forks source link

fix: secure client networks no longer work with pre-allocated client list #252

Closed fgrandel closed 2 years ago

fgrandel commented 2 years ago

The pre-allocated client list instantiated clients w/o setting the secure flag correctly. Only the network's secure flag was set from the clients configuration file.

This patch also eliminates redundancy by keeping the secure flag in a single place.

fgrandel commented 2 years ago

Might be the root cause for #242... Fixes #242?