Board: nRF7002DK
I extended the WiFi proviosing example of nRF7002 and added the aws part from aws_iot example. WiFi connection and IP allocation along with DNS resolution all working fine.
But during the TLS handshake there is buffer allocation failure resulting in TLS handshake failure. I am not able to find the exact root cause for this failure.
Can anyone help me out to find what need to be fixed?
Following are the error codes I am facing
00> [00:00:16.697,143] <dbg> aws_iot: broker_init: IPv4 Address found 52.57.145.200
00> [00:00:16.697,296] <dbg> net_mqtt_sock_tls: mqtt_client_tls_connect: (0x2000bb20): Created socket 7
00> [00:00:17.098,937] <err> net_pkt: Data buffer (68) allocation failed.
00> [00:00:17.099,029] <err> net_sock_tls: TLS handshake error: -4e
00> [00:00:17.101,257] <err> aws_iot: mqtt_connect, error: -113
00> [00:00:17.101,257] <err> aws_iot: AWS broker connect failed -113
Following are the memory configs I have in my project