Hi,
Custom board based on nrf52810
Soft device - S112 v6.0
I am trying to understand the usage of the function pm_whitelist_set (pm_peer_id_t const * p_peers, uint32_t peer_cnt). I am not able to understand what to pass for peer_cnt ? for example
I pair a phone(A) to nrf52810 and I want it to be whitelisted; I call pm_whitelist_set (&peer_ID_array, 0x01); peer_cnt is 0x01 because only one peer to be whitelisted. Now I disconnect the phone(A) and connect a different phone(B) to nrf52810. I want this phone(B) also to be white listed. So I again call pm_whitelist_set(&peer_ID_array, 0x01) , during the second whitelisting process should the peer_cnt be 0x01 or 0x02? Since there are two peers in peer_ID_array now...
Thanks