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.

CC3120BOOST: CC3120Boost and MSP432P401R Out of the box experience

Part Number: CC3120BOOST
Other Parts Discussed in Thread: CC3120


i recently got the CC3120Boost and MSP432P401R, follow instruction at this link:

i can connect to, see the status, profiles, device, etc.

after that, i can add my WLAN router profile.

i can ping my Status IP, my Stations IP.  that work fine.

however, I can not ping

i also try to access my iphone end point, it can do the same for all other steps, but can not ping and can not go to any website.

can you please let me know what was wrong or what step i am missing?



  • Hi henry,

    Are you trying to reach when the device serves as an access point? (i.e. when the phone is connected to the simplelink device in AP mode)?

    This won't work.

    After getting the router's profile, the device needs to connect to the it and the next communication is through the router (future ip communication between the phone and the simplelink device should be when both are connected to the local router, and the same for any access to an external server).

    If you already verified this and the problem is when the simplelink is connected to the router (as station), then there seems to be an issue with your local router configuration.

    Please verify the DNS and GW addresses that the device received based on DHCP from the router (upon getting the IP Acquired event in SimpleLinkNetAppEventHandler).

    An air sniffer log will help us understand the issue.

    Also, you can try to get the NWP log (see chapter 20.1 in the programmer's guide) which may also have relevant info (although an air sniffer will be better in this case).



  • Hi Kobi,

    thank you so much for your reply.

    i went on further and able to compiled and downloaded the network_terminal example with FreeRTOS.

    i can get to the teraterm debug terminal and enter commands.

    some observation outlined below with some snap shots (i sent in the followed up message)


    - I have to follow in this link to allow the STA mode connection to my router in ipv6, otherwise, i got timeout :

    - please see my snap shot of the Network_terminal command lines (STA_mode_1 pic).

    - from there, i can add in my home router mesh network and successfully ping server. (STA_mode_2 pic) 

    - Then, I can use my chrome, go to the IP address of the STA device (CC3120) and then ping the from there. (STA_mode_3 pic).

    - then, i can update system time and date to my current time (STA_mode_4 and 5 pic).

    - the STA mode works great.

    Now, i decided to start the AP mode.  please note that i already had a profile added to index 0 during STA mode.

    - i used command wlan_ap_start to create an AP.  see  AP_mode_1 pic.  i noticed that it said "unexpected event [0xa].  but it still created the AP with the network that i want.

    - in AP mode, i used "getprofile" command from index 0 and confirm that the profile is still active.  See AP_mode_2 pic.

    - however, i can not ping any server.  see AP_mode_3 pic.  i can go to the AP mode IP address and view the default network status from CC3120.

    - i issued wlan_ap_stop command to disable AP mode and switches back to STA mode.  this works fine and i can ping server again.  see AP_to_STA_mode_4 pic.

    Now, i have some questions:


    1- Is it true that once i am in AP mode, i can not have access to the ethernet unless i am connecting to a LAN wire?  even if i have the profiled used by STA mode, this profile is shut down in AP mode.

    2- in STA mode, how does the time update work?  does it grab the time from my local PC?  is that time stored in CC3120?  how can CC3120 pass that time to my MCU?

    3- i updated the service pack to the CC3120 according to the recommendation.  however, there is one link which suggested to add the user files (e.g. dummy-trusted-ca-cert with failsafe).  do i need to add dummy-trusted-ca-cert with failsafe to the CC3120?  i am confused.

    look for advise for my application:


    - in my application, i would like to have user using either their mobile phone or laptop and connect to an access point which is the machine that we are developing without the need for ethernet LAN.  The purpose of the connection is that the machine (in AP mode) can display some information from its status so that user can make a decision.  Before making a decision, user may send a system time (from his laptop) back to the machine so that it can synchronize time.

    - based on my limited understanding of WIFI, i think it is best to start a local web server from the machine and the machine should act as AP.  The user then connect to the AP network (e.g. MyNetwork by phone or laptop).  then, go the the on browser.  this is where the user can see the machine status.  i don't know if it is possible that user can send his laptop system time to the machine webserver.

    can you please advise me on the example that i can use to create this application?

    Thanks and Best Regards,


  • The SimpleLink device does not support multi-role, meaning it can be either in AP mode (enabling connection from STAs, like a mobile device or laptop) or in STA mode (where it connects to a router). So when you are in AP mode, you are not connected to the router (and can't access external servers). 

    The AP mode, can be used to create a connection between a mobile device and the SimpleLink to configure the CC3120 (e.g. to provision it to the local network) or to read status from it. If your operational mode requires access to the internet, the AP mode is not suitable (again, it can be used initially to help you configure the STA to connect to the local router).

    Once the station is connected to the local network, you can access it through HTTP (HTTP server hosted on the SimpleLink STA) using the assigned IP address. You may use names (instead of the ip address) that is resolved with MDNS in environment that allows it (i.e. the mobile device and the router should allow MDNS).

    Once in STA mode and connected to the network, you can use our ClockSync service to update the local clock using SNTP. You can also use HTTP (or any other proprietary protocol) to configure the time to the device from a mobile device / laptop.

    Regarding the IPv6 issue, the other thread shows how to enable it - i'm not sure if there was any question.

    Failsafe is needed to protect a file that can be updated OTA. The dummy-trusted-ca-cert is probably not a good example for this. The MCU image must be set as failsafe. If you are using any configuration file that you may override in an OTA update - you should also define it as failsafe. Note that the playground dummy certificates should be used just for development and eventually must be replaced by a valid certificate. 



  • Hi Kobi,

    Thanks for the clarification on AP and STA multi-role.  i understand it now.

    for our application, we can certain say that we will not be able to connect to ethernet or local network.  

    in that case, i think the CC3120 creates the AP is one of the ways to allow iphone/laptop to view CC3120 HTTP server.  

    in this AP mode (without access to local network), can i ask if there is any other way to sync time by sending some sort of command from laptop system time to CC3120?

    do you have any example on CC3120 local HTTP server?  i only found one for CC32xx.



  • See chapter 9.4.10 in - describing a RESTful api to update the device date and time.

    When talking about using the simplelink driver API, the CC3120 and CC3220 applications are very similar (only difference is the platform porting and the library you use on top of the driver). You should refer to local OTA and out-of-box examples for reference of using the internal HTTP server.