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

How to use PCA 10028 as ble central

I'm planning to use nRF51422 QFAAE00 as ble central. I try to compile the SDKv10.0.0\examples\ble_central\ble_app_hrs_c and SD130. And another one as ble peripheral using ble_app_hrs example with whitelist enabled. But after pairing, ble central couldn't connect to the peripheral again. After debugging, the peer table is not exist any bonding information on both the ble central and peripheral. When I remove the whitelist in peripheral, it works. But this case is not secure for my product. Do anyone get the same problem? If it's bug, how do I solve? Thanks.

Parents
  • You can find the definition of active field in ble_gap.h:

    uint8_t  active         : 1;  /**< If 1, perform active scanning (scan requests). */
    

    Active scanning means that the scanner send a scan request after it receives the advertising packet. The advertiser will send a scan response with additional data after that. (the second adv data packet you set up when you setup advertising data)

    I don't see any relation between active scanning and whitelisting or connection establishing here.

Reply
  • You can find the definition of active field in ble_gap.h:

    uint8_t  active         : 1;  /**< If 1, perform active scanning (scan requests). */
    

    Active scanning means that the scanner send a scan request after it receives the advertising packet. The advertiser will send a scan response with additional data after that. (the second adv data packet you set up when you setup advertising data)

    I don't see any relation between active scanning and whitelisting or connection establishing here.

Children
No Data
Related