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#
Macros#
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)
| Type | Direction | Argument Name | Description |
|---|---|---|---|
| uint8_t | [in] | enable | Enable or disable event info reporting. Values:
|
| 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 |
| 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
sl_bt_evt_linklayer_event_info_report - Sent for each event info report received from the link layer.