Table of Contents

Interface IBluetoothNameProvider

Namespace
Bluetooth.Abstractions.Scanning
Assembly
Bluetooth.Abstractions.Scanning.dll

Interface for providing names for Bluetooth scanning objects such as remote characteristics, descriptors, and services.

public interface IBluetoothNameProvider

Methods

GetKnownCharacteristicName(Guid)

Gets the known name for a Bluetooth characteristic based on its unique identifier (UUID). Returns null if the UUID maps to multiple services with different names (ambiguous). Prefer GetKnownCharacteristicName(Guid, Guid) when the service context is available.

string? GetKnownCharacteristicName(Guid characteristic)

Parameters

characteristic Guid

Returns

string

GetKnownCharacteristicName(Guid, Guid)

Gets the known name for a Bluetooth characteristic given its owning service UUID and characteristic UUID. Use this overload when the service context is known to avoid ambiguity when the same characteristic UUID appears in multiple services.

string? GetKnownCharacteristicName(Guid serviceId, Guid characteristicId)

Parameters

serviceId Guid
characteristicId Guid

Returns

string

GetKnownDescriptorName(Guid)

Gets the known name for a Bluetooth descriptor based on its unique identifier (UUID).

string? GetKnownDescriptorName(Guid descriptor)

Parameters

descriptor Guid

Returns

string

GetKnownServiceName(Guid)

Gets the known name for a Bluetooth service based on its unique identifier (UUID).

string? GetKnownServiceName(Guid service)

Parameters

service Guid

Returns

string