forked from nanoframework/nanoFramework.IoT.Device
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Status.cs
33 lines (29 loc) · 824 Bytes
/
Status.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
// 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.Mfrc522
{
/// <summary>
/// Status for the functions
/// </summary>
public enum Status
{
/// <summary>
/// All happens perfectly
/// </summary>
Ok,
/// <summary>
/// A collision has been detected, this allows for example to use
/// retry mechanism
/// </summary>
Collision,
/// <summary>
/// An error happened
/// </summary>
Error,
/// <summary>
/// Timeout in reading or writing to the card, it may means the card has been
/// removed from the reader or is too far
/// </summary>
Timeout,
}
}