src.bluetooth_sig.registry.profiles.profile_lookup¶
Profile Lookup Registry for simple name/value profile parameters.
Attributes¶
Name | Description |
|---|---|
Classes¶
Name | Description |
|---|---|
Registry for simple profile parameter lookup tables. |
Module Contents¶
- class src.bluetooth_sig.registry.profiles.profile_lookup.ProfileLookupRegistry¶
Bases:
bluetooth_sig.registry.base.BaseGenericRegistry[ProfileLookupRegistry]Registry for simple profile parameter lookup tables.
Loads non-LTV, non-permitted-characteristics YAML files from
profiles_and_services/and normalises each entry into aProfileLookupEntrykeyed by the YAML top-level key.Thread-safe: Multiple threads can safely access the registry concurrently.
- get_entries(table_key: str) list[bluetooth_sig.types.registry.profile_types.ProfileLookupEntry]¶
Get all entries for a named lookup table.
- Parameters:
table_key – The YAML top-level key, e.g.
"audio_codec_id","bearer_technology","display_types".- Returns:
List of
ProfileLookupEntryor an empty list if not found.
- src.bluetooth_sig.registry.profiles.profile_lookup.profile_lookup_registry¶