MQTT native TLS

Hi,

Using nRF Connect SDK 2.7.0 on an nRF9160. Using native tls, works fine, i can setup HTTPS connections.

Problems arise when i try to use MQTT with native TLS (with set_native_tls = true in struct mqtt_sec_config). This breaks with "net_sock: get_sock_vtable: (main): Invalid access on sock 4 by thread 0x20021608 (main)".

Using MQTT without native tls (thus not setting set_native_tls = true in struct mqtt_sec_config) does work, if i modify the server side encryption in an appropriate manner. Iow, it would appear that the problem is not in the application code?

Is this a known limitation? Or am i doing something wrong?

Thanks in advance,

Parents Reply Children
Related