Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wi-Fi peer-to-peer API in Mac OS X

Tags:

macos

wifi

The OS X AirDrop feature allows a direct Wi-Fi connection to a nearby Mac, one that's concurrent with any connection to a Wi-Fi AP. It's variously said to use Wi-Fi IBSS mode (aka ad hoc) or Wi-Fi Direct.

Is there an API (possibly undocumented driver commands) to control concurrent Wi-Fi P2P?

I believe AirDrop uses IBSS since it works on Macs pre-dating Wi-Fi Direct, and uses TLS which is necessary since IBSS only provides WEP. But perhaps it uses Wi-Fi Direct if both nodes support it?

Alternatively, what are the best resources for undocumented OS X APIs?

like image 286
Liam Avatar asked Feb 17 '12 02:02

Liam


1 Answers

According to here, AFP is the most common networking protocol for Apple Macintosh. This might be the documentation you're looking for. Not sure if this "AirDrop" is just an extension of this feature, if so you may be able to use Netatalk, Jaffer or another third-party api.

like image 80
NoBugs Avatar answered Oct 18 '22 22:10

NoBugs