Initial Commit

This commit is contained in:
Christian Risi
2024-12-05 16:21:52 +01:00
parent f6d785e0f5
commit 6859e27368
15 changed files with 569 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
public enum DeviceType: UInt8 {
case EDGE_SENSOR = 0
case SCANNER_SENSOR = 1
}

View File

@@ -0,0 +1,8 @@
public enum MessageType: UInt8 {
case KEEPALIVE = 0
case DATA = 1
case INFO = 2
case WARNING = 50
case ERROR = 100
case CRITICAL = 255
}

View File

@@ -0,0 +1,3 @@
public enum SignType: UInt32 {
case P521 = 10
}