-
-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathSystemStatus.cs
51 lines (43 loc) · 1.45 KB
/
SystemStatus.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.
using System;
namespace Iot.Device.DistanceSensor.Models.LidarLiteV3
{
/// <summary>
/// System status flags
/// </summary>
[Flags]
public enum SystemStatus
{
/// <summary>
/// System error detected during measurement
/// </summary>
ProcessError = 0x40,
/// <summary>
/// Health status, indicating reference and receiver bias are operational
/// </summary>
Health = 0x20,
/// <summary>
/// Secondary return detected in correlation record
/// </summary>
SecondaryReturn = 0x10,
/// <summary>
/// Peak not detected in correlation record, measurement is invalid.
/// </summary>
InvalidSignal = 0x8,
/// <summary>
/// Signal data in correlation record has reached the maximum value before
/// overflow. This occurs with a strong received signal strength.
/// </summary>
SignalOverflow = 0x4,
/// <summary>
/// Reference data in correlation record has reached the maximum value before
/// overflow. This occurs periodically.
/// </summary>
ReferenceOverflow = 0x2,
/// <summary>
/// Device is busy callibrating or taking a measurement.
/// </summary>
BusyFlag = 0x1
}
}