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

HOW to use direct advertising to connect the central successfully?

I use nrf52832 board by fast advertising to connect the central(surface 4 Tablet).Then the board go to sleep.when I push the button the board use direct advertising to connect the central again,but it dont connect. I use the peer manager to get the central address,when the BLE_ADV_EVT_PEER_ADDR_REQUEST event of direct advertising happens.

SDK 14.2  Softdevice 132 .Can you give me some suggestions about direct advertising to connect previous central successfully.

Parents Reply
  • This SDK v11 can reconnect again with surface 3.I bonded with Surface 3, then I turned OFF and ON Bluetooth on Surface 3. The keyboard example would then reconnect .They can reconnect may by fast adv with whitelist. So ,I think it is right to use direct adv to reconnect again. 

    The serial doesn't read any data.  Maybe some configuration not set. This SDK code doesn't like next SDKs that have config.h . SDK v11 is a watershed. After v11,the structure of code is changed.

    Can you change code that after SDK v11 to make it reconnect with surface tablet successfully. If not ,I will use SDK v11 to realize my project.

Children
Related