CTE Transmitter#
CTE Transmitter.
Commands and events in this class manage Constant Tone Extension (CTE) transmission.
CTE feature is only supported by specific devices. Commands from this class will return SL_STATUS_NOT_SUPPORTED on devices that do not support CTE.
Functions#
Macros#
Function Documentation#
sl_bt_cte_transmitter_set_dtm_parameters#
sl_status_t sl_bt_cte_transmitter_set_dtm_parameters (uint8_t cte_length, uint8_t cte_type, size_t switching_pattern_len, const uint8_t * switching_pattern)
[in] | cte_length | The length of the Constant Tone Extension in 8 us units
Default: 0 (no CTE) |
[in] | cte_type | CTE type
Default: 0 |
[in] | switching_pattern_len | Length of data in |
[in] | switching_pattern | Antenna switching pattern. Antennas will be switched in this order with the antenna switch pins during CTE. If the CTE is longer than the switching pattern, the pattern starts over. This can be an empty array if CTE is unused. |
Set the CTE-related parameters of the LE transmitter test.
Returns
SL_STATUS_OK if successful. Error code otherwise.
14251
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cte_transmitter_clear_dtm_parameters#
sl_status_t sl_bt_cte_transmitter_clear_dtm_parameters ()
Clear CTE-related parameters that were previously set for LE transmitter test. Default values will be restored for these parameters.
Returns
SL_STATUS_OK if successful. Error code otherwise.
14265
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cte_transmitter_enable_connection_cte#
sl_status_t sl_bt_cte_transmitter_enable_connection_cte (uint8_t connection, uint8_t cte_types, size_t switching_pattern_len, const uint8_t * switching_pattern)
[in] | connection | Connection handle |
[in] | cte_types | CTE types. Bitmask of the following:
|
[in] | switching_pattern_len | Length of data in |
[in] | switching_pattern | Antenna switching pattern. Antennas will be switched in this order with the antenna switch pins during CTE. If the CTE is longer than the switching pattern, the pattern starts over. |
Enable different types of CTE responses on a connection. CTE response will be sent once requested by the peer device using the CTE Request procedure.
Returns
SL_STATUS_OK if successful. Error code otherwise.
14285
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cte_transmitter_disable_connection_cte#
sl_status_t sl_bt_cte_transmitter_disable_connection_cte (uint8_t connection)
[in] | connection | Connection handle |
Disable CTE responses on a connection.
Returns
SL_STATUS_OK if successful. Error code otherwise.
14299
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cte_transmitter_enable_connectionless_cte#
sl_status_t sl_bt_cte_transmitter_enable_connectionless_cte (uint8_t handle, uint8_t cte_length, uint8_t cte_type, uint8_t cte_count, size_t switching_pattern_len, const uint8_t * switching_pattern)
[in] | handle | Periodic advertising handle |
[in] | cte_length | CTE length in 8 us units.
|
[in] | cte_type | CTE type
|
[in] | cte_count | The number of CTEs to be transmitted in each periodic advertising interval |
[in] | switching_pattern_len | Length of data in |
[in] | switching_pattern | Antenna switching pattern. Antennas will be switched in this order with the antenna switch pins during CTE. If the CTE is longer than the switching pattern, the pattern starts over. |
Start a connectionless CTE transmit. CTEs will be transmitted in periodic advertisement packets. As a result, a periodic advertising has to be started prior to this command.
Returns
SL_STATUS_OK if successful. Error code otherwise.
14325
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cte_transmitter_disable_connectionless_cte#
sl_status_t sl_bt_cte_transmitter_disable_connectionless_cte (uint8_t handle)
[in] | handle | Periodic advertising handle |
Stop the connectionless CTE transmit.
Returns
SL_STATUS_OK if successful. Error code otherwise.
14341
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cte_transmitter_enable_silabs_cte#
sl_status_t sl_bt_cte_transmitter_enable_silabs_cte (uint8_t handle, uint8_t cte_length, uint8_t cte_type, uint8_t cte_count, size_t switching_pattern_len, const uint8_t * switching_pattern)
[in] | handle | Advertising handle |
[in] | cte_length | CTE length in 8 us units.
|
[in] | cte_type | CTE type
|
[in] | cte_count | The number of CTEs to be transmitted in each extended advertising interval. Currently, only cte_count = 1 is supported. |
[in] | switching_pattern_len | Length of data in |
[in] | switching_pattern | Antenna switching pattern. Antennas will be switched in this order with the antenna switch pins during CTE. If the CTE is longer than the switching pattern, the pattern starts over. |
Enable Silicon Labs CTE transmit. CTEs will be transmitted in extended advertisement packets. As a result, extended advertising has to be started prior this command.
Returns
SL_STATUS_OK if successful. Error code otherwise.
14367
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cte_transmitter_disable_silabs_cte#
sl_status_t sl_bt_cte_transmitter_disable_silabs_cte (uint8_t handle)
[in] | handle | Advertising handle |
Disable Silicon Labs CTE transmit.
Returns
SL_STATUS_OK if successful. Error code otherwise.
14383
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
Macro Definition Documentation#
sl_bt_cmd_cte_transmitter_set_dtm_parameters_id#
#define sl_bt_cmd_cte_transmitter_set_dtm_parameters_idValue:
0x04440020
14206
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cmd_cte_transmitter_clear_dtm_parameters_id#
#define sl_bt_cmd_cte_transmitter_clear_dtm_parameters_idValue:
0x05440020
14207
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cmd_cte_transmitter_enable_connection_cte_id#
#define sl_bt_cmd_cte_transmitter_enable_connection_cte_idValue:
0x00440020
14208
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cmd_cte_transmitter_disable_connection_cte_id#
#define sl_bt_cmd_cte_transmitter_disable_connection_cte_idValue:
0x01440020
14209
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cmd_cte_transmitter_enable_connectionless_cte_id#
#define sl_bt_cmd_cte_transmitter_enable_connectionless_cte_idValue:
0x02440020
14210
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cmd_cte_transmitter_disable_connectionless_cte_id#
#define sl_bt_cmd_cte_transmitter_disable_connectionless_cte_idValue:
0x03440020
14211
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cmd_cte_transmitter_enable_silabs_cte_id#
#define sl_bt_cmd_cte_transmitter_enable_silabs_cte_idValue:
0x06440020
14212
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cmd_cte_transmitter_disable_silabs_cte_id#
#define sl_bt_cmd_cte_transmitter_disable_silabs_cte_idValue:
0x07440020
14213
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_cte_transmitter_set_dtm_parameters_id#
#define sl_bt_rsp_cte_transmitter_set_dtm_parameters_idValue:
0x04440020
14214
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_cte_transmitter_clear_dtm_parameters_id#
#define sl_bt_rsp_cte_transmitter_clear_dtm_parameters_idValue:
0x05440020
14215
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_cte_transmitter_enable_connection_cte_id#
#define sl_bt_rsp_cte_transmitter_enable_connection_cte_idValue:
0x00440020
14216
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_cte_transmitter_disable_connection_cte_id#
#define sl_bt_rsp_cte_transmitter_disable_connection_cte_idValue:
0x01440020
14217
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_cte_transmitter_enable_connectionless_cte_id#
#define sl_bt_rsp_cte_transmitter_enable_connectionless_cte_idValue:
0x02440020
14218
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_cte_transmitter_disable_connectionless_cte_id#
#define sl_bt_rsp_cte_transmitter_disable_connectionless_cte_idValue:
0x03440020
14219
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_cte_transmitter_enable_silabs_cte_id#
#define sl_bt_rsp_cte_transmitter_enable_silabs_cte_idValue:
0x06440020
14220
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_cte_transmitter_disable_silabs_cte_id#
#define sl_bt_rsp_cte_transmitter_disable_silabs_cte_idValue:
0x07440020
14221
of file /mnt/raid/workspaces/ws.iUTchugV0/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h