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§
- A2dp
Endpoint - A2DP stream endpoint
- A2dp
Sink - A2DP Sink: receives audio data from a remote source
- HidDescriptor
- HID Report Descriptor item (simplified)
- HidDevice
- A Bluetooth HID device
- HidReport
- A HID report
- Parsed
HidReport - Parsed HID report with extracted field values
- SbcConfig
- SBC codec configuration
- SdpDatabase
- SDP service database
- SdpRecord
- An SDP service record containing service attributes
- Serial
Port Profile - Serial Port Profile: wraps an RFCOMM channel for serial communication
Enums§
- A2dp
Codec - A2DP codec types
- A2dp
State - A2DP stream state
- HidReport
Type - HID report types
- HidState
- HID device state
- SbcAllocation
Method - SBC allocation method
- SbcChannel
Mode - SBC channel modes
- SbcSample
Frequency - 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