src.bluetooth_sig.registry.service_discovery.attribute_ids¶
Service Discovery Attribute ID Registry for SDP attribute identifiers.
Attributes¶
Name | Description |
|---|---|
Classes¶
Name | Description |
|---|---|
Registry for SDP attribute identifiers with lazy loading. |
Module Contents¶
- class src.bluetooth_sig.registry.service_discovery.attribute_ids.ServiceDiscoveryAttributeRegistry¶
Bases:
bluetooth_sig.registry.base.BaseGenericRegistry[ServiceDiscoveryAttributeRegistry]Registry for SDP attribute identifiers with lazy loading.
Loads attribute IDs from
service_discovery/attribute_ids/*.yaml,attribute_id_offsets_for_strings.yaml, andprotocol_parameters.yaml.Thread-safe: Multiple threads can safely access the registry concurrently.
- get_attribute_ids(category: str) list[bluetooth_sig.types.registry.profile_types.AttributeIdEntry]¶
Get attribute ID entries for a named category.
- Parameters:
category – The file stem / category name, e.g.
"universal_attributes","a2dp","sdp","attribute_id_offsets_for_strings".- Returns:
List of
AttributeIdEntryor an empty list if not found.
- get_protocol_parameters() list[bluetooth_sig.types.registry.profile_types.ProtocolParameterEntry]¶
Return all protocol parameter entries.
- src.bluetooth_sig.registry.service_discovery.attribute_ids.service_discovery_attribute_registry¶