Skip to content

ESP32-C6 BLE bonding lost after reconnect (iOS, AT v4.1.1.0) #1004

Description

@oumayma-ba

Hi,

I am using the following ESP-AT firmware:
ESP32-C6-4MB-AT-V4.1.1.0

Setup:

Custom GATT profile
Pairing with bonding enabled
Issue

Bonding is not persistent. After connecting and disconnecting multiple times, the pairing is lost and reconnection fails.

On iPhone, I get:

"peer removed pairing information"

ESP32 logs:
I (2917514) at-ble: our_id_addr_type=0 our_id_addr=8a:19:0c:bd:f5:f0
I (2917520) at-ble: peer_ota_addr_type=1 peer_ota_addr=30:d0:dd:02:60:5c
I (2917527) at-ble: peer_id_addr_type=1 peer_id_addr=30:d0:dd:02:60:5c
I (2917533) at-ble: conn_itvl=24 conn_latency=0 supervision_timeout=72 encrypted=0 authenticated=0 bonded=0
W (2917962) at-ble: disconnect, reason=531

Device is not recognized as bonded (bonded=0)
Happens after several reconnect cycles
Question

Is this the same issue as:
#859 (bonding lost with iOS devices)

And if yes:
👉 Is the fix included in v4.1.1.0, or only in master?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions