src.bluetooth_sig.registry.uuids.browse_groups

Browse groups registry for Bluetooth SIG browse group definitions.

Attributes

Name

Description

browse_groups_registry

Classes

Name

Description

BrowseGroupsRegistry

Registry for Bluetooth SIG browse group identifiers.

Module Contents

class src.bluetooth_sig.registry.uuids.browse_groups.BrowseGroupsRegistry

Bases: bluetooth_sig.registry.base.BaseUUIDRegistry[bluetooth_sig.types.registry.browse_group_identifiers.BrowseGroupInfo]

Registry for Bluetooth SIG browse group identifiers.

get_all_browse_groups() list[bluetooth_sig.types.registry.browse_group_identifiers.BrowseGroupInfo]

Get all browse groups in the registry.

Returns:

List of all BrowseGroupInfo objects

get_browse_group_info(uuid: str | bluetooth_sig.types.uuid.BluetoothUUID) bluetooth_sig.types.registry.browse_group_identifiers.BrowseGroupInfo | None

Get browse group information by UUID.

Parameters:

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

Returns:

BrowseGroupInfo if found, None otherwise

get_browse_group_info_by_id(browse_group_id: str) bluetooth_sig.types.registry.browse_group_identifiers.BrowseGroupInfo | None

Get browse group information by browse group ID.

Parameters:

browse_group_id – The browse group ID to look up

Returns:

BrowseGroupInfo if found, None otherwise

get_browse_group_info_by_name(name: str) bluetooth_sig.types.registry.browse_group_identifiers.BrowseGroupInfo | None

Get browse group information by name (case insensitive).

Parameters:

name – The browse group name to look up

Returns:

BrowseGroupInfo if found, None otherwise

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

Check if a UUID corresponds to a known browse group.

Parameters:

uuid – The UUID to check

Returns:

True if the UUID is a known browse group, False otherwise

src.bluetooth_sig.registry.uuids.browse_groups.browse_groups_registry = None