Reputation: 2863
I am developing an application where I have to turn on the Hotspot
and get the information of client which connected to this Hotspot
.
It seems can not turn on the Hotspot
via objective-C
.
If I turn on the Hotspot
on My iPhone settings.
Is it possible to get the information of client , like IP address
, MAC address
??
like the following:
Client List
IP :192.168.XX.XX
MAC :XX:XX:XX:XX:XX:XX
The question:1
Can I turn on the hotspot via objective-c in iOS 7?
The question:2
Is it possible to get the information of client(like IP address
, MAC address
) which connected to this hotspot ??
Upvotes: 0
Views: 1746
Reputation: 5684
Your question #2 requirements meets structure names ARP table
so all you need is play with code provided in those answers and make it work on interface that linked to Hotspot:
Getting ARP table on iPhone/iPad
How do I query the ARP table on iPhone?
Upvotes: 3