HI,
I am using the NCS V2.9.0 ,nrf Desktop sample;
I want to mouse can pair 3 hosts, and i can select one of them connect and work;
I set CONFIG_BT_MAX_PAIRED=3 and CONFIG_BT_ID_MAX=3 in prj.conf,
buti find below in ble_bond.c
#define BT_STACK_ID_LUT_SIZE (CONFIG_BT_ID_MAX-1) = 2
#define TEMP_PEER_ID (BT_STACK_ID_LUT_SIZE - 1) =1
bt_stack_id_lut[TEMP_PEER_ID] is used for new bonding, it's mean only bt_stack_id_lut[0] is the current bonding host, i only can select 1 host?
when i set cur_ble_peer_id=0 to pair my phone, it can work (A), and then i set cur_ble_peer_id=1 to pair the same phone,(B), It can work; but when i reset cur_ble_peer_id=0 and try to connect the phone by A, I can't work, It only can connected to B, is it only support to connect same host one time??