iOS application control non-ios devices via bluetooth - iphone

I want to develop iOS application that is a remote cotrol via bluetooth for the specific product. I try to research related methods for iOS programming, but most people almost said is impossible in iOS. I know iOS allow communication between iOS devices and iOS devices via bluetooth and also support some bluetooth control iOS. But I want to develop iOS application that can control non-iOS device via bluetooth.

It is possible - The non iOS device must be an apple approved accessory or MFi Compliant

It is possible if Jailbreaking is an option: you can use BTstack.org to use RFCOMM & L2CAP to talk to remote Bluetooth devices.

Related

Does iOS support Bluetooth SPP?

I want to develop an ios application that communicates with another bluetooth supported device via Bluetooth SPP.
Does iOS support SPP?
I checked iOS supported profiles bu couldn't see anything about SPP..
http://support.apple.com/kb/ht3647
So, is there any other way for using SPP ?
Thanks..
No, unfortunately Apple (iOS) Bluetooth does not support SPP. In order to make a serial cable communication to an iOS Device you have to use the Authentication CoProcessor. I guess from that reason, Bluetooth does not support Wire Communication Emulation because you will not have the Authentication of the "Genuine iPod Device" iAP Protocol (MFI Specification)

Is it possible to connect to external device via Bluetooth from iPhone. The target device is not an iPhone

I want to develop a toy car, which I can use iPhone to control it. My toy car has a bluetooth interface. So I am wondering is it possible to connect to it from my iPhone. The toy car is not a MFi (made for iPhone/iPod/iPad) program.
My iPhone mode is iPhone 4S.
If not possible, is there any alternative way?
Without joining Apple's Made for iPhone (MFi) program, your choices are really WiFi or Bluetooth LE. WiFi is more power-hungry and, unless you're very careful in your chip selection, can be difficult to implement. Bluetooth LE is only supported by iPhone 4S and the new iPad (i.e. 3rd-gen); it's likely to be supported in future iOS devices, such as the new iPhone and much-rumoured 'mini' iPad.
Just Bluetooth 4.0 isn't enough, from my understanding, it needs to be Bluetooth 4.0 LE (the low-energy variant). Support for such devices is provided in the iOS 5.0 SDK and later with the CoreBluetooth framework. See Apple's documentation on the CoreBluetooth framework [free developer registration required].

iPhone, iTouch, iPad Bluetooth Connection to Generic Bluetooth Device

Trying to get iPhone / iPad / iPod Touch to connect to a generic Bluetooth Device.
Works for Windows 7 Bluetooth / Android Bluetooth / Mac Laptop Bluetooth, but does not seem to work with any of the Apple iOS devices.
I assume that this is an Apple decision to limit the user of Bluetooth Devices to only the devices that they seem "correct". So just want to make sure this is the case.
What is the generic bluetooth device ? and what bluetooth profile does it use ?
Devices connect only with compatible devices which have the compatible profile, not all devices support all profiles.
In Addition with iOS if you are using SPP there is additional requirement to develop as per the Apple MFi guidelines.
If you have a Bluetooth 4.0 Low Energy device, you can do it using the new Core Bluetooth framework (assuming you have an iPhone 4S). Otherwise, as noted, only approved devices will connect.

iphone blutooth device connection

I have an app which has to connect to a medical bluetooth device to get data from that device. (Not to any iOS device).
Using which framework or class I can connect and receive data from?
Thanks.
After you get an MFi license, you then have to have an Apple supplied authentication chip on the bluetooth device. You must create custom protocols to transfer the data.
The BT on iOS is locked down and you can only access simple AVRCP events inside an app, no data transfer is allowed, except using GameKit (which only works between iOS devices).
UPDATE:
If you are using a BLE device then you can checkout this, it is iOS 5 only though.
http://developer.apple.com/library/ios/#documentation/CoreBluetooth/Reference/CoreBluetooth_Framework/_index.html
Are you planning to develop this app with a jailbreak device?
If not, you have to enroll the MFI(Made For iPhone) program, then you can define your custom protocol and use the ExternalAccessory framework to communicate with your device.
If yes, take a look at Btstack project.

iPhone Bluetooth SDK - discover Android / Windows phone 7 devices and background discovery

I am an Android developer and .Net developer and not yet have acquired the needed knowledge regarding iOS .
I did a search on-line but couldnt get conclusive answers to several questions I have which are the following :
1.iOS Bluetooth , do I have to use the Bonjour or Game Kit or can I access a lower level API.
2.Do currently I have an option to perform pairing between an iPhone device and an Android device ?
3.Can an application access the iPhones MAC ID and Friendly ID Bluetooth slots and change them while its in the background ? Or while the device is sleeping ?
4.Can an application set if the iPhone is discoverable or not discoverable to other devices - not iPhone ? Can it perform it while in the background ?
Regards !
Jessy85
This might be helpful to you: How can an iPhone access another non-iPhone device over wireless or Bluetooth?
Generally, there is NO option to communicate with non-iOS device via bluetooth in regular iOS API. GameKit is intended for using between only iOS devices. However I don't know the lower level API which open to only licensed accessory hardware developer except acquiring the license is incredibly hard differently with software license.
1) You can only get to the base API if you are developing specific hardware and are a MFi member. http://developer.apple.com/programs/mfi/
2) Don't think so. But Not really sure
3) You want to change the mac id in the background? Not that I know of. Also it seems like a really questionable idea.
4) Again don't think so. Maybe with MFi but I don't know.