Hi All,
Configured BLE QN908x configured as Peripheral Device, and here we are using Heart Rate Sensor Application with a small change ie- the peripheral device is visible to all until its paired to a device for the first time, this will increment the bonded device count. And once the bonded count greater than 0, then onwards device will start addvertise with whitelist filter option.
In the Heart Rate Sensor SDK example code enabled gAppUseBonding_d, gAppUsePairing_d,gAppUseNvm_d in the app_preinclude.h
With this implementation able to connect and read the read the Heart Rate data for the first time, second time onwards after we turn on the peripheral device - we are not able to connect to this device from the previously paired Central device. nRFConnect Android application on the Central device shows 257 error which is Unknow error code. For your reference am attaching the code - tried with SDK version 2.x to 2.6.
And am able to see Peripheral advertisiement packet on a Desktop system using tool "BLE GUI 1.10.x" when the peripheral is turned on with Whitelisting feature, am expecting here peripheral is visible only to whitelisted devices.
Any suggestion or input on how exactly to implement the above requirements.
Regards,
kishan