BLE implementation

remeshck
Posts: 6
Joined: Thu Apr 20, 2017 9:54 am

BLE implementation

Postby remeshck » Thu Jun 01, 2017 12:58 pm

I would like to implement Bluetooth. I have taken given example "blufi".
in the menuconfig check bluetooth enabled , yes it is enabled, compiled the code ,
flashed to my ESP WROOM 32.

Device name given in the program , mobile able to display same name.
trying to pair , not able pair .

guide me how to test this .
any point to remember before start testing .

edmund-huber
Posts: 15
Joined: Wed Apr 12, 2017 8:30 pm

Re: BLE implementation

Postby edmund-huber » Sat Jun 03, 2017 1:12 am

Instead of pairing, try just connecting.

To check if it is working (independent of your program): if you have Android, try using something like https://play.google.com/store/apps/deta ... scan&hl=en to scan for the esp32, look at the service and its attributes.

remeshck
Posts: 6
Joined: Thu Apr 20, 2017 9:54 am

Re: BLE implementation

Postby remeshck » Thu Jun 08, 2017 4:36 am

thank you for your prompt response, this is working for me .
Now i would like to implement the bluetooth for iphone.

do you have any sample code for this , and detail of app which can be used to connect iphone and esp woorm32

Josegm
Posts: 10
Joined: Mon Dec 28, 2015 11:51 am

Re: BLE implementation

Postby Josegm » Tue Jun 13, 2017 1:51 am

On iOS you can use the Lightblue Explorer app https://itunes.apple.com/us/app/lightbl ... 28110?mt=8

To code your own app in iOS you use CoreBluetooth framework, maybe see this tutorial to get an idea how (ignore the Arduino side, that would be done in the ESP32): https://www.raywenderlich.com/85900/ard ... -ios-swift

Who is online

Users browsing this forum: Baidu [Spider] and 170 guests