Data structure of the config_complete event.

Public Attribute Documentation#

connection#

uint8_t sl_bt_evt_cs_config_complete_s::connection

Connection handle


Definition at line 11685 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

config_id#

uint8_t sl_bt_evt_cs_config_complete_s::config_id

CS configuration identifier.

  • Range: 0 to 3


Definition at line 11686 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

status#

uint16_t sl_bt_evt_cs_config_complete_s::status

SL_STATUS_OK if successful. Error code otherwise.


Definition at line 11689 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

config_state#

uint8_t sl_bt_evt_cs_config_complete_s::config_state

Enum sl_bt_cs_config_state_t. CS configuration state Values:

  • sl_bt_cs_config_state_removed (0x0): The CS device configuration is removed

  • sl_bt_cs_config_state_created (0x1): The CS device configuration is created


Definition at line 11692 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

main_mode_type#

uint8_t sl_bt_evt_cs_config_complete_s::main_mode_type

Enum sl_bt_cs_mode_t. Main mode type. Values:

  • sl_bt_cs_mode_rtt (0x1): Round Trip Time (RTT) measurement

  • sl_bt_cs_mode_pbr (0x2): Phase-Based Ranging (PBR) measurement

  • sl_bt_cs_submode_disabled (0xff): Submode disabled for the procedure.


Definition at line 11704 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

sub_mode_type#

uint8_t sl_bt_evt_cs_config_complete_s::sub_mode_type

Enum sl_bt_cs_mode_t. Sub mode type. Values:

  • sl_bt_cs_mode_rtt (0x1): Round Trip Time (RTT) measurement

  • sl_bt_cs_mode_pbr (0x2): Phase-Based Ranging (PBR) measurement

  • sl_bt_cs_submode_disabled (0xff): Submode disabled for the procedure.


Definition at line 11719 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

min_main_mode_steps#

uint8_t sl_bt_evt_cs_config_complete_s::min_main_mode_steps

Minimum number of CS main mode steps to be executed prior to a sub mode step.

  • Range: 1 to 160


Definition at line 11734 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

max_main_mode_steps#

uint8_t sl_bt_evt_cs_config_complete_s::max_main_mode_steps

Maximum number of CS main mode steps to be executed prior to a sub mode step.

  • Range: 1 to 160


Definition at line 11739 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

main_mode_repetition#

uint8_t sl_bt_evt_cs_config_complete_s::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.

  • Range: 0 to 3


Definition at line 11744 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

mode_calibration_steps#

uint8_t sl_bt_evt_cs_config_complete_s::mode_calibration_steps

Number of calibration mode steps to be included at the beginning of the test CS subevent.

  • Range: 1 to 3


Definition at line 11753 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

role#

uint8_t sl_bt_evt_cs_config_complete_s::role

Enum sl_bt_cs_role_t. Device role during the CS procedure Values:

  • sl_bt_cs_role_initiator (0x0): The device will initiate the procedure

  • sl_bt_cs_role_reflector (0x1): The device will reciprocate transmission


Definition at line 11758 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

rtt_type#

uint8_t sl_bt_evt_cs_config_complete_s::rtt_type

Enum sl_bt_cs_rtt_type_t. RTT payload type used in the CS procedure Values:

  • sl_bt_cs_rtt_type_aa_only (0x0): RTT Access Address (AA) only

  • sl_bt_cs_rtt_type_fractional_96_bit_sounding (0x2): RTT Fractional with 96-bit Sounding Sequence

  • sl_bt_cs_rtt_type_fractional_32_bit_random (0x3): RTT Fractional with 32-bit Random Sequence

  • sl_bt_cs_rtt_type_fractional_64_bit_random (0x4): RTT Fractional with 64-bit Random Sequence

  • sl_bt_cs_rtt_type_fractional_96_bit_random (0x5): RTT Fractional with 96-bit Random Sequence

  • sl_bt_cs_rtt_type_fractional_128_bit_random (0x6): RTT Fractional with 128-bit Random Sequence


Definition at line 11770 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

cs_sync_phy#

uint8_t sl_bt_evt_cs_config_complete_s::cs_sync_phy

