⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module profiles

Module profiles 

Source
Expand description

Bluetooth Profiles

Implements Bluetooth profile support including SDP (Service Discovery Protocol) database, A2DP (Advanced Audio Distribution Profile) with SBC codec configuration, HID (Human Interface Device) report handling, and SPP (Serial Port Profile) over RFCOMM.

Reference: Bluetooth Core Specification v5.4, Bluetooth Profile Specifications

Structs§

A2dpEndpoint
A2DP stream endpoint
A2dpSink
A2DP Sink: receives audio data from a remote source
HidDescriptor
HID Report Descriptor item (simplified)
HidDevice
A Bluetooth HID device
HidReport
A HID report
ParsedHidReport
Parsed HID report with extracted field values
SbcConfig
SBC codec configuration
SdpDatabase
SDP service database
SdpRecord
An SDP service record containing service attributes
SerialPortProfile
Serial Port Profile: wraps an RFCOMM channel for serial communication

Enums§

A2dpCodec
A2DP codec types
A2dpState
A2DP stream state
HidReportType
HID report types
HidState
HID device state
SbcAllocationMethod
SBC allocation method
SbcChannelMode
SBC channel modes
SbcSampleFrequency
SBC sample frequencies
SdpAttribute
SDP Data Element types

Constants§

ATTR_BROWSE_GROUP_LIST
BrowseGroupList attribute ID
ATTR_PROFILE_DESCRIPTOR_LIST
BluetoothProfileDescriptorList attribute ID
ATTR_PROTOCOL_DESCRIPTOR_LIST
ProtocolDescriptorList attribute ID
ATTR_SERVICE_CLASS_ID_LIST
ServiceClassIDList attribute ID
ATTR_SERVICE_DESCRIPTION
ServiceDescription attribute ID
ATTR_SERVICE_NAME
ServiceName attribute ID
ATTR_SERVICE_RECORD_HANDLE
ServiceRecordHandle attribute ID
HID_MAX_REPORT_SIZE
Maximum HID report data size
UUID_A2DP_SINK
A2DP Sink UUID
UUID_A2DP_SOURCE
A2DP Source UUID
UUID_AVRCP_CONTROLLER
AVRCP Controller UUID
UUID_AVRCP_TARGET
AVRCP Target UUID
UUID_HFP_AG
HFP AG UUID
UUID_HFP_HF
HFP HF UUID
UUID_HID
HID UUID
UUID_L2CAP
L2CAP protocol UUID
UUID_OBEX
OBEX UUID
UUID_OBEX_PUSH
OBEX Object Push UUID
UUID_PNP_INFO
PnP Information UUID
UUID_PUBLIC_BROWSE_GROUP
Public Browse Group UUID
UUID_RFCOMM
RFCOMM protocol UUID
UUID_SDP
SDP UUID
UUID_SERIAL_PORT
Serial Port Profile UUID