This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432E401Y: MSP432E401Y SimpleLink SDK upgrade appears to cause HTTPClient connects to fail

Part Number: MSP432E401Y

Hi,

I just upgraded the MSP432E401Y SimpleLink SDK from version 2.30.00.14 to version 2.40.00.11.   My application has a thread that periodically makes HTTPClient requests via my wired ethernet connection.   Prior to the upgrade  I had no problems sending requests or receiving responses from my web service and the thread runs stable.   Since the upgrade and running the exact same baseline of my software, the thread runs for a few seconds then the HTTPClient_connect() fails with a -10 error code.  If I switch back to version 2.30.00.14 and rebuild, all works fine.   I checked the release notes for version 2.40.00.11 and did not see anything that would impact the HTTPClient interface.   I am using Code Composer Studio v8.2.0.00007.  Any ideas on why this is happening?

Thanks,

Tim

  • Hello Timothy,

    I did a diff of the "httpget" example and noticed some changes but not sure if they indicate that the SDK is not backwards compatible.

    Are you using TLS/SSL in your application?

    Thanks,
    Sai
  • Sai,

    No I am just using http for now.  Eventually plan to add TLS/SSL but haven't yet.

    Regards,

    Tim

  • Hi,  I am still seeing this problem.  Is there any ETA for when this might be resolved?

  • Hello Timothy,

    I could not reproduce this issue with the example in the SDK. The following is what I did:
    * Imported the "httpget" example from MSP432E4 SDK v2.30.00.14. This includes the TI-RTOS project pointing to the same SDK version.
    * Built and ran the example. The connection to ww.example.com is established.
    * Then pointed the TI-RTOS project to MSP432E4 SDK v2.40.00.11 by updating the "Project Properties".
    * Cleaned the "httpget" project and build it.
    * Checked the build log to confirm that the TI-RTOS, NDK and NS libraries from MSP432E4 SDK v2.40.00.11 are used for building the project.
    * Ran the example. The connection to www.example.com is established successfully.

    I tried to find out what the error code you mentioned in the first post (-10) could mean. In the file ./source/ti/net/slneterr.h, the label "SLNETERR_BSD_ENSOCK" is defined to (-10L). This error is returned if the number of open sockets has reached the set limit. Can you check if the number of open sockets is more than "MAXSOCKETS" in the ndk_tirtos.c file of your project?

    Thanks,
    Sai
  • Sai, I followed your instructions for my application and it seems to be working OK. Maybe it was a build issue? Anyway, it looks like the SDK update is working OK now.

    Regards,
    Tim

**Attention** This is a public forum