Bluetooth Host Stack Library
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
wiced_ble_cs_config_t Struct Reference

Description

Structure to set the CS config.

Data Fields

uint16_t acl_conn_handle
 ACL connection handle.
 
uint8_t config_id
 CS Config Id identifying CS procedure to be created or updated.
 
uint8_t create_context
 If set to 0 - CS configuration set to local controller only If set to 1 - CS configuration set in both local and remote.
 
uint8_t main_mode_type
 If set to 0x1: Mode-1, 0x2: Mode-2, 0x3:Mode-3.
 
uint8_t sub_mode_type
 If set to 0x1: Mode-1, 0x2: Mode-2, 0x3:Mode-3.
 
uint8_t min_main_mode_steps
 Valid values (0x2 to 0xFF) : Minimum number of CS main mode steps to be executed before a submode step is executed.
 
uint8_t max_main_mode_steps
 Valid values (0x2 to 0xFF) : Maximum number of CS main mode steps to be executed before a submode step is executed.
 
uint8_t main_mode_repetition
 Valid values (0x0 to 0x3) : The 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
 Valid values (0x1 to 0x3) : Number of CS mode-0 steps to be included at the beginning of each CS subevent.
 
uint8_t role
 Set 0 - Initiator, 1 - Reflector.
 
uint8_t rtt_type
 0x00 RTT AA-only, 0x01 RTT with 32-bit sounding sequence, 0x02 RTT with 96-bit sounding sequence, 0x03 RTT with 32-bit random sequence, 0x04 RTT with 64-bit random sequence, 0x05 RTT with 96-bit random sequence, 0x06 RTT with 128-bit random sequence, All other values Reserved for future use
 
uint8_t cs_sync_phy
 0x01 LE 1M PHY, 0x02 LE 2M PHY, 0x03 LE 2M 2BT PHY
 
wiced_ble_cs_channel_map_t channel_map
 CS Channel map.
 
uint8_t channel_map_repetition
 The number of times the map represented by the channel_map field is to be cycled through for non-mode-0 steps within a CS procedure Valid value 0x1-0xFF.
 
uint8_t channel_selection_type
 Value 0 : Use Channel Selection Algorithm #3b for non-mode-0 CS steps Value 1: Use Channel Selection Algorithm #3c for non-mode-0 CS steps.
 
uint8_t ch3c_shape
 Value 0: Use Hat shape for user-specified channel sequence Value 1: Use X shape for user-specified channel sequence.
 
uint8_t ch3c_jump
 Values (0x2 - 0x8) Number of channels skipped in each rising and falling sequence.
 
uint8_t reserved
 Reserved, shall be set to 0.