Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS and bluetooth

Tags:

ios

bluetooth

I want to develop an app which will communicate with devices via bluetooth. I am not able to find any tutorial to help me with this. I don't mean bluetooth 4.0 LE but classic bluetooth. All I have found is CoreBluetooth framework but I think this is only for bluetooth LE. I have found also something like IOBluetooth and IOBluetoothUI but I am not sure if it is for Mac OS or for iOS. But still can't find any tutorial or something to help me understand whole process (discovering, establish connection, communication,...). Can you help me with this?

like image 232
DanielH Avatar asked May 30 '13 14:05

DanielH


People also ask

Does Bluetooth Work on iOS?

Using a Bluetooth connection, you can use third-party devices such as wireless keyboards, headphones, speakers, car kits, game controllers, and more with iPhone. Note: iPhone must be within about 33 feet (10 meters) of the Bluetooth device.

Why is my Bluetooth not connecting iOS?

Make sure that your Bluetooth accessory and iOS or iPadOS device are close to each other. Turn your Bluetooth accessory off and back on again. Make sure that your Bluetooth accessory is on and fully charged or connected to power. If your accessory uses batteries, see if they need to be replaced.

What is Bluetooth iOS?

Bluetooth is a wireless technology that allows you to communicate or connect with various devices through radio waves. When your iPhone is within 33 feet of a connected Bluetooth device, you can use Bluetooth on your iPhone to transfer tons of files, images, and more between the two devices.


1 Answers

OK so I just found this article.

According to this article there are 5 ways how to work with Bluetooth:

  1. Enroll MFI program - expensive and long period process
  2. CoreBluetooth framework - works only with Bluetooth 4.0 LE devices
  3. GameKit framework - only for iOS device (two iPhones) so you can't work with other device then with iOS
  4. Private API - app with private API won't be approved by Apple on the Appstore
  5. Jailbreak

It seems there isn't normal official way how to work with bluetooth.

My case: I want to communicate with not iOS device which has bluetooth 2.1 and I want to have it on the app store -> I can use only first one so I am screwed...

like image 181
DanielH Avatar answered Sep 21 '22 15:09

DanielH