The ble central device cannot connect some special ble addr

   Hi,

   I'm using one board with nrf52832 and sdk 15.3.0,and alter the  ble_app_mult_uart_c example as  ble center ,there is another ble device(ble addr  4C :42 :44 :49 :43 :4A) as the slave device,the mobile phone can connect it.I try  to use the central to connect the slave, but it can't .The central is normal , it can connect other device,except this addr.So,the reason is on the central or the slave's ble addr.

   Any good suggestion on this will be of great help.

  Thank you very much .

  • Hi,

    Do the peer device use a public Bluetooth address? The Bluetooth scan module in the SDK had a bug where some public addresses are ignored, as discussed in this thread. This issue is fixed in 17.1.0, so I suggest you refer to the scan module from there (nrf_ble_scan.c). The key point is that the address type was extracted from the 2 most significant bits, but this is not valid for public addresses, so the fix is to ignore the address type.

Related