Functions |
|
| uint32_t | conn_mw_ble_tx_packet_count_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 sd_ble_tx_packet_count_get command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_uuid_vs_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_uuid_vs_add
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_uuid_decode (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_uuid_decode
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_uuid_encode (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_uuid_encode
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_version_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
sd_ble_version_get
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_opt_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
sd_ble_opt_get
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_opt_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
sd_ble_opt_set
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_enable (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_enable
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_user_mem_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
sd_ble_user_mem_reply
command and prepares response.
More...
|
|
Detailed Description
Function Documentation
| uint32_t conn_mw_ble_enable | ( | 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_enable command and prepares response.
- Parameters
-
[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 ofp_tx_bufbuffer.out:Length of valid data inp_tx_buf.
- Return values
-
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_opt_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 sd_ble_opt_get command and prepares response.
- Parameters
-
[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 ofp_tx_bufbuffer.out:Length of valid data inp_tx_buf.
- Return values
-
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_opt_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 sd_ble_opt_set command and prepares response.
- Parameters
-
[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 ofp_tx_bufbuffer.out:Length of valid data inp_tx_buf.
- Return values
-
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_tx_packet_count_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 sd_ble_tx_packet_count_get command and prepares response.
- Parameters
-
[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 ofp_tx_bufbuffer.out:Length of valid data inp_tx_buf.
- Return values
-
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_user_mem_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 sd_ble_user_mem_reply command and prepares response.
- Parameters
-
[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 ofp_tx_bufbuffer.out:Length of valid data inp_tx_buf.
- Return values
-
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_uuid_decode | ( | 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_uuid_decode command and prepares response.
- Parameters
-
[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 ofp_tx_bufbuffer.out:Length of valid data inp_tx_buf.
- Return values
-
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_uuid_encode | ( | 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_uuid_encode command and prepares response.
- Parameters
-
[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 ofp_tx_bufbuffer.out:Length of valid data inp_tx_buf.
- Return values
-
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_uuid_vs_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_uuid_vs_add command and prepares response.
- Parameters
-
[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 ofp_tx_bufbuffer.out:Length of valid data inp_tx_buf.
- Return values
-
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_version_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 sd_ble_version_get command and prepares response.
- Parameters
-
[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 ofp_tx_bufbuffer.out:Length of valid data inp_tx_buf.
- Return values
-
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.