CS ACP#
Channel Sounding (CS) Application Co-Processor (ACP) provides the ACP commands and events to the CS device roles.
Modules#
cs_acp_get_target_config_rsp_t
cs_acp_intermediate_result_evt_t
CS ACP commands#
Command enumerator defines the available ACP commands between the host application and target device.
CS ACP event enumerator#
Event enumerator defines the available ACP events coming from target device to the host application.
Variables#
Target config bitfield.
Maximum initiator instance count.
Maximum BLE connections.
CS ACP command enumerator.
Antenna configuration for wired offset.
Antenna configuration for wired offset.
Enable BGAPI trace feature.
Enable BGAPI trace feature.
Result data in type-value pairs.
Progress percentage.
Number of fragments left.
Content of the fragment.
Status code.
Error code.
Connection ID.
CS ACP event enumerator.
Result event data.
Result event data.
Intermediate result event data.
Intermediate result event data.
Extended result event data.
Extended result event data.
Status change event data.
Status change event data.
Macros#
The MSB of the fragments_left field indicates the start of a fragmented message.
The remaining bits of the fragments_left field indicate the number of fragments left.
Bitmask for the RAS mode bit in the target config.
CS ACP commands Documentation#
cs_acp_cmd_id_t#
cs_acp_cmd_id_t
Enumerator | |
---|---|
CS_ACP_CMD_CREATE_INITIATOR | Create initiator instance. |
CS_ACP_CMD_CREATE_REFLECTOR | Create reflector instance. |
CS_ACP_CMD_INITIATOR_ACTION | Initiator action (eg. delete instance) |
CS_ACP_CMD_REFLECTOR_ACTION | Reflector action (eg. delete instance) |
CS_ACP_CMD_ANTENNA_CONFIGURE | Configure antenna. |
CS_ACP_CMD_ENABLE_TRACE | Enable BGAPI trace feature. |
CS_ACP_CMD_GET_TARGET_CONFIG | Get ACP target configuration. |
ACP initiator actions Documentation#
cs_acp_initiator_action_t#
cs_acp_initiator_action_t
Enumerator | |
---|---|
CS_ACP_ACTION_DELETE_INITIATOR | Delete initiator instance. |
ACP reflector actions Documentation#
cs_acp_reflector_action_t#
cs_acp_reflector_action_t
Enumerator | |
---|---|
CS_ACP_ACTION_DELETE_REFLECTOR | Delete reflector instance. |
CS ACP event enumerator Documentation#
cs_acp_event_id_t#
cs_acp_event_id_t
Enumerator | |
---|---|
CS_ACP_EVT_RESULT_ID | Result event (includes distance, likeliness etc.) |
CS_ACP_EVT_STATUS_ID | Status change event (error, success etc.) |
CS_ACP_EVT_INTERMEDIATE_RESULT_ID | Intermediate result event (progress percentage) |
CS_ACP_EVT_EXTENDED_RESULT_ID | Extended result event (fragments) |
Variable Documentation#
target_config_bitfield#
uint8_t cs_acp_get_target_config_rsp_t::target_config_bitfield
Target config bitfield.
max_initiator_instance_count#
uint8_t cs_acp_get_target_config_rsp_t::max_initiator_instance_count
Maximum initiator instance count.
max_bluetooth_connections#
uint8_t cs_acp_get_target_config_rsp_t::max_bluetooth_connections
Maximum BLE connections.
antenna_config_wired#
uint8_t cs_acp_cmd_t::antenna_config_wired
Antenna configuration for wired offset.
antenna_config_wired#
uint8_t cs_acp_cmd_t::@1::antenna_config_wired
Antenna configuration for wired offset.
type_value_list#
uint8_t cs_acp_result_evt_t::type_value_list[CS_RESULT_MAX_BUFFER_SIZE]
Result data in type-value pairs.
intermediate_result#
cs_acp_intermediate_result_evt_t cs_acp_event_t::intermediate_result
Intermediate result event data.
intermediate_result#
cs_acp_intermediate_result_evt_t cs_acp_event_t::@2::intermediate_result
Intermediate result event data.