Search found 3 matches
- Wed Nov 13, 2019 2:19 am
- Forum: ESP32 Arduino
- Topic: BLE onConnect callback working just once after pairing
- Replies: 5
- Views: 9699
Re: BLE onConnect callback working just once after pairing
Aha! Interesting :) For the time being I just hardcoded a known MAC address (from an iTag) into the ESP32 scan example, and I got to trigger a simple function when the tag is nearby. If my son decides he wants something more complex I'll try to fool the phone into providing some kind of reply to an ...
- Sat Nov 09, 2019 3:05 am
- Forum: ESP32 Arduino
- Topic: BLE onConnect callback working just once after pairing
- Replies: 5
- Views: 9699
Re: BLE onConnect callback working just once after pairing
onConnect callback is fired only one time when connection is established. So, when you disconnect and connect again onConnect will be fired again. I dont think you will be able to achieve your goal this way, but i hope you can do it. Hello Chegewara. I'm sorry I'm not familiar with the terminology ...
- Fri Nov 08, 2019 3:02 am
- Forum: ESP32 Arduino
- Topic: BLE onConnect callback working just once after pairing
- Replies: 5
- Views: 9699
BLE onConnect callback working just once after pairing
Hello all, Sorry if this is a stupid question, but I honestly don't know where to start looking for the root of my problem or for a solution :/ I'm trying to create a little device for my son. The idea is to send an SMS when a Bluetooth device (his cellphone) is in range, without needing any softwar...