Object Transfer Service module.
More...
|
#define | BLE_HVX_BUF_LEN (1 << 3) |
|
#define | BLE_HVX_BUF_MASK (BLE_HVX_BUF_LEN-1) |
|
Object Transfer Service module.
This module is responsible for buffering indications and notifications.
Function for sending something from the HVX buffer.
- Parameters
-
[in] | p_ble_hvx_buf | HVX buffering structure. |
- Returns
- NRF_SUCCESS If a indication/notification was successfully sent.
Function for obtaining the pointer to the next hvx. The user can then fill out the hvx structure.
- Parameters
-
[in] | p_ble_hvx_buf | HVX buffering structure. |
- Returns
- ble_hvx_t * If there is a free ble_hvx_t.
-
NULL If there is no free ble_hvx_t, or an invalid parameter is supplied.
Function for initializing the HVX buffer module.
- Parameters
-
[out] | p_ble_hvx_buf | HVX buffering structure. |
- Returns
- NRF_SUCCESS If the given paramer is valid.