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

ble_db_discovery_start keeps cache of old connected device

Hi,

I have two peripheral devices both advertise the same device name 'R' but have different characteristics. I am scanning and connecting to one of them via central device then db_discovery works fine and I get all characteristics. I am sending data and closing connection.

When I am trying to do the same for the second device I am getting previous devices characteristic list even when the device is turned off.

That means ble_db_discovery_start has some kind of cache where it remembers previous device information.

How to cleanup it or not let it happen?

Thanks in advance.

Parents Reply Children
No Data
Related