Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can an iPhone access another non-iPhone device over wireless or Bluetooth?

I'm trying to figure out if an iPhone can connect to another non-iPhone device over wireless or Bluetooth and have seen conflicting information. Much of what I've found was before version 3.0 of the SDK came out, when it certainly wasn't possible. Looking at Stack Overflow questions, like Can the iPhone 3.0 SDK provide full access to Bluetooth devices (headsets)? mention you can't connect to an arbitrary device unless if it's part of the "Works for iPhone" device. Do I need hardware that is part of this program?

Looking through the Apple documentation, Peer-to-Peer Connectivity, it mentions connecting two iPhones, not an iPhone to another Bluetooth device. Then there are articles like iPhone SDK focus: Bluetooth enhancements that includes this quote

...and with the newly-announced "standard support" should allow file transfer between the iPhone and a computer, as well as between nearby iPhones

Another Stack Overflow question, GameKit in iPhone SDK 3.0, mentions Bonjour, and the Apple documentation for Bonjour talks about connecting to Bonjour devices, but can an iPhone connect to any Bonjour device? Does it have to have a Wi-Fi connection, or can it use Bluetooth?

Even if I could use Bluetooth to connect to another device, it won't be available on first generation iPhones and iTouches, I believe. Is that correct? I'm thinking of an iPhone application that would need to communicate with other non-iPhone devices in the area, probably using Bluetooth, but possibly a direct wireless connection. What are the possibilities and limitations of this approach? Is it not possible to have an iPhone connect to an arbitrary Bluetooth device? Does the other device have to be on a wireless Bonjour network that? I'm trying to figure out if it's even possible for this to work or if it's not worth the effort.

like image 205
Tai Squared Avatar asked Jun 30 '09 19:06

Tai Squared


People also ask

Can iPhone Bluetooth connect to non Apple devices?

An iPhone can connect over bluetooth to speakers, headphones, keyboards, game controllers etc.. not made by Apple just fine. It can even share its internet connection with a Samsung or any brand of Phone via bluetooth through Personal Hotspot.

Can iPhone connect to other devices?

The iPhone (and other devices that run the iOS software, including Apple Watch, iPod touch, and iPad) supports peer-to-peer connectivity, which is the technical way of saying that these devices can communicate with one another directly via a Wi-Fi network or Bluetooth.

Is there a way to control an iPhone remotely?

How do you remotely support an iPhone or iPad? Install the TeamViewer QuickSupport app on the iOS device. On the connecting device, open TeamViewer and enter the QuickSupport session ID provided on the iOS device, and establish the remote control connection. On the iOS device, allow remote control.

How do I share a non Bluetooth device with Apple?

Do so by tapping the grey cog icon on one of your Home screens (or in a folder named "Utilities"). Scroll to the third group of options and tap Privacy. Select Bluetooth Sharing. Slide the switches next to any authorized apps left to the "Off" position.


1 Answers

The only way to communicate with other Bluetooth devices via the External Accessory framework in iPhone OS 3.0 is if they are in the Made for iPod accessory program. Even though they communicate through standard Bluetooth connections, accessories need special hardware in order to process the data stream coming from the iPhone / iPod touch. Unfortunately, this means that your idea of communicating with generic Bluetooth devices won't work on iPhone OS 3.0.

If the devices you want to talk to are Bonjour-discoverable via Wi-Fi, they don't need to be part of the Made for iPod program. However, that doesn't sound like your case.

Third-party developers in the near future may produce dongles that connect through the 30-pin dock port and give access to existing Bluetooth devices. If these developers opened up their communication protocol, that might enable your goal of communicating with these devices.

like image 166
Brad Larson Avatar answered Oct 17 '22 18:10

Brad Larson