From 2be3a5dd3a5a025639387285c3080e9e301338b1 Mon Sep 17 00:00:00 2001 From: Mark Stevens Date: Thu, 26 Dec 2024 13:13:25 +0000 Subject: [PATCH] Add enum definitions for Bluetooth events and updated some comments. --- .../Devices/Esp32Coprocessor/SharedEnums.cs | 36 +++++++++++++++---- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/Source/implementations/f7/Meadow.F7/Devices/Esp32Coprocessor/SharedEnums.cs b/Source/implementations/f7/Meadow.F7/Devices/Esp32Coprocessor/SharedEnums.cs index 691a8143..c420fec4 100644 --- a/Source/implementations/f7/Meadow.F7/Devices/Esp32Coprocessor/SharedEnums.cs +++ b/Source/implementations/f7/Meadow.F7/Devices/Esp32Coprocessor/SharedEnums.cs @@ -544,25 +544,49 @@ internal enum WiFiFunction public enum BluetoothFunction { /// - /// BluetoothFunction - Start + /// Start the Bluetooth service. /// Start = 0, /// - /// BluetoothFunction - Stop + /// Stop the Bluetooth service. /// Stop = 1, /// - /// BluetoothFunction - GetHandles + /// Get the handles for the service and characteristics. /// GetHandles = 2, /// - /// BluetoothFunction - ServerDataSet + /// BSet a characteristic value. /// ServerDataSet = 3, /// - /// BluetoothFunction - ClientWriteRequestEvent + /// Client has written to a characteristic value. /// - ClientWriteRequestEvent = 4 + ClientWriteRequestEvent = 4, + /// + /// Bluetooth service is starting event. + /// + BluetoothStartingEvent = 5, + /// + /// Bluetooth has started event. + /// + BluetoothStartedEvent = 6, + /// + /// Bluetooth is stopping event. + /// + BluetoothStoppingEvent = 7, + /// + /// Bluetooth has stopped event. + /// + BluetoothStoppedEvent = 8, + /// + /// Bluetooth client connected event. + /// + ClientConnectedEvent = 9, + /// + /// Bluetooth client disconnected event. + /// + ClientDisconnectedEvent = 10, }; ///