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

Module for handling Queued Write operations. More...

Data Structures

struct  ble_qwr_evt
 Queued Writes module events. More...
 
struct  ble_qwr
 Queued Writes structure. More...
 
struct  ble_qwr_config
 Queued Writes init structure. More...
 

Macros

#define BLE_QWR_DEF(_name)
 Macro for defining a ble_qwr instance.
 
#define BLE_QWR_REJ_REQUEST_ERR_CODE   BLE_GATT_STATUS_ATTERR_APP_BEGIN + 0
 

Typedefs

typedef uint16_t(* ble_qwr_evt_handler_t) (struct ble_qwr *qwr, const struct ble_qwr_evt *evt)
 Queued Writes module event handler type.
 

Enumerations

enum  ble_qwr_evt_type { BLE_QWR_EVT_EXECUTE_WRITE , BLE_QWR_EVT_AUTH_REQUEST , BLE_QWR_EVT_ERROR }
 Queued Writes module event types. More...
 

Functions

uint32_t ble_qwr_init (struct ble_qwr *qwr, const struct ble_qwr_config *qwr_config)
 Function for initializing the Queued Writes module.
 
uint32_t ble_qwr_conn_handle_assign (struct ble_qwr *qwr, uint16_t conn_handle)
 Function for assigning a connection handle to an instance of the Queued Writes module.
 
void ble_qwr_on_ble_evt (const ble_evt_t *ble_evt, void *ble_qwr)
 Bluetooth LE event handler for the Queued Writes module.
 
uint32_t ble_qwr_attr_register (struct ble_qwr *qwr, uint16_t attr_handle)
 Function for registering an attribute with the Queued Writes module.
 
uint32_t ble_qwr_value_get (struct ble_qwr *qwr, uint16_t attr_handle, uint8_t *mem, uint16_t *len)
 Function for retrieving the received data for a given attribute.
 

Detailed Description

Module for handling Queued Write operations.

This module handles prepare write, execute write, and cancel write commands. It also manages memory requests related to these operations.