Link Layer#

Link Layer.

Commands and events in this class provide access to low-level Bluetooth link layer functionality that is not available via higher-level APIs of the Bluetooth host stack.

Modules#

sl_bt_evt_linklayer_event_info_report

Functions#

sl_status_t
sl_bt_linklayer_event_info_reporting_enable(uint8_t enable, uint32_t configuration, uint8_t procedure_type, size_t procedure_identifier_len, const uint8_t *procedure_identifier)

Macros#

#define
sl_bt_cmd_linklayer_event_info_reporting_enable_id 0x00600020
#define
sl_bt_rsp_linklayer_event_info_reporting_enable_id 0x00600020

Function Documentation#

sl_bt_linklayer_event_info_reporting_enable#

sl_status_t sl_bt_linklayer_event_info_reporting_enable (uint8_t enable, uint32_t configuration, uint8_t procedure_type, size_t procedure_identifier_len, const uint8_t * procedure_identifier)
Parameters
TypeDirectionArgument NameDescription
uint8_t[in]enable

Enable or disable event info reporting. Values:

  • 0: Disable event info reporting

  • 1: Enable event info reporting

uint32_t[in]configuration

Bitmask to specify the event info reporting configuration. See the link layer documentation of HCI_VS_Siliconlabs_Event_Info_Reporting_Enable for detailed description of each bit.

uint8_t[in]procedure_type

The type of the procedure that this configuration is for. See the link layer documentation of HCI_VS_Siliconlabs_Event_Info_Reporting_Enable for detailed description of available procedure types.

size_t[in]procedure_identifier_len

Length of data in procedure_identifier

const uint8_t *[in]procedure_identifier

The identifier of the procedure that this configuration is for. See the link layer documentation of HCI_VS_Siliconlabs_Event_Info_Reporting_Enable for detailed description of procedure identifiers.

Enable or disable link layer event info reporting. This command passes the parameters directly to the vendor-specific HCI command HCI_VS_Siliconlabs_Event_Info_Reporting_Enable. This command is only available if the bluetooth_feature_event_info_reporting component is included in the application. See the documentation of the HCI command for detailed description of each parameter and the behavior of the command.

Events that have been succesfully enabled will be reported with the sl_bt_evt_linklayer_event_info_report event.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.

Events