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_MESSAGE_ERROR_TYPES_H__ 8 #define EDHOC_ENCODE_MESSAGE_ERROR_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 message_error_C_x_r { 29 union { 30 struct zcbor_string message_error_C_x_bstr; 31 int32_t message_error_C_x_int; 32 }; 33 enum { 34 message_error_C_x_bstr_c, 35 message_error_C_x_int_c, 36 } message_error_C_x_choice; 37 }; 38 39 struct message_error_SUITES_R_r { 40 union { 41 struct { 42 int32_t SUITES_R_supported_l_supported[10]; 43 size_t SUITES_R_supported_l_supported_count; 44 }; 45 int32_t message_error_SUITES_R_int; 46 }; 47 enum { 48 SUITES_R_supported_l_c, 49 message_error_SUITES_R_int_c, 50 } message_error_SUITES_R_choice; 51 }; 52 53 struct message_error { 54 struct message_error_C_x_r message_error_C_x; 55 bool message_error_C_x_present; 56 struct zcbor_string message_error_DIAG_MSG; 57 struct message_error_SUITES_R_r message_error_SUITES_R; 58 bool message_error_SUITES_R_present; 59 }; 60 61 #ifdef __cplusplus 62 } 63 #endif 64 65 #endif /* EDHOC_ENCODE_MESSAGE_ERROR_TYPES_H__ */ 66