I am trying to make the nrf9160 device work with our own AWS IoT account.
The nrf9160 device succeeds to run mqtt_client_tls_connect(). Then it runs mqtt_client_tls_write() to send a MQTT CONNECT command. However it doesn't receive MQTT CONNACK.
To debug this problem, I'd like to check the TCP layer packets exchanged between the device and the AWS IoT cloud.
1) could you please tell me how to turn on the log for showing the TCP layer packets in the device?
2) could you please share experience for how to turn on the log for showing the TCP layer packets in the AWS IoT cloud?
Best,
Kai