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

multiple white list Switch between iphone and Macbook air failed

How many whitelists do nrf51822 support?

I found is can be settting in ble_gap.h

#define BLE_GAP_WHITELIST_ADDR_MAX_COUNT (8)
#define BLE_GAP_WHITELIST_IRK_MAX_COUNT (8)

is that mean I can keep 8 iphone or pad white list at same time?

When I start adv, it will try to connect all of them one by one?

I test this with a iphone4s and a Nexus7 II, and it work well at "ble_app_hids_keyboard", but when I connect my ble device to a Macbook air it just work sometimes, and other times I need delete my ble device from Macbook and connect it again my device can only return work ok.

So how white list work? How IRK work?

Edit: format.

Related