Enum sl_bt_gap_phy_t. Used PHY for CS_SYNC exchanges during a procedure Values:

  • sl_bt_gap_phy_1m (0x1): 1M PHY


Definition at line 11802 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

channel_map#

sl_bt_cs_channel_map_t sl_bt_evt_cs_config_complete_s::channel_map

A fixed length byte array of 10 bytes consisting of 79 1-bit fields.

The nth field (in the range 0 to 78) contains the value for the CS channel index n.

  • Bit value 0: Channel n is disabled

  • Bit value 1: Channel n is enabled

The rest of most significant bits are reserved for future use and must be set to 0. Channels n = 0, 1, 23, 24, 25, 77 and 78 shall be ignored and not used for CS. At least 15 channels shall be marked as used.


Definition at line 11809 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

channel_map_repetition#

uint8_t sl_bt_evt_cs_config_complete_s::channel_map_repetition

Number of times the channel_map field will be cycled through for non-Mode 0 steps within a CS procedure.

  • Range: 1 to 255


Definition at line 11833 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

channel_selection_type#

uint8_t sl_bt_evt_cs_config_complete_s::channel_selection_type

Enum sl_bt_cs_channel_selection_algorithm_t. CS algorithm to be used during the procedure for non-mode 0 steps Value:

  • sl_bt_cs_channel_selection_algorithm_3b (0x0): Use Channel Selection Algorithm #3b for non-mode 0 CS steps

  • sl_bt_cs_channel_selection_algorithm_3c (0x1): Use Channel Selection Algorithm #3c for non-mode 0 CS steps

  • sl_bt_cs_channel_selection_algorithm_user_shape_interleaved (0x2): Use Interleaved shape for user specified channel sequence


Definition at line 11840 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

ch3c_shape#

uint8_t sl_bt_evt_cs_config_complete_s::ch3c_shape

Enum sl_bt_cs_ch3c_shape_t. Shape for user-specified channel sequence Values:

  • sl_bt_cs_ch3c_shape_hat (0x0): Use Hat shape for user specified channel sequence

  • sl_bt_cs_chc3_shape_interleaved (0x1): Use Interleaved shape for user specified channel sequence


Definition at line 11860 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

ch3c_jump#

uint8_t sl_bt_evt_cs_config_complete_s::ch3c_jump

Number of channels skipped in each rising and falling sequence

  • Range: 3 to 8


Definition at line 11874 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

companion_signal_enable#

uint8_t sl_bt_evt_cs_config_complete_s::companion_signal_enable

Enum sl_bt_cs_companion_signal_status_t. Enabled or disabled companion signal status Values:

  • sl_bt_cs_companion_signal_status_disable (0x0): The companion signal is disabled

  • sl_bt_cs_companion_signal_status_enable (0x1): The companion signal is enabled


Definition at line 11878 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

ip1_time_us#

uint8_t sl_bt_evt_cs_config_complete_s::ip1_time_us

Interlude time in microseconds between the RTT packets. Values: 0x0A, 0x14, 0x1E, 0x28, 0x32, 0x3C, 0x50, or 0x91. All other values are reserved for future use.


Definition at line 11891 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

ip2_time_us#

uint8_t sl_bt_evt_cs_config_complete_s::ip2_time_us

Interlude time in microseconds between the CS tones. Values: 0x0A, 0x14, 0x1E, 0x28, 0x32, 0x3C, 0x50, or 0x91. All other values are reserved for future use.


Definition at line 11899 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

fcs_time_us#

uint8_t sl_bt_evt_cs_config_complete_s::fcs_time_us

Time in microseconds for frequency changes. Values: 0x0F, 0x14, 0x1E, 0x28, 0x32, 0x3C, 0x50, 0x64, 0x78, or 0x96. All other values are reserved for future use.


Definition at line 11906 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h

pm_time_us#

uint8_t sl_bt_evt_cs_config_complete_s::pm_time_us

Time in microseconds for the phase measurement period of the CS tones. Values: 0x0A, 0x14, or 0x28. All other values are reserved for future use.


Definition at line 11913 of file /mnt/raid/workspaces/ws.iS2YF8Lrv/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h