![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint16_t ble_bms_on_qwr_evt | ( | struct ble_bms * | bms, |
| struct ble_qwr * | qwr, | ||
| const struct ble_qwr_evt * | evt ) |
#include <ble_bms.h>
Handle events from the nrf_ble_qwr.
| [in] | bms | BMS structure. |
| [in] | qwr | Queued Write structure. |
| [in] | evt | Event received from the Queued Writes module. |
| BLE_GATT_STATUS_SUCCESS | If the received event is accepted. |
| NRF_BLE_QWR_REJ_REQUEST_ERR_CODE | If the received event is not relevant for any of this module's attributes. |
| BLE_BMS_OPCODE_NOT_SUPPORTED | If the received opcode is not supported. |
| BLE_GATT_STATUS_ATTERR_INSUF_AUTHORIZATION | If the application handler returns that the authorization code is not valid. |