Part Number: CC3200
In may application, when the HTTPS failure is due to security problem, (eg. CA file is not valid, or CA is expired), I will close the HTTPS connection and initiate a HTTP connection to cloud (The cloud support both HTTP and HTTPS). Therefore, i need to knows that the HTTPS handshake failure is due to security problem mentioned above or just due to other reasons (e.g network jam, or server busy ). In case that the HTTPS handshake failure is not related to security problem , my application will keep retrying in HTTPS. Please tell me how to distinguish HTTPS hand shake failure causes. Is it possible to just check the return code of HTTPCli_connect(). If possible, please give me the list of return code, and tell me which return codes are security problem related.