Data structure of the result event.
Public Attribute Documentation#
connection#
uint8_t sl_bt_evt_cs_result_s::connection
Connection handle. Returns a SL_BT_INVALID_CONNECTION_HANDLE (0xFF) when triggered as a result of sl_bt_cs_test_start command
11971
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
config_id#
uint8_t sl_bt_evt_cs_result_s::config_id
CS configuration identifier
Range: 0 to 3
11975
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
start_acl_conn_event#
uint16_t sl_bt_evt_cs_result_s::start_acl_conn_event
Starting an ACL connection event count for the results reported in the event. This is reported only in the first subevent in the procedure. For subsequent subevents, this value is set to 0.
11977
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
procedure_counter#
uint16_t sl_bt_evt_cs_result_s::procedure_counter
Indicates the associated CS procedure count for the results reported in this event
11983
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
frequency_compensation#
int16_t sl_bt_evt_cs_result_s::frequency_compensation
Frequency compensation value. Units: 0.01 ppm (15-bit signed integer).
Range: -10000 to 10000
Value: 0xC000. Frequency compensation value is not available or the role is not initiator. This is reported only in the first subevent in the procedure. For subsequent subevents, this value is set to 0.
11986
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
procedure_done_status#
uint8_t sl_bt_evt_cs_result_s::procedure_done_status
Enum sl_bt_cs_done_status_t. Current status of the CS procedure Values:
sl_bt_cs_done_status_complete (0x0): All results complete for the CS procedure or subevent
sl_bt_cs_done_status_partial_results_continue (0x1): Partial results with more to follow
sl_bt_cs_done_status_aborted (0xf): Current procedure and all subsequent subevents in the procedure aborted or current subevent aborted.
11997
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
subevent_done_status#
uint8_t sl_bt_evt_cs_result_s::subevent_done_status
Enum sl_bt_cs_done_status_t. Current status of the CS subevent Values:
sl_bt_cs_done_status_complete (0x0): All results complete for the CS procedure or subevent
sl_bt_cs_done_status_partial_results_continue (0x1): Partial results with more to follow
sl_bt_cs_done_status_aborted (0xf): Current procedure and all subsequent subevents in the procedure aborted or current subevent aborted.
12011
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
abort_reason#
uint8_t sl_bt_evt_cs_result_s::abort_reason
Enum sl_bt_cs_abort_reason_t. Indicates the abort reason when the procedure_done_status or subevent_done_status is set to 0xF, otherwise the default value is set to zero. The first 4 bits are related to the procedure abort reasons and the last 4 bits are related to the subevent done. Values:
sl_bt_cs_abort_reason_no_abort (0x0): Not aborted
sl_bt_cs_abort_reason_host_request (0x1): Local or remote host request
sl_bt_cs_abort_reason_insufficient_channels (0x2): Filtered channel has less than 15 channels
sl_bt_cs_abort_reason_no_map_update (0x3): Channel map update instant has passed
sl_bt_cs_abort_reason_busy (0xb): Controller busy with other CS Procedure
sl_bt_cs_abort_reason_sync_error (0xc): Mode-0 packet exchanges failure
sl_bt_cs_abort_reason_scheduling_conflict (0xd): Link Layer failed to schedule the CS procedure
sl_bt_cs_abort_reason_radio_failure (0xe): Radio error
sl_bt_cs_abort_reason_unspecified (0xf): Unspecified reasons for abortion
12025
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
reference_power_level#
int8_t sl_bt_evt_cs_result_s::reference_power_level
Reference power level used by the transmission. Units: dBm.
Range: -127 to +20
Value: 0x07F. The reference power level is not applicable
12059
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
num_antenna_paths#
uint8_t sl_bt_evt_cs_result_s::num_antenna_paths
Number of antenna paths supported by the local controller for the CS tone exchanges. The number of antenna paths used during the phase measurement stage of the CS step.
Range: 1 to 4
Value: 0. Phase measurement does not occur during the CS step, therefore ignored
12065
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
num_steps#
uint8_t sl_bt_evt_cs_result_s::num_steps
Number of steps in the CS subevent for which results are reported.
Range: 1 to 160
12075
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h
data#
uint8array sl_bt_evt_cs_result_s::data
The result data is structured as follows:
step_status: 1 octet for each num_steps. 0x00 for step scheduled and reported. 0xFE for step aborted.
step_mode: 1 octet for each num_steps. Mode type. Range 0 to 3.
step_channel: 1 octet for each num_steps. Channel index. Range 1 to 78.
step_data_length: 1 octet for each num_steps. Length of mode and role specific information being reported. Range 0x00 to 0xFF.
step_data: step_data_length octet for each corresponding steps in num_steps.
12078
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/sw/bgapi/inc/sl_bt_api.h