Functions |
|
| uint32_t | conn_mw_ble_gap_adv_start (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_gap_adv_start
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_adv_stop (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_gap_adv_stop
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_conn_param_update (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_gap_conn_param_update
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_disconnect (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_gap_disconnect
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_tx_power_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_gap_tx_power_set
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_appearance_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_gap_appearance_set
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_appearance_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_gap_appearance_get
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_ppcp_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_gap_ppcp_set
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_ppcp_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_gap_ppcp_get
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_device_name_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_gap_device_name_get
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_device_name_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_gap_device_name_set
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_authenticate (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_gap_authenticate
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_sec_params_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_gap_sec_params_reply
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_auth_key_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_gap_auth_key_reply
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_sec_info_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_gap_sec_info_reply
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_conn_sec_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_gap_conn_sec_get
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_rssi_start (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_gap_rssi_start
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_rssi_stop (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_gap_rssi_stop
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_rssi_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_gap_rssi_get
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_connect (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_gap_connect
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_connect_cancel (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_gap_connect_cancel
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_scan_start (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_gap_scan_start
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_scan_stop (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_gap_scan_stop
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_encrypt (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_gap_encrypt
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_keypress_notify (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_gap_keypress_notify
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_lesc_dhkey_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_gap_lesc_dhkey_reply
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_lesc_oob_data_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_gap_lesc_oob_data_set
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_lesc_oob_data_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_gap_lesc_oob_data_get
command and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_sec_context_create (uint16_t conn_handle, uint32_t *p_index) |
|
Allocates instance in m_conn_keys_table[] for storage of encryption keys.
More...
|
|
| uint32_t | conn_mw_ble_gap_sec_context_destroy (uint16_t conn_handle) |
|
Releases the instance identified by a connection handle.
More...
|
|
| uint32_t | conn_mw_ble_gap_sec_context_find (uint16_t conn_handle, uint32_t *p_index) |
|
Finds index of instance identified by a connection handle in m_conn_keys_table[].
More...
|
|
| uint32_t | conn_mw_ble_gap_addr_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_gap_addr_set
command request and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_addr_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_gap_addr_get
command request and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_privacy_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_gap_privacy_set
command request and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_privacy_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_gap_privacy_get
command request and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_whitelist_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_gap_whitelist_set
command request and prepares response.
More...
|
|
| uint32_t | conn_mw_ble_gap_device_identities_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_gap_device_identities_set
command request and prepares response.
More...
|
|
Detailed Description
Function Documentation
| uint32_t conn_mw_ble_gap_addr_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_gap_addr_get command request 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_gap_addr_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_gap_addr_set command request 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_gap_adv_start | ( | 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_gap_adv_start 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_gap_adv_stop | ( | 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_gap_adv_stop 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_gap_appearance_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_gap_appearance_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_gap_appearance_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_gap_appearance_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_gap_auth_key_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_gap_auth_key_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_gap_authenticate | ( | 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_gap_authenticate 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_gap_conn_param_update | ( | 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_gap_conn_param_update 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_gap_conn_sec_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_gap_conn_sec_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_gap_connect | ( | 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_gap_connect 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_gap_connect_cancel | ( | 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_gap_connect_cancel 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_gap_device_identities_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_gap_device_identities_set command request 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_gap_device_name_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_gap_device_name_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_gap_device_name_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_gap_device_name_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_gap_disconnect | ( | 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_gap_disconnect 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_gap_encrypt | ( | 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_gap_encrypt 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_gap_keypress_notify | ( | 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_gap_keypress_notify 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_gap_lesc_dhkey_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_gap_lesc_dhkey_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_gap_lesc_oob_data_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_gap_lesc_oob_data_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_gap_lesc_oob_data_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_gap_lesc_oob_data_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_gap_ppcp_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_gap_ppcp_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_gap_ppcp_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_gap_ppcp_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_gap_privacy_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_gap_privacy_get command request 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_gap_privacy_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_gap_privacy_set command request 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_gap_rssi_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_gap_rssi_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_gap_rssi_start | ( | 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_gap_rssi_start 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_gap_rssi_stop | ( | 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_gap_rssi_stop 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_gap_scan_start | ( | 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_gap_scan_start 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_gap_scan_stop | ( | 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_gap_scan_stop 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_gap_sec_context_create | ( | uint16_t | conn_handle , |
| uint32_t * | p_index | ||
| ) |
Allocates instance in m_conn_keys_table[] for storage of encryption keys.
- Parameters
-
[in] conn_handle Connection handle. [out] p_index Pointer to the index of allocated instance.
- Return values
-
NRF_SUCCESS Success. NRF_ERROR_NO_MEM No free instance available.
| uint32_t conn_mw_ble_gap_sec_context_destroy | ( | uint16_t | conn_handle | ) |
Releases the instance identified by a connection handle.
- Parameters
-
[in] conn_handle Connection handle.
- Return values
-
NRF_SUCCESS Success. NRF_ERROR_NOT_FOUND Instance with the conn_handlenot found.
| uint32_t conn_mw_ble_gap_sec_context_find | ( | uint16_t | conn_handle , |
| uint32_t * | p_index | ||
| ) |
Finds index of instance identified by a connection handle in m_conn_keys_table[].
- Parameters
-
[in] conn_handle Connection handle. [out] p_index Pointer to the index of the context instance.
- Return values
-
NRF_SUCCESS Success. NRF_ERROR_NOT_FOUND Instance with the conn_handlenot found.
| uint32_t conn_mw_ble_gap_sec_info_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_gap_sec_info_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_gap_sec_params_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_gap_sec_params_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_gap_tx_power_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_gap_tx_power_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_gap_whitelist_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_gap_whitelist_set command request 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.