Hello,
This probably is a simple feature that is already implemented, so if someone can point me out some example look at, that would be great. I'm looking for a way for an esp32 to automatically connect with a phone/ble device once in range or once that phone/device turns on ble, AFTER they've already paired in a previous connection. I'm not sure if the later automatic connections are called bonding. I would like to do this on arduino-esp32 if possible.
Thanks.
BLE auto bonding after pairing once
Re: BLE auto bonding after pairing once
This can be done only if esp32 will advertise itself as a "special" device class, for example BLE HID keyboard.
What you can do is to add to your IOS/android app to scan for device and connect to it when it is that app, but it will drain battery a lot.
There was similar question already on this forum, when user wanted to control when son is at home.
What you can do is to add to your IOS/android app to scan for device and connect to it when it is that app, but it will drain battery a lot.
There was similar question already on this forum, when user wanted to control when son is at home.
Re: BLE auto bonding after pairing once
Is auto reconnecting to the Android phone only available if the ESP device is advertising itself as some HID device, or it can be done as 'normal' BLE device with custom services and chars?
Who is online
Users browsing this forum: No registered users and 95 guests