Joakim
Joakim

Reputation: 3294

Use bluetooth in iOS application

I'm currently digging my through the nest of using Bluetooth in my iOS application and I find it quite hard to find the information I'm looking for.

To give some Context to my question: I'm currently developing a part of a Home Automation Application where the App needs to communicate with an embedded device which does not yet have Wifi. It has not been decided which Bluetooth version will run on the embedded device. The same functionality will be implemented in an Android application.

Thankful for some input from some with Bluetooth experience for iOS.

Upvotes: 0

Views: 654

Answers (1)

Paulw11
Paulw11

Reputation: 115104

  • you cannot turn on Bluetooth from your app. The user must do it using settings or the control center.
  • unless you device is MFi certified you can only communicate with Bluetooth Low Energy devices
  • the external accessory framework is used to communicate with MFi devices that use "classic" Bluetooth
  • I am not aware of any use of Core Bluetooth that will lead to app rejection. If your app supports an MFi accessory that isn't associated with your company then your app will be rejected.
  • you can initiate bonding (commonly known as pairing but it is actually different) by requiring encryption for an attribute. Once the bonding is complete there is no difference in how you transfer data, but the data will be encrypted over the air.

Upvotes: 2

Related Questions