Skip to content

Commit 97ecef8

Browse files
committed
enums as enums
1 parent 8edaa84 commit 97ecef8

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

boards/TEST/TEST_measurements.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
{
33
"id": "tcp_state",
44
"name": "TCP State",
5-
"type": "uint8"
5+
"type": "enum",
6+
"enumValues": [
7+
"INACTIVE",
8+
"LISTENING",
9+
"ACCEPTED",
10+
"CLOSING",
11+
"CLOSED"
12+
]
613
},
714
{
815
"id": "eth_link_up",
@@ -57,7 +64,15 @@
5764
{
5865
"id": "last_disconnect_reason",
5966
"name": "Last Disconnect Reason",
60-
"type": "uint8"
67+
"type": "enum",
68+
"enumValues": [
69+
"NONE",
70+
"CLIENT_CLOSED",
71+
"ERROR",
72+
"RESET",
73+
"LINK_DOWN",
74+
"TIMEOUT"
75+
]
6176
},
6277
{
6378
"id": "lwip_link_change_count",

0 commit comments

Comments
 (0)