Hi,
Currently we working on a project that uses:
- nRF9160
- Zyphre OS
- Segger Embedded Studio for Arm (Nordic Edition) V4.52
- SDK v1.3
-
CONFIG_MQTT_LIB_TLS
In nRF Connect SDK - AWS IoT it mentions that the TLS handshake is performed in the aws_iot_connect
() function, specifically in the following note:
After a thorough review we have not found where the TLS handshake is do it, We think the TLS handshake is doing in some of these functions (zephyr\subsys\net\lib\mqtt\mqtt.c):
- mqtt_transport_connect(client);
- connect_request_encode(client, &packet);
- mqtt_transport_write(client, packet.cur,packet.end - packet.cur);
Could someone from your team tell us where is the TLS handshake inside the aws_iot_connect
() ?
Thanks a lot,
René D.