![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_bms_auth_response | ( | struct ble_bms * | bms, |
| bool | authorize ) |
#include <ble_bms.h>
Respond to an authorization request.
Call this function when receiving the BLE_BMS_EVT_AUTH event to respond to the service with an authorization result.
| [in] | bms | BMS structure. |
| [in] | authorize | Authorization response. True if the authorization is considered successful. |
| NRF_ERROR_NULL | If bms was NULL. |
| NRF_ERROR_INVALID_STATE | If no authorization request was pending. |
| NRF_SUCCESS | If the response was received successfully. |