Other Parts Discussed in Thread: CC3220SF
Even though I have read that TI is not supporting ALPN extension for MQTT connection, I have tried by adding the ALPN option as below for CC3220SF:
#define socketsAWS_IOT_ALPN_MQTT "x-amzn-mqtt-ca"
const char * ppcALPNProtos[] = { socketsAWS_IOT_ALPN_MQTT };
sTIRetCode = sl_SetSockOpt( pxSocketContext->sSocketDescriptor, SL_SOL_SOCKET, SL_SO_SECURE_ALPN, ppcALPNProtos, sizeof( ppcALPNProtos ) );
This was done as read through some TI's documentation to enable ALPN socket option. So after doing this, I have come to know through debugging that this socket option gets set successfully and a socket connection is also successfully established. But the issue comes with MQTT connection which results in timeout waiting for CONNACK packet thereby resulting in failure.
So, Can I get a help in this process of establishing MQTT connection over 443 port and the necessary changes required in doing so.
Regards,
Kishore.