I have done some research on core bluetooth framework. Successfully setup discovery of peripheral of other iPhone, connect, discovered services and characteristics and write some values. All went well. Surprisingly come to know there is apple MIFI program (need to research on it).
In excitement I ordered iPhoneSE, HC-05 bluetooth module, Arduino Builder's Kit R2 with original Arduino UNO. It took some days/wasted in shipment and decent amount and now it's not working.
I write proper set up/initialization for peripheral and central classes, adopted delegates and I think it's all correct. However I am not able to connect to HC-05 bluetooth module.
Observations:
On a Android device i turned on bluetooth in device settings, HC-05 was able to be discovered, enter 0000/1234 (password as per documentation). And yes i was able to connect it. It means HC-05 is not malfunctioning.
On a iPhoneSE iOS v11.0, Setting -> turn on bluetooth. But HC-05 is
not discoverable.
I simply want to be successfully discover and connect to HC-05 module using BLE technology. Then with delegate methods look up services/characteristics and then try to on/off led.
I can provide more info and background if needed.
I need some help and direction so that I can purchase the correct bluetooth module which connect to iPhone, and I am sure I can do it.
Thanks.
To answer above question- HC-05 will not connect iPhone. Because HC_05 is not bluetooth low energy. I have used AT-09 from amazon.
I have written complete article how I achieved it here, and challanges I faced with solution.
The Hc-05 isn't compatible with iOS.
This is because Apple uses MFi Licensing Program and Hc-05 is not licensed.
To get things working go for a module supporting minimal BT Version V4.0 BLE. Better even BT Version: V4.2 BLE & V5.0(better range and larger packet-size), if iOS(v11.0) supports it.
I am not going to recommend a specific model, that's what Google is for.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With