Page 1 of 1

BLE pairing request ... or not

Posted: Tue May 27, 2025 12:27 am
by malachib
Hi guys, I have been stuck on this one.

Code on ESP32C6 running as a peripheral has a custom service with a protected characteristic.

When I try to connect and then read from that characteristic from a remote central, it sits for a while then disconnects. No pairing things are ever presented, nor do I get any GAP or GATT access messages indicating something is up.

Here is the project:
https://bitbucket.org/malachib/playgrou ... SP-67/poc1

I think I am missing something "simple" here.

Re: BLE pairing request ... or not

Posted: Tue May 27, 2025 1:29 am
by malachib
OK I think I may have found it.

I was missing the semi-internal call to ble_store_config_init
Things are behaving much better now.

UPDATE: 5/29

Up through 5/29 things were well behaved. Suddenly on 5/30 we're back to this spurious disconnect behavior and I cannot account for why.