src.bluetooth_sig.registry.uuids.sdo_uuids

SDO UUIDs registry for Bluetooth SIG Special Development Organization UUIDs.

Classes

Name

Description

SdoUuidsRegistry

Registry for Bluetooth SIG Special Development Organization UUIDs.

Functions

Name

Description

get_sdo_uuids_registry(→ SdoUuidsRegistry)

Return the process-wide sdo_uuids_registry singleton instance.

Module Contents

class src.bluetooth_sig.registry.uuids.sdo_uuids.SdoUuidsRegistry

Bases: bluetooth_sig.registry.base.BaseUUIDRegistry[bluetooth_sig.types.registry.sdo_uuids.SdoUuidInfo]

Registry for Bluetooth SIG Special Development Organization UUIDs.

get_all_sdo_uuids() list[bluetooth_sig.types.registry.sdo_uuids.SdoUuidInfo]

Get all SDO UUIDs in the registry.

Returns:

List of all SdoInfo objects

get_sdo_info(uuid: str | bluetooth_sig.types.uuid.BluetoothUUID) bluetooth_sig.types.registry.sdo_uuids.SdoUuidInfo | None

Get SDO information by UUID.

Parameters:

uuid – The UUID to look up (string, int, or BluetoothUUID)

Returns:

SdoInfo if found, None otherwise

get_sdo_info_by_id(sdo_id: str) bluetooth_sig.types.registry.sdo_uuids.SdoUuidInfo | None

Get SDO information by SDO ID.

Parameters:

sdo_id – The SDO ID to look up

Returns:

SdoInfo if found, None otherwise

get_sdo_info_by_name(name: str) bluetooth_sig.types.registry.sdo_uuids.SdoUuidInfo | None

Get SDO information by name (case insensitive).

Parameters:

name – The SDO name to look up

Returns:

SdoInfo if found, None otherwise

is_sdo_uuid(uuid: str | bluetooth_sig.types.uuid.BluetoothUUID) bool

Check if a UUID corresponds to a known SDO.

Parameters:

uuid – The UUID to check

Returns:

True if the UUID is a known SDO, False otherwise

src.bluetooth_sig.registry.uuids.sdo_uuids.get_sdo_uuids_registry() SdoUuidsRegistry

Return the process-wide sdo_uuids_registry singleton instance.