Ios and bluetooth

I want to develop an application that will communicate with devices via Bluetooth. I can not find a tutorial to help me with this. I do not mean bluetooth 4.0 LE, but classic Bluetooth. All I found is the core of CoreBluetooth, but I think it is only for bluetooth LE. I also found something like IOBluetooth and IOBluetoothUI, but I'm not sure if it is for Mac OS or for iOS. But so far I have not been able to find any textbook or something that will help me understand the whole process (opening, establishing communication, communication, etc.). Can you help me?

+4
source share
2 answers

OK, so I found this article.

In accordance with this article, there are 5 ways to work with Bluetooth:

  • Signing up for an MFI program is an expensive and lengthy process
  • Framework CoreBluetooth - only works with Bluetooth 4.0 LE devices
  • The GameKit frame is only for an iOS device (two iPhones), so you cannot work with another device and then with iOS
  • Private API - a closed API application will not be approved by Apple in the Appstore
  • Jailbreak

There seems to be no normal official way to work with Bluetooth.

My business: I want to communicate with a non-iOS device that has bluetooth 2.1, and I want to have it in the app store โ†’ I can only use the first one so that Iโ€™m screwed ...

+5
source

You can check the Bluetooth function of GameKit. Basic tutorial here

You can also check out Ray Wenderlich's tutorial, which is a little more impressive. Here can be found here .

0
source

Source: https://habr.com/ru/post/1483605/


All Articles