I'm working on an application that does does lots of iOS <--> OSX communication. For the most part I have this solved.

I'm using CocoaPort to do the communication. Over Wifi this worked nicely and was plenty fast.

I'm using Bonjour to find my server. This required publishing the service with a modded DNSSDObjects-style net service on iOS. Apparently services published over Bluetooth on OSX cannot be seen by iOS, but the other way round works nicely, except that you need to keep the devices paired and connected.

Now my question is, how can I improve the speed of the Bluetooth connection? I'm getting maybe 100kb/s max and that seems to just stop after about 1 minute even though the connection is still open.

I think I need to use the AMP/HS stuff in Bluetooth 3.0 to get a fast connection. My understanding is this creates an AdHoc wireless network between my devices (MBP retina and iPad3, so should be capable of a decent speed.)

According to Wiki, Bluetooth 4.0 includes the HS spec in Bluetooth 3.0 and according to Bluetooth Explorer, the iPad is 4.0 spec. Is there a way, maybe via IOBluetooth, to request a high speed connection?

有帮助吗?

解决方案

According to an engineer @ Apple, this is not currently feasible. The best you can do is Bluetooth Classic, which is probably the speed I'm getting.

If you want this feature, consider opening a feature request at bugreporter.apple.com.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top