Kristofer Ortigas
Kristofer Ortigas

Reputation: 11

Xcode 9 - Bluetooth module HC-06

I am currently attempting to code for an iOS application on XCode and am currently having some issues.

Our group is connecting LED lights through a microcontroller and we need our iOS application to connect to the HC-06 Bluetooth module in order to control the LED lights on and off.

I only need to worry about the iOS side of the code not the microcontroller. I was just wondering how would I go about coding this on Xcode to send either a '1' or a '0' through Bluetooth to signal either 'on' or 'off' to the microcontroller?

Upvotes: 0

Views: 3919

Answers (1)

Aleksandr Savchenko
Aleksandr Savchenko

Reputation: 61

You can't use HC-06 BT or any Bluetooth 2.0 module because Apple uses MFi license Program You can use HM-10 BT module to control your microcontroller via Bluetooth Low Energy. You can read about BLE technology this.

Upvotes: 2

Related Questions