Functions | |
uint32_t | conn_mw_ble_gatts_service_add (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles sd_ble_gatts_service_add command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_characteristic_add (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles sd_ble_gatts_characteristic_add command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_include_add (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles conn_mw_ble_gatts_include_add command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_descriptor_add (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles conn_mw_ble_gatts_descriptor_add command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_value_set (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles conn_mw_ble_gatts_value_set command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_value_get (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles conn_mw_ble_gatts_value_get command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_hvx (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles conn_mw_ble_gatts_hvx command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_service_changed (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles conn_mw_ble_gatts_service_changed command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_rw_authorize_reply (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles conn_mw_ble_gatts_rw_authorize_reply command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_sys_attr_set (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles conn_mw_ble_gatts_sys_attr_set command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_sys_attr_get (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles conn_mw_ble_gatts_sys_attr_get command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_attr_get (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles conn_mw_ble_gatts_attr_get command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_initial_user_handle_get (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles conn_mw_ble_gatts_initial_user_handle_get command and prepares response. More... | |
uint32_t | conn_mw_ble_gatts_exchange_mtu_reply (uint8_t const *const p_rx_buf, uint32_t rx_buf_len, uint8_t *const p_tx_buf, uint32_t *const p_tx_buf_len) |
Handles conn_mw_ble_gatts_exchange_mtu_reply command and prepares response. More... | |
uint32_t conn_mw_ble_gatts_attr_get | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles conn_mw_ble_gatts_attr_get command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_characteristic_add | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles sd_ble_gatts_characteristic_add command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_descriptor_add | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles conn_mw_ble_gatts_descriptor_add command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_exchange_mtu_reply | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles conn_mw_ble_gatts_exchange_mtu_reply command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_hvx | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles conn_mw_ble_gatts_hvx command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_include_add | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles conn_mw_ble_gatts_include_add command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_initial_user_handle_get | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles conn_mw_ble_gatts_initial_user_handle_get command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_rw_authorize_reply | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles conn_mw_ble_gatts_rw_authorize_reply command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_service_add | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles sd_ble_gatts_service_add command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_service_changed | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles conn_mw_ble_gatts_service_changed command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_sys_attr_get | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles conn_mw_ble_gatts_sys_attr_get command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_sys_attr_set | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles conn_mw_ble_gatts_sys_attr_set command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_value_get | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles conn_mw_ble_gatts_value_get command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |
uint32_t conn_mw_ble_gatts_value_set | ( | uint8_t const *const | p_rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | p_tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles conn_mw_ble_gatts_value_set command and prepares response.
[in] | p_rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | p_tx_buf | Pointer to output buffer. |
[in,out] | p_tx_buf_len | in: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf . |
NRF_SUCCESS | Handler success. |
NRF_ERROR_NULL | Handler failure. NULL pointer supplied. |
NRF_ERROR_INVALID_LENGTH | Handler failure. Incorrect buffer length. |
NRF_ERROR_INVALID_PARAM | Handler failure. Invalid operation type. |