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.

Android Application connected with a CC3000

Hi,

I would like to send (and receive) data from my application android to a MSP430 with a CC3000.

Is it better that I use the "SmartConfig application" before using my application or should I manage the connection between the CC3000 and my smartphone directly in my application with the function "FirstTimeConfig" ?

If I use the Smartconfig application, how can I know if my smartphone is really connected with the CC3000 and after, how can I send my data ? 

Thanks,

Best regards,

  • Hi Sarah,

    SmartConfig is one of the methods to connect your CC3000 to the access point. Before you transfer any data from your smartphone to the CC3000 you should first connect CC3000 to AP.

    After this you can connect your smartphone to the same AP and then you can use sockets to transfer data from your smartphone to CC3000.

    If you are using a TCP socket, and if your smartphone is a TCP client, then at the CC3000(TCP server) you can check the return value of 'accept' API to check if the Smartphone has connected to CC3000.

    To check if the CC3000 is connected to the AP using smartConfig, you can check for the event HCI_EVNT_WLAN_UNSOL_CONNECT at CC3000 side.

    Thanks & Regards,
    Raghavendra