src.bluetooth_sig.registry.uuids.mesh_profiles

Mesh profiles registry for Bluetooth SIG mesh profile definitions.

Attributes

Name

Description

mesh_profiles_registry

Classes

Name

Description

MeshProfilesRegistry

Registry for Bluetooth SIG mesh profile definitions.

Module Contents

class src.bluetooth_sig.registry.uuids.mesh_profiles.MeshProfilesRegistry

Bases: bluetooth_sig.registry.base.BaseUUIDRegistry[bluetooth_sig.types.registry.mesh_profile_uuids.MeshProfileInfo]

Registry for Bluetooth SIG mesh profile definitions.

get_all_mesh_profiles() list[bluetooth_sig.types.registry.mesh_profile_uuids.MeshProfileInfo]

Get all mesh profiles in the registry.

Returns:

List of all MeshProfileInfo objects

get_mesh_profile_info(uuid: str | bluetooth_sig.types.uuid.BluetoothUUID) bluetooth_sig.types.registry.mesh_profile_uuids.MeshProfileInfo | None

Get mesh profile information by UUID.

Parameters:

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

Returns:

MeshProfileInfo if found, None otherwise

get_mesh_profile_info_by_name(name: str) bluetooth_sig.types.registry.mesh_profile_uuids.MeshProfileInfo | None

Get mesh profile information by name (case insensitive).

Parameters:

name – The mesh profile name to look up

Returns:

MeshProfileInfo if found, None otherwise

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

Check if a UUID corresponds to a known mesh profile.

Parameters:

uuid – The UUID to check

Returns:

True if the UUID is a known mesh profile, False otherwise

src.bluetooth_sig.registry.uuids.mesh_profiles.mesh_profiles_registry = None