ble_att_svr_write_local
int
ble_att_svr_write_local(
uint16_t attr_handle,
struct os_mbuf *om
)
Description
Writes a locally registered attribute. This function consumes the supplied mbuf regardless of the outcome. If the specified attribute handle coresponds to a GATT characteristic value or descriptor, the write is performed by calling the registered GATT access callback.
Parameters
Parameter | Description |
---|
attr_handle | The 16-bit handle of the attribute to write. |
om | The value to write to the attribute. |
Returned values