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.

CC31xx HTTP server

Other Parts Discussed in Thread: CC3100BOOST, MSP430F5529, CC3100, CC3200

Hi

My knowledge of this topic is limited since am quite new to this thing.

I am using HTTP server example aplication trying to control LED on MSP 430F5529 LunchPad thad is connected to CC3100Boost. I have been able to turn them ON and OFF through the AP mode, however, when I configured it through mysimplelink.net webpage environment to Station mode turning LED ON and OFF is not working.

I want to be able to connect LunchPad-3100Boost configuration to the internet so I can remotely control  LED/ Lamp trough the internet/server/ smartphone app. I do not want to be restricted to the WiFi range.

  • Hi Branislav,

    Apologies for the delayed response.

    When you are using HTTP server example its a little tricky to configure the device in station using web pages. When you configure the device in station mode you need to reset the device for the configuration to take effect. If you reset the BP using the nHIB/nReset button the device will reset and boot in station mode but it will lose synchronization with application running on MSP430F5529 and you won't be able to toggle the LED. If you rerun the application on MSP430F5529 it will again configure the device in AP mode.

    I suggest to follow the below steps:

    • Modify the example to use the device in station mode. Please refer to getting started with station example.
    • Modify the code to connect to an AP. Please refer to getting started with station example.
    • Connect your mobile to AP for which is configured to connect. and access the internal web server of CC3100.

    With this you should be able to control the LED in station mode also.

    If you want to control the device the using internet I suggest you to use the cloud service, where the device will connect to cloud over internet and can be controlled via cloud.

    Regards,

    Ankur

  • You do not need to use the CC3100 HTTP Web Server to control the LED, you could in fact use UDP or TCP to communicate. Check out this post for more details - http://e2e.ti.com/support/wireless_connectivity/f/968/p/390338/1378901#1378901

    Also, if you check out my Github respositories (in my sig), you will see a starter example that shows how to control LEDs with UDP packets, there is also an iOS app available to show how you control via that. These are for the CC3200, but should not be too difficult to use with the CC3100.

    Glenn.
  • Hi Branislav,

    I am closing this thread, for follow up query please open a new thread and a link to this one for reference.

    Regards,
    Ankur