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


Definition at line 12504 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h

config_id#

uint8_t sl_bt_evt_cs_result_s::config_id

ABR configuration identifier

  • Range: 0 to 3


Definition at line 12508 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/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.


Definition at line 12510 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h

procedure_counter#

uint16_t sl_bt_evt_cs_result_s::procedure_counter

Indicates the associated ABR procedure count for the results reported in this event


Definition at line 12516 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/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.


Definition at line 12519 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/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 ABR procedure Values:

  • sl_bt_cs_done_status_complete (0x0): All results complete for the ABR procedure or subevent

  • sl_bt_cs_done_status_partial_results_continue (0x1): Partial results with more to follow

  • sl_bt_cs_done_status_current_aborted (0xfe): Current ABR procedure or subevent aborted

  • sl_bt_cs_done_status_all_aborted (0xff): Current and all subsequent subevents in the procedure aborted


Definition at line 12529 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/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 ABR subevent Values:

  • sl_bt_cs_done_status_complete (0x0): All results complete for the ABR procedure or subevent

  • sl_bt_cs_done_status_partial_results_continue (0x1): Partial results with more to follow

  • sl_bt_cs_done_status_current_aborted (0xfe): Current ABR procedure or subevent aborted

  • sl_bt_cs_done_status_all_aborted (0xff): Current and all subsequent subevents in the procedure aborted


Definition at line 12545 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/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_unspecified (0xf): Unspecified reasons for abortion


Definition at line 12561 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/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


Definition at line 12584 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/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 ABR tone exchanges.

  • Range: 1 to 4. The number of antenna paths used during the phase measurement stage of the ABR step

  • Value: 0. Phase measurement does not occur during the ABR step, therefore ignored


Definition at line 12589 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h

num_steps#

uint8_t sl_bt_evt_cs_result_s::num_steps

Number of steps in the ABR subevent for which results are reported.

  • Range: 1 to 160


Definition at line 12599 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/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.


Definition at line 12602 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h