2021-06-09 06:22 AM
Using STM32WB, testing pairing-bonding. Using several BLE dongles for desktop PC.
Peripheral - ST. (APP HeartRateRTOS example )
Client - Windows 10 , BLE debug dongles.
After pairing and bonding I read the bonded devices using:
aci_gap_get_bonded_devices
I print the result and see an enormous number of addresses (all are the same).
When I only paired 3 or maybe 4 devices.
Here is the print-Log:
06/09 16:06:48.797 Num_of_Addresses:241 err:0
06/09 16:06:48.854 i:0, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.857 i:1, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.860 i:2, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.864 i:3, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.867 i:4, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.870 i:5, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.873 i:6, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.876 i:7, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.879 i:8, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.883 i:9, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.886 i:10, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.889 i:11, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.893 i:12, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.896 i:13, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.899 i:14, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.902 i:15, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.905 i:16, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.908 i:17, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.912 i:18, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.915 i:19, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.918 i:20, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.921 i:21, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.925 i:22, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.928 i:23, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.931 i:24, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.935 i:25, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.938 i:26, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.941 i:27, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.944 i:28, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.948 i:29, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.951 i:30, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.954 i:31, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.957 i:32, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.960 i:33, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.964 i:34, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.967 i:35, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.971 i:36, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.974 i:37, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.977 i:38, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.980 i:39, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.983 i:40, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.987 i:41, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.990 i:42, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.993 i:43, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:48.996 i:44, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.000 i:45, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.003 i:46, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.006 i:47, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.010 i:48, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.013 i:49, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.016 i:50, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.019 i:51, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.022 i:52, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.025 i:53, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.029 i:54, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.032 i:55, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.036 i:56, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.039 i:57, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.042 i:58, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.045 i:59, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.048 i:60, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.051 i:61, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.055 i:62, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.058 i:63, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.061 i:64, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.064 i:65, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.067 i:66, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.071 i:67, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.074 i:68, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.077 i:69, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.081 i:70, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.084 i:71, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.087 i:72, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.090 i:73, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.093 i:74, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.097 i:75, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.100 i:76, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.103 i:77, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.106 i:78, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.110 i:79, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.113 i:80, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.116 i:81, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.120 i:82, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.123 i:83, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.126 i:84, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.129 i:85, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.132 i:86, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.136 i:87, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.139 i:88, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.142 i:89, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.145 i:90, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.149 i:91, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.152 i:92, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.156 i:93, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.159 i:94, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.162 i:95, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.166 i:96, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.168 i:97, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.171 i:98, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.175 i:99, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.178 i:100, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.181 i:101, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.185 i:102, type:0, adr:d1:af:3e:8c:ce:70
06/09 16:06:49.188 i:103, type:0, adr:d1:af:3e:8c:ce:70
Trying to connect later again with a bonded device will cause a fail in authentication.