1 /* 2 * Generated using zcbor version 0.3.99 3 * https://github.com/NordicSemiconductor/zcbor 4 * Generated with a --default-max-qty of 3 5 */ 6 7 #ifndef EDHOC_ENCODE_TH2_TYPES_H__ 8 #define EDHOC_ENCODE_TH2_TYPES_H__ 9 10 #include <stdint.h> 11 #include <stdbool.h> 12 #include <stddef.h> 13 #include <string.h> 14 #include "zcbor_encode.h" 15 16 /** Which value for --default-max-qty this file was created with. 17 * 18 * The define is used in the other generated file to do a build-time 19 * compatibility check. 20 * 21 * See `zcbor --help` for more information about --default-max-qty 22 */ 23 #define DEFAULT_MAX_QTY 3 24 25 struct th2 { 26 struct zcbor_string _th2_hash_msg1; 27 struct zcbor_string _th2_G_Y; 28 union { 29 struct zcbor_string _th2_C_R_bstr; 30 int32_t _th2_C_R_int; 31 }; 32 enum { 33 _th2_C_R_bstr, 34 _th2_C_R_int, 35 } _th2_C_R_choice; 36 }; 37 38 39 #endif /* EDHOC_ENCODE_TH2_TYPES_H__ */ 40