im using iphone sdk 3.1.2
Does anyone know how to programatically obtain the name of a Bluetooth device
that is connected to the iphone. I am using Bluetooth in my app and want to
display the name of the paired device ie if it was a Nokia BH-200 i can display this.
Thanks
Check out the document External Accessory Framework Reference. That might allow you to do something but you'll have to play with it to see what values you can get from it. Let me know if it works.
Your Nokia BH-200 is not a MFi verified accessory. It is only connected as A2DP/AVRCP/HFP/HSP. These are not related to MFi accessory communication. And iOS app cannot communicate with this pure Bluetooth device. It's not the problem of External Accessory Framework.
Related
Hello all am trying to pair HM-10 ble Module with an iPhone but the ble device isn't listed in iPhone while searching . but while trying on an android device i can pair and communicate withe module . anyone please help me whether anything i should do before trying to pair with iPhone
You don't pair BLE devices like a HM-10 with an iOS device in settings. In your app you can use Core Bluetooth to discover and connect to the device. If you want a quick test you can use the free LightBlue Explorer App
Can anyone give the link about Apple has restrictions that prevent connecting an Android phone to an iPhone over Bluetooth.
Then show your client this: http://support.apple.com/kb/HT3647?viewlocale=en_US&locale=en_US
and tell him that simply it isn't in apple's bluetooth profiles.
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.
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.
is it possible to get data from external bluetooth device(not iphone) to iphone(bluetooth sensor to iphone)?because normally apple requires both end must open the application with same GKsessionID?any help please?will mFI provide special chip t0 install in external device?
This is related to the question about getting data from external device.
Se if this helps. I am trying to use the same in one of my project now.
I'm not sure what you mean about a special chip, but I can tell you that bluetooth can only be accessed via GameKit, which only works on Apple iOS devices. I'm sure there's some private api, but that would require jailbreaking, which would get your app rejected from Apple right away.