RemoteGattServerGetPrimaryServicesAsync Method

Returns primary services, optionally filtering to the supplied UUID.

Definition

Namespace: InTheHand.Bluetooth
Assembly: InTheHand.BluetoothLE (in InTheHand.BluetoothLE.dll) Version: 4.0.28+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public Task<List<GattService>> GetPrimaryServicesAsync(
	BluetoothUuid? service = null
)

Parameters

service  NullableBluetoothUuid  (Optional)
Optional service UUID.

Return Value

TaskListGattService
A list of matching primary services.

See Also