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: ARP Protocol

Part Number: CC3200

Hi, 

Can anyone suggest me that whether can we port the ARP code from the following link as in user guide of CC3200 it stated as supports ARP. Please check this link.

github.com/.../arp-bsd.c

  • Hi Manish,

    Sorry this is not possible. PF_ROUTE socket type is not supported by CC3200. CC3200 NWP internally use ARP but it does not have capability to send ARP packet from host code. Support for sending ARP request is supported by CC3220 and CC3235 device.

    Nothing was changed during two weeks from our last discussion at this topic. If you clearly describe your needs (not only "I need discovery all device in network" because ARP protocol is not a best way to do that), maybe we can find some alternate way.

    Jan

  • Hi Jan,

    Yea, nothing has changed since our last conversation but still, I'm trying to get the list of IP's from the router. Any help from your side would be highly appreciated.

    Thanks & Regards

  • Hi Manish,

    If you explain your exact need (which device needs discover which device, what workflow with your device you expect, etc.) then we can find alternate way maybe. Usage of ARP protocol is not a way for discovering devices in network.

    Jan

  • Hi Jan,

    We have created one monitoring device we need CC3200 to communicate to the router and check how many devices are present. If any device is missing just we'll send notification that device is in the wifi network or it is not there.

  • Hi Manish,

    Please answer following questions:

    discovering device is ...  (PC, CC3200, etc.)

    discovered devices are .... (PC, CC3200, any device in network, etc.)

    what router type you used .... (only one exact type/device on any of type)

    Jan

  • Hi,

    I wanted to say 

    How can cc3200 get the mobile phone ip or Mac address? That's it .

  • Hi Manish,

    You have this options:

    • use one particular type of AP / router and read information from there (you will be tied with one particular type of AP/router)
    • create application for your cell phone

    There are no other easy and reliable ways at CC3200. Why you need list of cell phones in network? Commonly is a task opposite - that means list CC3200 devices from cell phone(s).

    Jan

  • Hi Jan,

    it's a home automation project so we need phone IP. Suppose if the user is leaving home then the user should get notified about its home to check everything whether door or window is locked or not.

    we also created one phone app for this. Do you have any better suggestion? Because I'm too young and newbie also to this particular field. 

    Thanks & Regards

  • Hi Manish,

    Just to be a 100% sure. You have connected CC3200 into WLAN and cell phone as well. When user with cell phone left location and disconnect from WLAN, you want to send notification. That is right?

    I don't believe that your task is achievable without mobile app. Even with CC3220 and usage ARP requests will be task hard to do. With mobile app at cell phone it is a piece of cake. But there are some alternative ways:

    • use CC3200 in transceiver mode and sniff for a communication between AP and cell phone (this way will not be reliable at all conditions, it will not be  possible sniff 5GHz WiFi)
    • use AP/router with SNMP monitoring capability or with modified firmware (with OpenWRT is easy to read list of connected clients, etc.). But you will need sold own AP with CC3200 device.
    • by cell phone App there is many options for detection (register/unregister  API with local or cloud server, UDP broadcast packets, detection by GPS with external cloud server, etc.)

    But root idea of detecting of user persistence at some area by connected cell phone into WiFi network in not correct. When your cell phone disconnect due to sleep mode from WiFi you will send notification. And this may to be very annoying feature.

    Jan

  • Hi Jan,

    Just to be 100% sure. You have connected CC3200 into WLAN and cell phone as well. When a user with a cell phone left the location and disconnect from WLAN, you want to send the notification. That is right?


    Yes, finally you got my point. I'll be working with that once done I'll you know. I will check from the mobile phone application point of view.

    Thanks & reagrds

  • Hi Jan,

    Just to be 100% sure. You have connected CC3200 into WLAN and cell phone as well. When a user with a cell phone left the location and disconnect from WLAN, you want to send the notification. That is right?


    Yes, finally you got my point. I'll be working with that once done I'll you know. I will check from the mobile phone application point of view.

    Thanks & regards