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.

cc3200 cannot connect to router and user simulatneously

Other Parts Discussed in Thread: CC3200

Hi,

I am using cc3200 for our home automation product ... 

It does not simultaneously to router and also to user (wifi direct).. In our project we need to send the data to our server so that user can control the house remotely and also with someone accessing at home.. The same device needs to connect to multiple users 

  • A device can connect to router as client or AP mode, first it is same as user and router give connectivity to both.
    A device can perform as Access point so it can manage connectivity to remote clients and also router is a remote client, this case AP must support all traffic.
    It seems no network understanding than a defect title suppose may be.
  • i can understand that but what i am trying to say is that if cc3200 is connected to my android phone and also another user wants to access the same device then how to service both.. similar to a router
  • WiFi direct on the CC3200 only supports one connection, even when set up as the group owner. You would be best connecting to a WiFi Router/Access Point to achieve what you are attempting.

    As for remote control, there a re many ways to achieve this, including port forwarding or publisher/subscriber setups. You can also check out the Xively and Exosite demos for details on how they do this.

    Glenn.
  • >> my android phone and also another user wants to access the same device then how to service both.. similar to a router
    Is network socket able to accept and spawn multiple connection?, is connection tcp or udp mode?
    What is about multiple access of same resource by multiple client? Are data protected by multiple access and all client get synced by first or simply a wild rule is applied to?
    How arbitration of same data access is addressed?
    Original module locked data from avoiding multiple connection and get usable as simple example, from network design of multiple access theory you can do the job of modify this to accept and manage listening again then spawn and set all underlying structure.
  • ok, but let me explain.. my cc3200 device need to accept data from both router which is connected to the internet and also my phone(wifi direct) simultaneously... What is happening is that when my phone is connected it doesnt allow any other device to get connected..
    are you trying to say that we have to time multiplex the access (i.e. connect one device and disconnect it timely)
  • Aneesh Nair100769 said:
    my cc3200 device need to accept data from both router which is connected to the internet and also my phone(wifi direct) simultaneously

    You cannot connect to a Wifi Router and to a Smartphone via Wifi Direct at the same time. The CC3200 will only support one connection type at a time. As mentioned previously, I recommend you connect to the Wifi Router by placing the CC3200 in Station Mode, and then also have your smartphone connected to the Wifi Router. Then all devices can communicate.

    If I have not understood you correctly, then please provide a diagram which outlines your preferred architecture.

    Glenn.

  • Hi Glenn, you wrote
    >> You cannot connect to a Wifi Router and to a Smartphone via Wifi Direct at the same time. The CC3200 will only support one connection
    >> type at a time. As mentioned previously, I recommend you connect to the Wifi Router by placing the CC3200 in Station Mode, and then also
    >> have your smartphone connected to the Wifi Router. Then all devices can communicate.

    This is not enough and also require socket accept multiple connection to. If to prevent lack of data integrity was chosen to have one connection this cannot be used to accept multiple connection too. A multitasking server also is needed with all to prevent loss of data.
  • Hi Aneesh,

    I am glad was able to help. Feel free to mark this questioned answered.

    Glen
  • Thanks for the response Glenn.

    Aneesh, Please close the thread if your questions are answered.

    ./Praneet
  • Aneesh, I'm closing this thread - For any follow-up questions, suggest you create a new post w/ references to the current one for us to track it better.

    -/Praneet