-
Re: Is NSNetService between a Mac and iOS device over Bluetooth only (WiFi off) possible?
eskimo Aug 12, 2016 4:21 AM (in response to _Rico)The current situation is:
peer-to-peer Bluetooth
OS X — not supported
iOS — all relevant hardware and software releases
watchOS — not applicable
tvOS — not supported
peer-to-peer Wi-Fi
OS X — OS X 10.10 and later on relatively modern hardware (circa 2012 or later)
iOS — iOS 7.0 and later on all devices with a Lightning connector (it’s not tied to the Lightning hardware, it’s just a helpful coincidence)
watchOS — not applicable
tvOS — not working
Note:
watchOS does not support direct TCP connections (things like BSD Sockets and NSStream) for third-party apps, which makes the situation with peer-to-peer network interfaces irrelevant.
tvOS should support peer-to-peer Wi-Fi but the support is not functioning reliably right now (r. 24713937, r. 24713970).
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
(r. 27821801)
-
Re: Is NSNetService between a Mac and iOS device over Bluetooth only (WiFi off) possible?
_Rico Feb 19, 2016 2:14 AM (in response to eskimo)Awesome, thanks a lot!!!
-
Re: Is NSNetService between a Mac and iOS device over Bluetooth only (WiFi off) possible?
marksands Feb 26, 2016 6:46 AM (in response to eskimo)Is there a known workaround for tvOS wifi peer-to-peer not functioning reliably (or issues r. 24,713,937, r. 24,713,970 assuming they're the same thing)? We're communicating via sockets, so I'm hoping there's an easy workaround.
iOS and tvOS can discover each other and resolve their addresses, but when connecting it times out on the connect() function. It would be great to know if there's a solution in the meantime.
-
Re: Is NSNetService between a Mac and iOS device over Bluetooth only (WiFi off) possible?
tw_toine Jun 28, 2016 2:15 AM (in response to eskimo)Dear Quinn, given that on tvOS 10 Multipeer Connectivity is now supported, does that mean that p2p bluetooth / wifi on tvOS 10 now should work?
-
Re: Is NSNetService between a Mac and iOS device over Bluetooth only (WiFi off) possible?
Ynot Sep 25, 2017 6:54 AM (in response to eskimo)Hello Quinn,
Can you please verify that P2P bluetooth still works in iOS 11? We cannot get it to work in our app or with WiTap! The remote device is never discovered.
(wi-fi direct does work however)
Thanks.
-
Re: Is NSNetService between a Mac and iOS device over Bluetooth only (WiFi off) possible?
eskimo Sep 26, 2017 1:46 AM (in response to Ynot)Can you please verify that P2P bluetooth still works in iOS 11?
It does not. This recently came up on the
bonjour-dev
mailing list. This post is the crux of it but the entire (relatively short) thread is worth reading.Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
Re: Is NSNetService between a Mac and iOS device over Bluetooth only (WiFi off) possible?
Ynot Oct 1, 2017 6:21 AM (in response to eskimo)Thanks for your response. It's too bad this decision was made. There are still quite a bit of older devices that don't support wi-fi direct and use bluetooth for peer to peer connections.
Does the DNS-SD API support wi-fi direct? Last year in a post you mentioned that the only way to get peer to peer wi-fi is with NSNetService. We have been unable to get this working using the DNS-SD apis.
Thanks for your help.
-
Re: Is NSNetService between a Mac and iOS device over Bluetooth only (WiFi off) possible?
eskimo Oct 2, 2017 1:00 AM (in response to Ynot)Does the DNS-SD API support wi-fi direct?
To be clear, Apple’s Bonjour-based peer-to-peer Wi-Fi is not Wi-Fi Direct. They are very different beasts.
Last year in a post you mentioned that the only way to get peer to peer wi-fi is with NSNetService.
As far I know that’s still the case.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardwarelet myEmail = "eskimo" + "1" + "@apple.com"
-
-
Re: Is NSNetService between a Mac and iOS device over Bluetooth only (WiFi off) possible?
Lucky7 Oct 24, 2018 10:39 AM (in response to eskimo)Well, disabling P2P over Bluetooth will break connectivity when one iOS device is using another device's Personal Hotspot. At least it does at the moment (iOS 12). Is there anything that can be done on our end to solve that or it's just a result the deprecating connectivity via Bluetooth?
This is dissapointing as our app relied on Bluetooth in this particular use case...
-
-