src.bluetooth_sig.gatt.characteristics.search_control_point

Search Control Point characteristic (0x2BA7).

Classes

Name

Description

SearchControlPointCharacteristic

Search Control Point characteristic (0x2BA7).

SearchControlPointData

Parsed data from Search Control Point characteristic.

SearchControlPointType

Search Control Point search types per MCS spec.

Module Contents

class src.bluetooth_sig.gatt.characteristics.search_control_point.SearchControlPointCharacteristic

Bases: src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[SearchControlPointData]

Search Control Point characteristic (0x2BA7).

org.bluetooth.characteristic.search_control_point

Used for searching media in the Media Control Service.

allow_variable_length = True
min_length = 2
class src.bluetooth_sig.gatt.characteristics.search_control_point.SearchControlPointData

Bases: msgspec.Struct

Parsed data from Search Control Point characteristic.

Format: Length(uint8) + Type(uint8) + optional Parameter (UTF-8 string).

length: int
parameter: str | None = None
search_type: SearchControlPointType
class src.bluetooth_sig.gatt.characteristics.search_control_point.SearchControlPointType

Bases: enum.IntEnum

Search Control Point search types per MCS spec.

ALBUM_NAME = 3
ARTIST_NAME = 2
EARLIEST_YEAR = 5
GENRE = 7
GROUP_NAME = 4
LATEST_YEAR = 6
ONLY_GROUPS = 9
ONLY_TRACKS = 8
TRACK_NAME = 1