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