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.

Smart config not auto connecting

Other Parts Discussed in Thread: CC3200

Hello,

I have one cc3200 in AP mode and I am trying to get another cc3200 to connect to it through smart config. When i use the WiFi starter app on my Android the cc3200 in running smart config will receive 2 consecutive "SL_WLAN_SMART_CONFIG_COMPLETE_EVENT" events. After that, nothing else happens. The device running smart config will not obtain a IP address.

The provisioning_smartconfig sample app has the same problem in this configuration.

Thanks ahead of time,

Shawn 

  • Hi Shawn,

    Have you tried running the Smart Config example from the SDK? This Smart Config SDK example has been verified to be working and it should be a good starting point for you.
  • Yes I have run the example. The example displayed the same problem.

    I have come to realize that the cc3200 does not accept more than one connection. Since my phone was already connected to it the other board would not have been able to regardless if smart config was working.

    Now I have another question:

    I have resolved to switch to transceiver mode and create my own type of protocol so that I can work with as many cc3200s as I want.

    The only problem is phone connection. Since I have to be "disconnected," I cant exactly use the device AP mode to connect my phone to one of the cc3200 devices and then have that device relay commands to the others.

    Since Apple and Google will never let me send raw packets to and from their devices, does that mean I need to develop my own AP mode for the cc3200?
  • Hi Shawn,

    If I understand you correctly, you are trying to have a phone connecting to CC3200 in AP mode. However, instead of regular socket, you have a raw server socket on the CC3200. And the obstacle now is that you cannot use the phone to connect to it.

    May I please know why you need to use a raw socket in the first place, and what's the issue with a regular socket? And is this issue related the SmartConfig you had previously? Please explain in details.
  • Thanks for the response!

    I am developing a product that involves multiple cc3200s and a smart phone or tablet communicating with each other. Since several applications of the product may involve working in remote locations, I do not want to require users to bring a wireless router with them. 

    I had thought that I could use the smart config technology to set up sort of mesh network that the smart phone or tablet can connect to. But since cc3200s in AP mode can only have 1 client connected to them at a time, It does not look like smart config will work with what i want. 

    Unless I am mistaken, the above limitation makes it so I cannot use a regular socket.

    So my current question is that if I were to use the CC3200 in transceiver mode, would I have to develop my own 802.11 Access point protocol or is there a way I could use AP mode and transceiver mode in tandem?   

  • Hi Shawn,

    Based on your need, I'd suggest you to seek for other solutions because things you can do with transceiver mode is very limited. And since you are bypassing the NWP and the entire Wi-Fi stack within, and having to write a large portion of the stack in the MCU, it sort of defeats the purpose of our WiFi-On-a-Chip solution.

    With all of this, I'd suggest you to look into the WiLink family product. A large portion of the stack is implemented on the host so you have a greater degree of freedom to do what you want. In AP mode, you can have multiple clients connected at the same time. It also offers a higher throughput.

  • Hello Victor,

    I don't really see that being a solution. The 2.4 GHZ model costs about the same as the cc3200 and does not come with a MCU. So I would have to build a MCU that works with it on top of the wifi board. From what it looks like all it saves me is a little development time which, unless I'm mistaken from what I am reading in "802.11 Wireless Networks The definitive guide," does not seem all that impracticable.

    I've also looked at a few videos of setting up a mesh infrastructure with the cc3200 so I know that it is possible and would be a powerful set of technology.

    Thanks for having this discussion with me,

    Shawn