1 /* 2 * Generated using zcbor version 0.8.0 3 * https://github.com/NordicSemiconductor/zcbor 4 * Generated with a --default-max-qty of 3 5 */ 6 7 #ifndef EDHOC_ENCODE_DATA_2_TYPES_H__ 8 #define EDHOC_ENCODE_DATA_2_TYPES_H__ 9 10 #include <stdint.h> 11 #include <stdbool.h> 12 #include <stddef.h> 13 #include <zcbor_common.h> 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 /** Which value for --default-max-qty this file was created with. 20 * 21 * The define is used in the other generated file to do a build-time 22 * compatibility check. 23 * 24 * See `zcbor --help` for more information about --default-max-qty 25 */ 26 #define DEFAULT_MAX_QTY 3 27 28 struct data_2_C_I_r { 29 union { 30 int32_t data_2_C_I_int; 31 struct zcbor_string data_2_C_I_bstr; 32 }; 33 enum { 34 data_2_C_I_int_c, 35 data_2_C_I_bstr_c, 36 } data_2_C_I_choice; 37 }; 38 39 struct data_2 { 40 struct data_2_C_I_r data_2_C_I; 41 bool data_2_C_I_present; 42 struct zcbor_string data_2_G_Y; 43 union { 44 int32_t data_2_C_R_int; 45 struct zcbor_string data_2_C_R_bstr; 46 }; 47 enum { 48 data_2_C_R_int_c, 49 data_2_C_R_bstr_c, 50 } data_2_C_R_choice; 51 }; 52 53 #ifdef __cplusplus 54 } 55 #endif 56 57 #endif /* EDHOC_ENCODE_DATA_2_TYPES_H__ */ 58