-
Notifications
You must be signed in to change notification settings - Fork 587
/
CommandError.cs
51 lines (43 loc) · 1.21 KB
/
CommandError.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Iot.Device.Arduino
{
/// <summary>
/// Possible results of sending a Firmata command
/// </summary>
public enum CommandError
{
/// <summary>
/// No error
/// </summary>
None = 0,
/// <summary>
/// The remote side is busy. The command was ignored.
/// </summary>
EngineBusy = 1,
/// <summary>
/// The arguments provided were invalid
/// </summary>
InvalidArguments = 2,
/// <summary>
/// The remote side is out of memory
/// </summary>
OutOfMemory = 3,
/// <summary>
/// There was an internal error processing the request.
/// </summary>
InternalError = 4,
/// <summary>
/// The board timed out executing the command.
/// </summary>
Timeout = 5,
/// <summary>
/// The device has been reset.
/// </summary>
DeviceReset = 6,
/// <summary>
/// The command was aborted.
/// </summary>
Aborted = 7,
}
}