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.

CCS/LAUNCHXL-CC3235S: Getting the Launchpad in Wifi Client Mode and/or Running MQTT Demo

Part Number: LAUNCHXL-CC3235S
Other Parts Discussed in Thread: CC3235S

Tool/software: Code Composer Studio

Hello,

I am having some difficulty setting up my LAUNCHXL-CC3235S device in Wifi client mode in addition to using the mqtt client-broker demo. To be more specific I am trying to setup the cc3235s launchpad by configuring it as a client to connect to my home wifi network, I am uploading the code from an imac and trying to control the launchpad wirelessly with my iphone (blink the LED etc.).  I tried previously to run the mqtt demo both from ccs (eclipse) app and from ccs cloud both times following the instructions but the launchpad wouldn't connect. I can use the Texas Instruments Simplelink app with built in "blink" example when the launchpad is in AP mode, but this is useless for me as I need it to connect to my router and act as a station. If anyone could explain how I can setup the launchpad as a client on my home network and blink the LED from my phone using the Blynk app or something along the likes it would be much appreciated.

thanks,

Tom.

  • Hi Tom,

    Most of the SDK examples doesn't contains a provisioning method that enable you to control them from the phone (you can add the required provisioning method later integrating provisioning code from the "provisioning" or "out_of_the_box" examples).

    The MQTT client example connects to an AP based on hard coded setting in network_if.h.

    You'll need to replace the SSID_NAME, SECURITY_TYPE and SECURITY_KEY according to your router credentials and build the app to use it.

    Br,

    Kobi

  • Hi Kobi thanks for the reply,

    I realize that the sdk examples are not made for the specific task that I am trying to accomplish, Is there a simple way to provision the system as a client and connect it to a server that is accessible from a web page or mobile application, and use it to control a motor driver? For example can I use demo code or an example from ti resources and modify it to accomplish this, if so how much addition code do you think is required?

  • Hi,

    The OOB example demonstrates how to provision the device by a mobile phone  (i.e. send him the the credentials of the local router so it can connect to the router and get an IP connection) and then to control the device (using the HTTP server service) for simple things.

    You can use the example as base line and update the specific part that you need. 

    You can also integrate the MQTT client part if you want to control the device through MQTT broker.

    The examples just demonstrate some capabilities/functionalities of the CC32xx.

    Eventually, you will need to take whatever you need and make your own product implementation.

    Br,

    Kobi