1

Topic: ESP32 BLE action on connect

I am trying to create BT cat FOB to unlock/lock my car when phone is connecting/disconnecting to/from ESP32.
The problem that using onConnect function isn't safe to provide connection indication as it responding to connection request from any device even if passcode was set. Is there any other option to create connect event but only when secured connection between server and client is established ?

2

Re: ESP32 BLE action on connect

Try calling

RemoteXY_isConnected()