DiscoveryFinished DeviceFound (Name As String, MacAddress As String) Connected (Services As Map) Disconnected CharacteristicRead (Success As Boolean, Characteristic As BleCharacteristic)
Connects to the device with the given MAC address. You can only connect to a previously discovered device. AutoConnect - Whether to directly connect to the remote device (false) or to automatically connect as soon as the remote device becomes available (true).
Initialize (EventNameAsString)
Initializes the object and sets the subs that will handle the events.
Starts scanning for devices. PeriodMs - Scan period measured in milliseconds. ServiceUUIDs - An array of UUIDs. Only devices supporting one of the UUIDs will be discovered. Pass Null to discover all devices.