nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ ble_bms_on_qwr_evt()

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.

Parameters
[in]bmsBMS structure.
[in]qwrQueued Write structure.
[in]evtEvent received from the Queued Writes module.
Return values
BLE_GATT_STATUS_SUCCESSIf the received event is accepted.
NRF_BLE_QWR_REJ_REQUEST_ERR_CODEIf the received event is not relevant for any of this module's attributes.
BLE_BMS_OPCODE_NOT_SUPPORTEDIf the received opcode is not supported.
BLE_GATT_STATUS_ATTERR_INSUF_AUTHORIZATIONIf the application handler returns that the authorization code is not valid.