Skip to content

Commit

Permalink
Merge pull request #595 from WildernessLabs/AddBluetoothEvents
Browse files Browse the repository at this point in the history
Add enum definitions for Bluetooth events and updated some comments.
  • Loading branch information
ctacke authored Dec 26, 2024
2 parents 18d9033 + 2be3a5d commit 1a4c1f8
Showing 1 changed file with 30 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -544,25 +544,49 @@ internal enum WiFiFunction
public enum BluetoothFunction
{
/// <summary>
/// BluetoothFunction - Start
/// Start the Bluetooth service.
/// </summary>
Start = 0,
/// <summary>
/// BluetoothFunction - Stop
/// Stop the Bluetooth service.
/// </summary>
Stop = 1,
/// <summary>
/// BluetoothFunction - GetHandles
/// Get the handles for the service and characteristics.
/// </summary>
GetHandles = 2,
/// <summary>
/// BluetoothFunction - ServerDataSet
/// BSet a characteristic value.
/// </summary>
ServerDataSet = 3,
/// <summary>
/// BluetoothFunction - ClientWriteRequestEvent
/// Client has written to a characteristic value.
/// </summary>
ClientWriteRequestEvent = 4
ClientWriteRequestEvent = 4,
/// <summary>
/// Bluetooth service is starting event.
/// </summary>
BluetoothStartingEvent = 5,
/// <summary>
/// Bluetooth has started event.
/// </summary>
BluetoothStartedEvent = 6,
/// <summary>
/// Bluetooth is stopping event.
/// </summary>
BluetoothStoppingEvent = 7,
/// <summary>
/// Bluetooth has stopped event.
/// </summary>
BluetoothStoppedEvent = 8,
/// <summary>
/// Bluetooth client connected event.
/// </summary>
ClientConnectedEvent = 9,
/// <summary>
/// Bluetooth client disconnected event.
/// </summary>
ClientDisconnectedEvent = 10,
};

/// <summary>
Expand Down

0 comments on commit 1a4c1f8

Please sign in to comment.