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

Central S120 and Authenticate

Hello,

I want to implement a proximity central. At the moment, I do not get a bonded connection from central to proximity peripheral (For peripheral i use the proximity application for evalutaion board). As described in documentation a bonded state is needed. Is there a central example in which a bonded state is established? Do i also need the bond manager in central device?

At the moment, I proceed as follows:

  1. conn_mngr_start()
  2. After receive CONN_MNGR_CONN_COMPLETE_IND event --> start sd_ble_gap_authenticate()
  3. After receive BLE_GAP_EVT_SEC_PARAMS_REQUEST evnt --> start sd_ble_gap_sec_params_reply()
  4. After receive BLE_GAP_EVT_AUTH_STATUS --> start ble_db_discovery_start

The function start ble_db_discovery_start returns error code 0x3001.

Is this procedure correct? Or what is the best practice here?

Parents Reply Children
No Data
Related