We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd546c9 commit b932204Copy full SHA for b932204
src/cbor/CBOR.h
@@ -0,0 +1,24 @@
1
+/*
2
+ This file is part of the Arduino_CloudUtils library.
3
+
4
+ Copyright (c) 2024 Arduino SA
5
6
+ This Source Code Form is subject to the terms of the Mozilla Public
7
+ License, v. 2.0. If a copy of the MPL was not distributed with this
8
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
9
+*/
10
+#pragma once
11
12
+typedef uint64_t CBORTag;
13
14
+namespace cbor {
15
+ namespace tag {
16
+ enum : CBORTag {
17
+ // Unknown Command Tag https://www.iana.org/assignments/cbor-tags/cbor-tags.xhtml
18
+ CBORUnknownCmdTag16b = 0xffff, // invalid tag
19
+ CBORUnknownCmdTag32b = 0xffffffff, // invalid tag
20
+ CBORUnknownCmdTag64b = 0xffffffffffffffff, // invalid tag
21
+ CBORUnknownCmdTag = CBORUnknownCmdTag32b
22
+ };
23
+ }
24
+}
0 commit comments