nRF5 SDK v13.0.0
Modules | Functions
Connectivity middleware codecs for S212 (connectivity side)

Modules

 Middleware codecs for S212 (connectivity side) configuration
 

Functions

uint32_t conn_mw_ant_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_ant_enable command and prepares response. More...
 
uint32_t conn_ant_channel_assign (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_ant_channel_assign command and prepares response. More...
 
uint32_t conn_ant_channel_open_with_offset (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_ant_channel_open command and prepares response. More...
 
uint32_t conn_ant_channel_id_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_ant_channel_id_set command and prepares response. More...
 
uint32_t conn_ant_channel_period_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_ant_channel_period_set command and prepares response. More...
 
uint32_t conn_ant_channel_radio_freq_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_ant_channel_radio_freq_set command and prepares response. More...
 
uint32_t conn_ant_broadcast_message_tx (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_ant_broadcast_message_tx command and prepares response. More...
 
uint32_t conn_ant_acknowledge_message_tx (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_ant_acknowledge_message_tx command and prepares response. More...
 
uint32_t conn_ant_channel_unassign (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_ant_channel_unassign command and prepares response. More...
 
uint32_t conn_ant_channel_close (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_ant_channel_close command and prepares response. More...
 
uint32_t conn_ant_network_address_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_ant_network_address_set command and prepares response. More...
 
uint32_t conn_ant_channel_radio_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_ant_channel_radio_tx_power_set command and prepares response. More...
 
uint32_t conn_ant_channel_rx_search_timeout_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_ant_channel_rx_search_timeout_set command and prepares response. More...
 
uint32_t conn_ant_channel_low_priority_rx_search_timeout_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_ant_channel_low_priority_rx_search_timeout_set command and prepares response. More...
 
uint32_t conn_ant_prox_search_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_ant_prox_search_set command and prepares response. More...
 
uint32_t conn_ant_search_waveform_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_ant_search_waveform_set command and prepares response. More...
 
uint32_t conn_ant_channel_id_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_ant_channel_id_get command and prepares response. More...
 
uint32_t conn_ant_channel_radio_freq_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_ant_channel_radio_freq_get command and prepares response. More...
 
uint32_t conn_ant_channel_period_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_ant_channel_period_get command and prepares response. More...
 
uint32_t conn_ant_search_channel_priority_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_ant_search_channel_priority_set command and prepares response. More...
 
uint32_t conn_ant_active_search_sharing_cycles_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_ant_active_search_sharing_cycles_set command and prepares response. More...
 
uint32_t conn_ant_lib_config_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_ant_lib_config_set command and prepares response. More...
 
uint32_t conn_ant_active_search_sharing_cycles_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_ant_active_search_sharing_cycles_get command and prepares response. More...
 
uint32_t conn_ant_lib_config_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_ant_lib_config_get command and prepares response. More...
 
uint32_t conn_ant_lib_config_clear (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_ant_lib_config_clear command and prepares response. More...
 
uint32_t conn_ant_stack_reset (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_ant_stack_reset command and prepares response. More...
 
uint32_t conn_ant_rx_scan_mode_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_ant_rx_scan_mode_start command and prepares response. More...
 
uint32_t conn_ant_id_list_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_ant_id_list_add command and prepares response. More...
 
uint32_t conn_ant_id_list_config (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_ant_id_list_config command and prepares response. More...
 
uint32_t conn_ant_channel_status_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_ant_channel_status_get command and prepares response. More...
 
uint32_t conn_ant_cw_test_mode_init (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_ant_cw_test_mode_init command and prepares response. More...
 
uint32_t conn_ant_cw_test_mode (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_ant_cw_test_mode command and prepares response. More...
 
uint32_t conn_ant_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_ant_version_get command and prepares response. More...
 
uint32_t conn_ant_capabilities_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_ant_capabilities_get command and prepares response. More...
 
uint32_t conn_ant_crypto_channel_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_ant_crypto_channel_enable command and prepares response. More...
 
uint32_t conn_ant_adv_burst_config_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_ant_adv_burst_config_set command and prepares response. More...
 
uint32_t conn_ant_crypto_key_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_ant_crypto_key_set command and prepares response. More...
 
uint32_t conn_ant_crypto_info_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_ant_crypto_info_set command and prepares response. More...
 
uint32_t conn_ant_crypto_info_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_ant_crypto_info_get command and prepares response. More...
 
uint32_t conn_ant_coex_config_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_ant_coex_config_set command and prepares response. More...
 
uint32_t conn_ant_coex_config_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_ant_coex_config_get command and prepares response. More...
 

Detailed Description

Function Documentation

uint32_t conn_ant_acknowledge_message_tx ( 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_ant_acknowledge_message_tx command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_active_search_sharing_cycles_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_ant_active_search_sharing_cycles_get command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_active_search_sharing_cycles_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_ant_active_search_sharing_cycles_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_adv_burst_config_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_ant_adv_burst_config_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_broadcast_message_tx ( 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_ant_broadcast_message_tx command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_capabilities_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_ant_capabilities_get command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_assign ( 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_ant_channel_assign command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_close ( 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_ant_channel_close command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_id_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_ant_channel_id_get command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_id_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_ant_channel_id_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_low_priority_rx_search_timeout_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_ant_channel_low_priority_rx_search_timeout_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_open_with_offset ( 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_ant_channel_open command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_period_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_ant_channel_period_get command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_period_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_ant_channel_period_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_radio_freq_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_ant_channel_radio_freq_get command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_radio_freq_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_ant_channel_radio_freq_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_radio_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_ant_channel_radio_tx_power_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_rx_search_timeout_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_ant_channel_rx_search_timeout_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_status_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_ant_channel_status_get command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_channel_unassign ( 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_ant_channel_unassign command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_coex_config_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_ant_coex_config_get command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_coex_config_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_ant_coex_config_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_crypto_channel_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_ant_crypto_channel_enable command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_crypto_info_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_ant_crypto_info_get command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_crypto_info_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_ant_crypto_info_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_crypto_key_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_ant_crypto_key_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_cw_test_mode ( 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_ant_cw_test_mode command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_cw_test_mode_init ( 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_ant_cw_test_mode_init command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_id_list_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_ant_id_list_add command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_id_list_config ( 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_ant_id_list_config command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_lib_config_clear ( 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_ant_lib_config_clear command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_lib_config_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_ant_lib_config_get command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_lib_config_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_ant_lib_config_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_network_address_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_ant_network_address_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_prox_search_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_ant_prox_search_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_rx_scan_mode_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_ant_rx_scan_mode_start command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_search_channel_priority_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_ant_search_channel_priority_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_search_waveform_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_ant_search_waveform_set command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_stack_reset ( 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_ant_stack_reset command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_ant_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_ant_version_get command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.
uint32_t conn_mw_ant_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_ant_enable command and prepares response.

Parameters
[in]p_rx_bufPointer to input buffer.
[in]rx_buf_lenSize of p_rx_buf.
[out]p_tx_bufPointer to output buffer.
[in,out]p_tx_buf_lenin: Size of p_tx_buf buffer. out: Length of valid data in p_tx_buf.
Return values
NRF_SUCCESSHandler success.
NRF_ERROR_NULLHandler failure. NULL pointer supplied.
NRF_ERROR_INVALID_LENGTHHandler failure. Incorrect buffer length.
NRF_ERROR_INVALID_PARAMHandler failure. Invalid operation type.

Documentation feedback | Developer Zone | Subscribe | Updated