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: Simplesample_http doesn´t run

Part Number: MSP432E401Y
Other Parts Discussed in Thread: CC3135

Hello,

i am trying to connect the MSP_EXP432E01Y with an Azure IoT Hub to send and recieve messages. In a later setup i would like to expand this construction and use the CC3135 WiFi Boosterpack. 

As a first step i tried to integrate the "simplesample_http" example from the SimpleLink MSP432E4 Azure IoT Plugin - 4.10.00.02 extension (https://dev.ti.com/tirex/explore/node?devtools=MSP-EXP432E401Y&node=ADiAEj8QIj0VQexSeqlw7Q__g-ygqY8__LATEST).  I added the connectionString as mentionend in the readme-file.

Overview:

- MSP_EXP432E01Y

SimpleLink MSP432E4 Azure IoT Plugin - 4.10.00.02

simplesample_http

- TI-RTOS

- CCS Compiler

When i run the code and display the output in putty the following recieved:

Furthermore the azure portal shows no incoming (telemetry) messages occured:

 

Is there something else to configure (for example certs,...?)

Or is there something to change in iot hub?

I think the azure iot hub and the connectionString works because the following python example runs locally on my pc.



I hope you can help me to find a quick solution.

With best regards
Patrick
 
  • Part Number: MSP432E401Y

    Hello,

    i am new with the ti family and i am confused on how to develop a project step by step.

    The aim of my project is to control a step motor via the azure cloud. As a first milestone i am trying to send and recieve simulated sensor data to/from the cloud. For this i use the MSP-EXP432E01Y and the CC3135 BoosterPack from ti. In addition i created an azure iot hub with an iot-device named "MSP_432E01Y". The needed software packs for the wifi and the msp432 device are already installed.

    I am using Code Composer Studio and the TI-RTOS. 

    In the past i tried the samples from the "SimpleLink MSP432E4 SDK Azure IoT Plugin" and the samples from the "SimpleLink SDK WiFi Plugin".

    As far as I understand, the examples from the "SimpleLink MSP432E4 SDK Azure IoT Plugin" are only based on the LAN connection. Therefore my first steps are the union of the given examples.

    I already defined a profile via "mysimplelink.net".

    The examples are very komplex and there are several ways to build a connection. The simlelink_sdk_wifi_plugin represents severall files (i.e. netapp, netcfg, slnetifwifi, wlan,...) and much more functions, the girth kills me.

    After a few weeks reading in and trying it out I still doesn't understand how a connection is etablished respectively of which parts the networking exists. (What is the Socket for? Is a socket neccessary? Which Protocol should i use ->application should have a minimum of latency) 

    What is the simplest code to use my defined profile to connect and send/Recieve data to/from the IoT hub?

    I hope you can help me.

    With best regards

    Patrick

  • In the following the output in putty with <logging enabled>:



    However, I still cannot find the solution to the problem.
     
  • Hi Patrick,

    I have reached out to our connectivity group to get help with this.

  • Hi Patrick,

    I'm still waiting for help from our connectivity group.

  • Hello Dennis,

    if it helps the from HTTPClient_connect function returned error code -2021 means according to slneterr.h that the Function couldn't execute correctly.

  • Hi Patrick,

    Unfortunately, I have come up empty handed on a solution for you.

  • I found out, that the script is running in another network. This is caused by some security settings of the used network. I have to adjust the proxy settings. Is it possible to do that with the MSP-432E401Y and if, where could I adjust this changes.