메소드 | 설명 | |
---|---|---|
ConnectToDeviceAsync ( this adapter, IDevice device, |
Connects to the device.
|
|
DiscoverDeviceAsync ( this adapter, bool>.Func |
||
DiscoverDeviceAsync ( this adapter, System.Guid deviceId, |
||
StartScanningForDevicesAsync ( this adapter, |
Starts scanning for BLE devices.
|
|
StartScanningForDevicesAsync ( this adapter, bool>.Func |
Starts scanning for BLE devices that fulfill the deviceFilter. DeviceDiscovered will only be called, if deviceFilter returns
|
|
StartScanningForDevicesAsync ( this adapter, System.Guid serviceUuids, |
Starts scanning for BLE devices that advertise the services included in serviceUuids.
|
public static ConnectToDeviceAsync ( this adapter, IDevice device, |
||
adapter | this | Target adapter. |
device | IDevice | Device to connect to. |
cancellationToken | The token to monitor for cancellation requests. The default value is None. | |
리턴 | Task |
public static DiscoverDeviceAsync ( this adapter, bool>.Func |
||
adapter | this | |
deviceFilter | bool>.Func | |
cancellationToken | ||
리턴 | Task |
public static DiscoverDeviceAsync ( this adapter, System.Guid deviceId, |
||
adapter | this | |
deviceId | System.Guid | |
cancellationToken | ||
리턴 | Task |
public static StartScanningForDevicesAsync ( this adapter, |
||
adapter | this | Target adapter. |
cancellationToken | The token to monitor for cancellation requests. | |
리턴 | Task |
public static StartScanningForDevicesAsync ( this adapter, bool>.Func |
||
adapter | this | Target adapter. |
deviceFilter | bool>.Func | Function that filters the devices. |
cancellationToken | The token to monitor for cancellation requests. The default value is None. | |
리턴 | Task |
public static StartScanningForDevicesAsync ( this adapter, System.Guid serviceUuids, |
||
adapter | this | Target adapter. |
serviceUuids | System.Guid | Requested service Ids. |
cancellationToken | The token to monitor for cancellation requests. The default value is None. | |
리턴 | Task |