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

Unable to reconnect on windows if BLE privacy turned on

Hi,

I'm having trouble connecting my peripheral on windows. The pairing works, but once I disconnect, I can no longer connect to it. Windows reports "device unreachable" and pairing again doesn't work. The only way to get out it is clearing the bonding info in MCU.

And if I don't turn on the privacy options, I can connect again without problem.

Here's my configuration on the privacy options.

privacy_params.privacy_mode = BLE_GAP_PRIVACY_MODE_NETWORK_PRIVACY;
privacy_params.private_addr_type = BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE;
privacy_params.private_addr_cycle_s = BLE_GAP_DEFAULT_PRIVATE_ADDR_CYCLE_INTERVAL_S;
privacy_params.p_device_irk = NULL;

err_code = pm_privacy_set(&privacy_params);
APP_ERROR_CHECK(err_code);

What's the problem? I'm using the latest windows 10, so it should support the privacy options.

Parents Reply Children
No Data
Related