This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

About nRf52832 not received the event of PM_EVT_PEER_DATA_UPDATE_SUCCEEDED when pairing to windows 10

Hi all,

The chip we used is nRf52832,  the version of SDK I used is nRF5_SDK_15.2.0_9412b96.

The problem is when I pair to windows 10, sometimes PM_EVT_PEER_DATA_UPDATE_SUCCEEDED event not received.

BLE_GAP_EVT_CONN_SEC_UPDATE event and BLE_HIDS_EVT_NOTIF_ENABLED event I have received.

And device can receive data from host, but without  PM_EVT_PEER_DATA_UPDATE_SUCCEEDED event peer id and white list 

can not be updated and reconnecting process will fail.

So we think this case as incomplete pairing process.

My question is why sometime we can't get the PM_EVT_PEER_DATA_UPDATE_SUCCEEDED event.

Thanks.

Aileen Wang

Parents Reply
  • Looking at the case it seems that during the problematic connection, that Windows 10 do not distribute the SMP identity address information (BDADDR). According to the BLE specification:

    "BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 3, Part H page 1680
    IdKey is a 1-bit field that is set to one to indicate that the device shall
    distribute IRK using the Identity Information command followed by its public
    device or static random address using Identity Address Information."

    In the problematic connection the central only disitribute the IRK, not the public address.

    Best regards,
    Kenneth

Children
No Data
Related