Functions | |
uint32_t | conn_mw_ble_gattc_primary_services_discover (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_gattc_primary_services_discover command and prepares response. More... | |
uint32_t | conn_mw_ble_gattc_relationships_discover (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_gattc_relationships_discover command and prepares response. More... | |
uint32_t | conn_mw_ble_gattc_characteristics_discover (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_gattc_characteristics_discover command and prepares response. More... | |
uint32_t | conn_mw_ble_gattc_descriptors_discover (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_gattc_descriptors_discover command and prepares response. More... | |
uint32_t | conn_mw_ble_gattc_char_value_by_uuid_read (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_gattc_char_value_by_uuid_read command and prepares response. More... | |
uint32_t | conn_mw_ble_gattc_read (uint8_t const *const rx_buf, uint32_t rx_buf_len, uint8_t *const tx_buf, uint32_t *const p_tx_buf_len) |
Handles sd_ble_gattc_read command and prepares response. More... | |
uint32_t | conn_mw_ble_gattc_char_values_read (uint8_t const *const rx_buf, uint32_t rx_buf_len, uint8_t *const tx_buf, uint32_t *const p_tx_buf_len) |
Handles sd_ble_gattc_char_values_read command and prepares response. More... | |
uint32_t | conn_mw_ble_gattc_write (uint8_t const *const rx_buf, uint32_t rx_buf_len, uint8_t *const tx_buf, uint32_t *const p_tx_buf_len) |
Handles sd_ble_gattc_write command and prepares response. More... | |
uint32_t | conn_mw_ble_gattc_hv_confirm (uint8_t const *const rx_buf, uint32_t rx_buf_len, uint8_t *const tx_buf, uint32_t *const p_tx_buf_len) |
Handles sd_ble_gattc_hv_confirm command and prepares response. More... | |
uint32_t | conn_mw_ble_gattc_attr_info_discover (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_gattc_attr_info_discover command and prepares response. More... | |
uint32_t | conn_mw_ble_gattc_exchange_mtu_request (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_gattc_exchange_mtu_request command and prepares response. More... | |
uint32_t conn_mw_ble_gattc_attr_info_discover | ( | 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_gattc_attr_info_discover 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_gattc_char_value_by_uuid_read | ( | 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_gattc_char_value_by_uuid_read 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_gattc_char_values_read | ( | uint8_t const *const | rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles sd_ble_gattc_char_values_read command and prepares response.
[in] | rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | 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_gattc_characteristics_discover | ( | 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_gattc_characteristics_discover 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_gattc_descriptors_discover | ( | 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_gattc_descriptors_discover 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_gattc_exchange_mtu_request | ( | 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_gattc_exchange_mtu_request 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_gattc_hv_confirm | ( | uint8_t const *const | rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles sd_ble_gattc_hv_confirm command and prepares response.
[in] | rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | 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_gattc_primary_services_discover | ( | 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_gattc_primary_services_discover 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_gattc_read | ( | uint8_t const *const | rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles sd_ble_gattc_read command and prepares response.
[in] | rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | 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_gattc_relationships_discover | ( | 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_gattc_relationships_discover 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_gattc_write | ( | uint8_t const *const | rx_buf, |
uint32_t | rx_buf_len, | ||
uint8_t *const | tx_buf, | ||
uint32_t *const | p_tx_buf_len | ||
) |
Handles sd_ble_gattc_write command and prepares response.
[in] | rx_buf | Pointer to input buffer. |
[in] | rx_buf_len | Size of p_rx_buf . |
[out] | 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. |