[AC-4750] Find the IP associated to a mac address
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Won't Fix |
Resolution Date | 2017-01-25T19:50:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Venkata |
Assignee | Shak Hossain |
Created | 2017-01-24T23:54:28.000+0000 |
Updated | 2017-01-26T02:30:25.000+0000 |
Description
Is there a way that we can actually retrieve the arp table of the router that a app connected to? so that we can find the IP address of any device that is connected to same netowork. app built using titanium API
Scenario:
1. I have a iPad application that need paired with a payment device.
2. payment device a mac address and when it connects to network it gets a IP address but it keep changing.
3. if i have a option in the API to lookup the IP of this device using the mac address i can actually do the pairing process so easy.
Hey there, iOS does not have a public API for it, so we can't expose it as well. There are some native hacks to get the mac-address from a current IP address, but that's not what you're looking for I guess. See [this StackOverflow](http://stackoverflow.com/questions/31226522/ios-get-arp-table) for more infos.
Hi,I saw that there are lot of hacks that works for IP2Mac but not mac to IP. world is turning to mobile and wifi based devices so integration become easy of there are API's like this.