Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
CS Test parameters. More...
#include <cs.h>
Data Fields | ||
enum bt_conn_le_cs_main_mode | main_mode | |
CS mode to be used during the CS procedure. | ||
enum bt_conn_le_cs_sub_mode | sub_mode | |
CS sub-mode to be used during the CS procedure. | ||
uint8_t | main_mode_repetition | |
Number of main mode steps taken from the end of the last CS subevent to be repeated at the beginning of the current CS subevent directly after the last mode-0 step of that event. | ||
uint8_t | mode_0_steps | |
Number of CS mode-0 steps at the beginning of the test CS subevent. | ||
enum bt_conn_le_cs_role | role | |
CS Test role. | ||
enum bt_conn_le_cs_rtt_type | rtt_type | |
RTT variant. | ||
enum bt_conn_le_cs_sync_phy | cs_sync_phy | |
CS_SYNC PHY. | ||
enum bt_le_cs_test_cs_sync_antenna_selection | cs_sync_antenna_selection | |
Antenna identifier to be used for CS_SYNC packets. | ||
uint32_t | subevent_len | |
CS subevent length in microseconds. | ||
uint16_t | subevent_interval | |
Gap between the start of two consecutive CS subevents (N * 0.625 ms) | ||
uint8_t | max_num_subevents | |
Maximum allowed number of subevents in the procedure. | ||
uint8_t | transmit_power_level | |
Desired TX power level for the CS procedure. | ||
uint8_t | t_ip1_time | |
Interlude time in microseconds between the RTT packets. | ||
uint8_t | t_ip2_time | |
Interlude time in microseconds between the CS tones. | ||
uint8_t | t_fcs_time | |
Time in microseconds for frequency changes. | ||
uint8_t | t_pm_time | |
Time in microseconds for the phase measurement period of the CS tones. | ||
uint8_t | t_sw_time | |
Time in microseconds for the antenna switch period of the CS tones. | ||
enum bt_conn_le_cs_tone_antenna_config_selection | tone_antenna_config_selection | |
Antenna Configuration Index used during antenna switching during the tone phases of CS steps. | ||
enum bt_le_cs_initiator_snr_control | initiator_snr_control | |
Initiator SNR control options. | ||
enum bt_le_cs_reflector_snr_control | reflector_snr_control | |
Reflector SNR control options. | ||
uint16_t | drbg_nonce | |
Determines octets 14 and 15 of the initial value of the DRBG nonce. | ||
uint16_t | override_config | |
Override configuration. | ||
struct { | ||
uint8_t channel_map_repetition | ||
Number of times the channels indicated by the channel map or channel field are cycled through for non-mode-0 steps within a CS procedure. More... | ||
union { | ||
struct { | ||
uint8_t num_channels | ||
uint8_t * channels | ||
} set | ||
struct { | ||
uint8_t channel_map [10] | ||
enum bt_conn_le_cs_chsel_type channel_selection_type | ||
enum bt_conn_le_cs_ch3c_shape ch3c_shape | ||
uint8_t ch3c_jump | ||
} not_set | ||
} | ||
} | override_config_0 | |
override config bit 0. | ||
struct { | ||
uint8_t main_mode_steps | ||
} | override_config_2 | |
Override config bit 2. | ||
struct { | ||
enum bt_le_cs_test_override_3_pm_tone_ext t_pm_tone_ext | ||
} | override_config_3 | |
Override config bit 3. | ||
struct { | ||
enum bt_le_cs_test_override_4_tone_antenna_permutation tone_antenna_permutation | ||
} | override_config_4 | |
Override config bit 4. | ||
struct { | ||
uint32_t cs_sync_aa_initiator | ||
Access Address used in CS_SYNC packets sent by the initiator. More... | ||
uint32_t cs_sync_aa_reflector | ||
Access Address used in CS_SYNC packets sent by the reflector. More... | ||
} | override_config_5 | |
Override config bit 5. | ||
struct { | ||
uint8_t ss_marker1_position | ||
Bit number where the first marker in the channel sounding sequence starts. More... | ||
uint8_t ss_marker2_position | ||
Bit number where the second marker in the channel sounding sequence starts. More... | ||
} | override_config_6 | |
Override config bit 6. | ||
struct { | ||
enum bt_le_cs_test_override_7_ss_marker_value ss_marker_value | ||
Value of the Sounding Sequence marker. More... | ||
} | override_config_7 | |
Override config bit 7. | ||
struct { | ||
enum bt_le_cs_test_override_8_cs_sync_payload_pattern cs_sync_payload_pattern | ||
CS_SYNC payload pattern selection. More... | ||
uint8_t cs_sync_user_payload [16] | ||
User payload for CS_SYNC packets. More... | ||
} | override_config_8 | |
Override config bit 8. | ||
CS Test parameters.
uint8_t bt_le_cs_test_param::ch3c_jump |
enum bt_conn_le_cs_ch3c_shape bt_le_cs_test_param::ch3c_shape |
uint8_t bt_le_cs_test_param::channel_map[10] |
uint8_t bt_le_cs_test_param::channel_map_repetition |
Number of times the channels indicated by the channel map or channel field are cycled through for non-mode-0 steps within a CS procedure.
enum bt_conn_le_cs_chsel_type bt_le_cs_test_param::channel_selection_type |
uint8_t* bt_le_cs_test_param::channels |
uint32_t bt_le_cs_test_param::cs_sync_aa_initiator |
Access Address used in CS_SYNC packets sent by the initiator.
uint32_t bt_le_cs_test_param::cs_sync_aa_reflector |
Access Address used in CS_SYNC packets sent by the reflector.
enum bt_le_cs_test_cs_sync_antenna_selection bt_le_cs_test_param::cs_sync_antenna_selection |
Antenna identifier to be used for CS_SYNC packets.
enum bt_le_cs_test_override_8_cs_sync_payload_pattern bt_le_cs_test_param::cs_sync_payload_pattern |
CS_SYNC payload pattern selection.
enum bt_conn_le_cs_sync_phy bt_le_cs_test_param::cs_sync_phy |
CS_SYNC PHY.
uint8_t bt_le_cs_test_param::cs_sync_user_payload[16] |
User payload for CS_SYNC packets.
This parameter is only used when using BT_LE_CS_TEST_OVERRIDE_8_PAYLOAD_PATTERN_USER
The least significant bit corresponds to the most significant bit of the CS payload. When the sequence is less than 16 octets, the least significant octets shall be padded with zeros.
uint16_t bt_le_cs_test_param::drbg_nonce |
Determines octets 14 and 15 of the initial value of the DRBG nonce.
enum bt_le_cs_initiator_snr_control bt_le_cs_test_param::initiator_snr_control |
Initiator SNR control options.
enum bt_conn_le_cs_main_mode bt_le_cs_test_param::main_mode |
CS mode to be used during the CS procedure.
uint8_t bt_le_cs_test_param::main_mode_repetition |
Number of main mode steps taken from the end of the last CS subevent to be repeated at the beginning of the current CS subevent directly after the last mode-0 step of that event.
uint8_t bt_le_cs_test_param::main_mode_steps |
uint8_t bt_le_cs_test_param::max_num_subevents |
Maximum allowed number of subevents in the procedure.
A value of 0 means that this parameter is ignored.
uint8_t bt_le_cs_test_param::mode_0_steps |
Number of CS mode-0 steps at the beginning of the test CS subevent.
struct { ... } bt_le_cs_test_param::not_set |
uint8_t bt_le_cs_test_param::num_channels |
uint16_t bt_le_cs_test_param::override_config |
Override configuration.
This parameter is used to override CS parameters from the DRBG. Each bit configures a different set of parameters.
All overrides are optional, except for those configured by bit 0.
These are:
struct { ... } bt_le_cs_test_param::override_config_0 |
override config bit 0.
struct { ... } bt_le_cs_test_param::override_config_2 |
Override config bit 2.
These parameters are ignored if the bit is not set.
struct { ... } bt_le_cs_test_param::override_config_3 |
Override config bit 3.
These parameters are ignored if the bit is not set.
struct { ... } bt_le_cs_test_param::override_config_4 |
Override config bit 4.
These parameters are ignored if the bit is not set.
struct { ... } bt_le_cs_test_param::override_config_5 |
Override config bit 5.
These parameters are ignored if the bit is not set.
struct { ... } bt_le_cs_test_param::override_config_6 |
Override config bit 6.
These parameters are ignored if the bit is not set.
struct { ... } bt_le_cs_test_param::override_config_7 |
Override config bit 7.
These parameters are ignored if the bit is not set.
struct { ... } bt_le_cs_test_param::override_config_8 |
Override config bit 8.
These parameters are ignored if the bit is not set.
enum bt_le_cs_reflector_snr_control bt_le_cs_test_param::reflector_snr_control |
Reflector SNR control options.
enum bt_conn_le_cs_role bt_le_cs_test_param::role |
CS Test role.
enum bt_conn_le_cs_rtt_type bt_le_cs_test_param::rtt_type |
RTT variant.
struct { ... } bt_le_cs_test_param::set |
uint8_t bt_le_cs_test_param::ss_marker1_position |
Bit number where the first marker in the channel sounding sequence starts.
Must be between 0 and 28 when using BT_CONN_LE_CS_RTT_TYPE_32_BIT_SOUNDING.
uint8_t bt_le_cs_test_param::ss_marker2_position |
Bit number where the second marker in the channel sounding sequence starts.
Must be between 67 and 92 when using BT_CONN_LE_CS_RTT_TYPE_96_BIT_SOUNDING.
A value of BT_HCI_OP_LE_CS_TEST_SS_MARKER_2_POSITION_NOT_PRESENT indicates that this sounding sequence or marker is not present.
enum bt_le_cs_test_override_7_ss_marker_value bt_le_cs_test_param::ss_marker_value |
Value of the Sounding Sequence marker.
enum bt_conn_le_cs_sub_mode bt_le_cs_test_param::sub_mode |
CS sub-mode to be used during the CS procedure.
uint16_t bt_le_cs_test_param::subevent_interval |
Gap between the start of two consecutive CS subevents (N * 0.625 ms)
A value of 0 means that there is only one CS subevent.
uint32_t bt_le_cs_test_param::subevent_len |
CS subevent length in microseconds.
Range: 1250us to 4s
uint8_t bt_le_cs_test_param::t_fcs_time |
Time in microseconds for frequency changes.
Valid options are:
uint8_t bt_le_cs_test_param::t_ip1_time |
Interlude time in microseconds between the RTT packets.
Valid options are:
uint8_t bt_le_cs_test_param::t_ip2_time |
Interlude time in microseconds between the CS tones.
Valid options are:
uint8_t bt_le_cs_test_param::t_pm_time |
Time in microseconds for the phase measurement period of the CS tones.
Valid options are:
enum bt_le_cs_test_override_3_pm_tone_ext bt_le_cs_test_param::t_pm_tone_ext |
uint8_t bt_le_cs_test_param::t_sw_time |
Time in microseconds for the antenna switch period of the CS tones.
Valid options are:
enum bt_conn_le_cs_tone_antenna_config_selection bt_le_cs_test_param::tone_antenna_config_selection |
Antenna Configuration Index used during antenna switching during the tone phases of CS steps.
enum bt_le_cs_test_override_4_tone_antenna_permutation bt_le_cs_test_param::tone_antenna_permutation |
uint8_t bt_le_cs_test_param::transmit_power_level |
Desired TX power level for the CS procedure.
Value range is BT_HCI_OP_LE_CS_MIN_MAX_TX_POWER to BT_HCI_OP_LE_CS_MAX_MAX_TX_POWER.
Special values: