This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is there an API that can get the authentication method?

Hello.
I am developing using nrf52832 (S132 v7.0.1, SDK v17.0.0) as a peripheral device.

I want to know the authentication method of the central device when the connection is established.
Is there an API that can get the authentication method?

Also, when BLE_GAP_EVT_CONNECTED of ble_evt_handler is called, you can see the security parameters by checking "p_ble_evt-> evt-> gap_evt-> params-> sec_params_request-> peer_params".
Is it possible to know the authentication method of the central device by comparing it with the value on the following site and checking the authentication method?

Best regards.

Parents Reply
  • sdi_kei said:
    The timing when you want information is when a BLE connection is made.
    sdi_kei said:
    Is there a way to get the authentication method faster than "BLE_GAP_EVT_SEC_PARAMS_REQUEST"?

    No.If this is a new device that is connecting(that you have no prior bond to), then the information is not known when the device connects.

Children
Related