Enum BluetoothEventType
- Namespace
- nanoFramework.Device.Bluetooth
- Assembly
- nanoFramework.Device.Bluetooth.dll
Event type for Bluetooth events coming from Native.
public enum BluetoothEventType
Fields
AdvertisementDiscovered = 4Advertisement discovered when scanning.
AttributeReadValueComplete = 14Characteristic read value complete, status=error.
AttributeValueChanged = 16Fired when a value on connected device has changed, notify.
AttributeWriteValueComplete = 15Attribute Write value completed, status = error.
AuthenticationComplete = 22Event fired when the Authentication has completed, security enabled or failed to enable.
CharacteristicDiscovered = 10A characteristic discovered on Service.
CharacteristicDiscoveryComplete = 11The characteristic discovery has completed / error.
ClientConnected = 17Event when client connects.
ClientDisconnected = 18Event when client disconnects.
ClientSessionChanged = 19Event when session details are updated.
ClientSubscribed = 2Client Subscribed.
ClientUnsubscribed = 3Client unsubscribed or connection terminated.
ConnectComplete = 6Fires when native connect to device completes.
ConnectionDisconnected = 7The connection has disconnected.
DescriptorDiscovered = 12A descriptor discovered on Characteristic.
DescriptorDiscoveryComplete = 13The Descriptor discovery has completed / error.
PassKeyActions = 20Event fired when a passkey action is requested.
PassKeyActionsNumericComparison = 21Event Fired when a passkey action for numeric comparison is requested.
Read = 0Attribute Read.
ScanningComplete = 5Discovery Scan complete.
ServiceDiscovered = 8A Service discovered for a connection.
ServiceDiscoveryComplete = 9Service discovery has completed.
Write = 1Attribute write.