Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting hc-05 with iPhone SE iOS(v11.0)

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.

like image 338
maddy Avatar asked May 21 '18 06:05

maddy


2 Answers

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.

like image 83
maddy Avatar answered Sep 23 '22 08:09

maddy


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.

like image 38
GrooverFromHolland Avatar answered Sep 21 '22 08:09

GrooverFromHolland