Commit 0e86b129 authored by Jerome Hugues's avatar Jerome Hugues

* Regenerate configurqtion file for TASTE

parent 29886583
...@@ -10,62 +10,41 @@ extern "C" { ...@@ -10,62 +10,41 @@ extern "C" {
#endif #endif
typedef asn1SccUint __po_hi_c_Node_Addr_T;
typedef asn1SccSint __po_hi_c_Node_Addr_T;
#define __po_hi_c_Node_Addr_T_REQUIRED_BYTES_FOR_ENCODING 1
#define __po_hi_c_Node_Addr_T_REQUIRED_BITS_FOR_ENCODING 5
#define __po_hi_c_Node_Addr_T_REQUIRED_BYTES_FOR_ACN_ENCODING 1
#define __po_hi_c_Node_Addr_T_REQUIRED_BITS_FOR_ACN_ENCODING 5
#define __po_hi_c_Node_Addr_T_REQUIRED_BYTES_FOR_XER_ENCODING 47
void __po_hi_c_Node_Addr_T_Initialize(__po_hi_c_Node_Addr_T* pVal); void __po_hi_c_Node_Addr_T_Initialize(__po_hi_c_Node_Addr_T* pVal);
flag __po_hi_c_Node_Addr_T_IsConstraintValid(const __po_hi_c_Node_Addr_T* val, int* pErrCode);
#ifndef ERR___po_hi_c_Node_Addr_T
#define ERR___po_hi_c_Node_Addr_T 1001 /*(0 .. 31)*/
#endif
#define ERR_NODE_ADDR_T 1 /**/
flag __po_hi_c_Node_Addr_T_IsConstraintValid(const __po_hi_c_Node_Addr_T* pVal, int* pErrCode);
typedef enum { typedef enum {
__po_hi_c_mil1553a = 0, __po_hi_c_mil1553a = 0,
__po_hi_c_mil1553b = 1 __po_hi_c_mil1553b = 1
} __po_hi_c_Standard_T; } __po_hi_c_Standard_T;
#define __po_hi_c_Standard_T_REQUIRED_BYTES_FOR_ENCODING 1 // please use the following macros to avoid breaking code.
#define __po_hi_c_Standard_T_REQUIRED_BITS_FOR_ENCODING 1 #define __po_hi_c_Standard_T_mil1553a __po_hi_c_mil1553a
#define __po_hi_c_Standard_T_REQUIRED_BYTES_FOR_ACN_ENCODING 1 #define __po_hi_c_Standard_T_mil1553b __po_hi_c_mil1553b
#define __po_hi_c_Standard_T_REQUIRED_BITS_FOR_ACN_ENCODING 1
#define __po_hi_c_Standard_T_REQUIRED_BYTES_FOR_XER_ENCODING 44
void __po_hi_c_Standard_T_Initialize(__po_hi_c_Standard_T* pVal); void __po_hi_c_Standard_T_Initialize(__po_hi_c_Standard_T* pVal);
flag __po_hi_c_Standard_T_IsConstraintValid(const __po_hi_c_Standard_T* val, int* pErrCode);
#ifndef ERR___po_hi_c_Standard_T_unknown_enumeration_value
#define ERR___po_hi_c_Standard_T_unknown_enumeration_value 1003 /**/
#endif
#ifndef ERR___po_hi_c_Standard_T
#define ERR___po_hi_c_Standard_T 1002 /**/
#endif
#define ERR_STANDARD_T 8 /**/
flag __po_hi_c_Standard_T_IsConstraintValid(const __po_hi_c_Standard_T* pVal, int* pErrCode);
typedef enum { typedef enum {
__po_hi_c_controller = 0, __po_hi_c_controller = 0,
__po_hi_c_terminal = 1, __po_hi_c_terminal = 1,
__po_hi_c_monitor = 2 __po_hi_c_monitor = 2
} __po_hi_c_Mode_T; } __po_hi_c_Mode_T;
#define __po_hi_c_Mode_T_REQUIRED_BYTES_FOR_ENCODING 1 // please use the following macros to avoid breaking code.
#define __po_hi_c_Mode_T_REQUIRED_BITS_FOR_ENCODING 2 #define __po_hi_c_Mode_T_controller __po_hi_c_controller
#define __po_hi_c_Mode_T_REQUIRED_BYTES_FOR_ACN_ENCODING 1 #define __po_hi_c_Mode_T_terminal __po_hi_c_terminal
#define __po_hi_c_Mode_T_REQUIRED_BITS_FOR_ACN_ENCODING 2 #define __po_hi_c_Mode_T_monitor __po_hi_c_monitor
#define __po_hi_c_Mode_T_REQUIRED_BYTES_FOR_XER_ENCODING 36
void __po_hi_c_Mode_T_Initialize(__po_hi_c_Mode_T* pVal); void __po_hi_c_Mode_T_Initialize(__po_hi_c_Mode_T* pVal);
flag __po_hi_c_Mode_T_IsConstraintValid(const __po_hi_c_Mode_T* val, int* pErrCode);
#ifndef ERR___po_hi_c_Mode_T_unknown_enumeration_value
#define ERR___po_hi_c_Mode_T_unknown_enumeration_value 1005 /**/
#endif
#ifndef ERR___po_hi_c_Mode_T
#define ERR___po_hi_c_Mode_T 1004 /**/
#endif
#define ERR_MODE_T 15 /**/
flag __po_hi_c_Mode_T_IsConstraintValid(const __po_hi_c_Mode_T* pVal, int* pErrCode);
typedef enum { typedef enum {
__po_hi_c_none = 0, __po_hi_c_none = 0,
__po_hi_c_bus_a = 1, __po_hi_c_bus_a = 1,
...@@ -73,35 +52,18 @@ typedef enum { ...@@ -73,35 +52,18 @@ typedef enum {
__po_hi_c_both = 3 __po_hi_c_both = 3
} __po_hi_c_Bus_T; } __po_hi_c_Bus_T;
#define __po_hi_c_Bus_T_REQUIRED_BYTES_FOR_ENCODING 1 // please use the following macros to avoid breaking code.
#define __po_hi_c_Bus_T_REQUIRED_BITS_FOR_ENCODING 2 #define __po_hi_c_Bus_T_none __po_hi_c_none
#define __po_hi_c_Bus_T_REQUIRED_BYTES_FOR_ACN_ENCODING 1 #define __po_hi_c_Bus_T_bus_a __po_hi_c_bus_a
#define __po_hi_c_Bus_T_REQUIRED_BITS_FOR_ACN_ENCODING 2 #define __po_hi_c_Bus_T_bus_b __po_hi_c_bus_b
#define __po_hi_c_Bus_T_REQUIRED_BYTES_FOR_XER_ENCODING 26 #define __po_hi_c_Bus_T_both __po_hi_c_both
void __po_hi_c_Bus_T_Initialize(__po_hi_c_Bus_T* pVal); void __po_hi_c_Bus_T_Initialize(__po_hi_c_Bus_T* pVal);
flag __po_hi_c_Bus_T_IsConstraintValid(const __po_hi_c_Bus_T* val, int* pErrCode);
#ifndef ERR___po_hi_c_Bus_T_unknown_enumeration_value
#define ERR___po_hi_c_Bus_T_unknown_enumeration_value 1007 /**/
#endif
#ifndef ERR___po_hi_c_Bus_T
#define ERR___po_hi_c_Bus_T 1006 /**/
#endif
#define ERR_BUS_T 22 /**/
flag __po_hi_c_Bus_T_IsConstraintValid(const __po_hi_c_Bus_T* pVal, int* pErrCode);
/*-- __po_hi_c_mil_1553_conf_t --------------------------------------------*/
typedef char __po_hi_c_mil_1553_conf_t_devname[21]; typedef char __po_hi_c_mil_1553_conf_t_devname[21];
#define __po_hi_c_mil_1553_conf_t_devname_REQUIRED_BYTES_FOR_ENCODING 19
#define __po_hi_c_mil_1553_conf_t_devname_REQUIRED_BITS_FOR_ENCODING 145
#define __po_hi_c_mil_1553_conf_t_devname_REQUIRED_BYTES_FOR_ACN_ENCODING 19
#define __po_hi_c_mil_1553_conf_t_devname_REQUIRED_BITS_FOR_ACN_ENCODING 145
#define __po_hi_c_mil_1553_conf_t_devname_REQUIRED_BYTES_FOR_XER_ENCODING 71
void __po_hi_c_mil_1553_conf_t_devname_Initialize(__po_hi_c_mil_1553_conf_t_devname pVal);
flag __po_hi_c_mil_1553_conf_t_devname_IsConstraintValid(const __po_hi_c_mil_1553_conf_t_devname val, int* pErrCode);
#ifndef ERR___po_hi_c_mil_1553_conf_t_devname
#define ERR___po_hi_c_mil_1553_conf_t_devname 1008 /*(SIZE(1 .. 20))*/
#endif
typedef struct { typedef struct {
__po_hi_c_mil_1553_conf_t_devname devname; __po_hi_c_mil_1553_conf_t_devname devname;
__po_hi_c_Standard_T standard; __po_hi_c_Standard_T standard;
...@@ -111,21 +73,27 @@ typedef struct { ...@@ -111,21 +73,27 @@ typedef struct {
flag broadcast; flag broadcast;
flag rxblock; flag rxblock;
flag txblock; flag txblock;
struct { struct {
unsigned int rxblock:1; unsigned int rxblock:1;
unsigned int txblock:1; unsigned int txblock:1;
} exist; } exist;
} __po_hi_c_mil_1553_conf_t;
#define __po_hi_c_mil_1553_conf_t_REQUIRED_BYTES_FOR_ENCODING 20 } __po_hi_c_mil_1553_conf_t;
#define __po_hi_c_mil_1553_conf_t_REQUIRED_BITS_FOR_ENCODING 160
#define __po_hi_c_mil_1553_conf_t_REQUIRED_BYTES_FOR_ACN_ENCODING 20
#define __po_hi_c_mil_1553_conf_t_REQUIRED_BITS_FOR_ACN_ENCODING 160
#define __po_hi_c_mil_1553_conf_t_REQUIRED_BYTES_FOR_XER_ENCODING 309
void __po_hi_c_mil_1553_conf_t_devname_Initialize(__po_hi_c_mil_1553_conf_t_devname val);
void __po_hi_c_mil_1553_conf_t_Initialize(__po_hi_c_mil_1553_conf_t* pVal); void __po_hi_c_mil_1553_conf_t_Initialize(__po_hi_c_mil_1553_conf_t* pVal);
flag __po_hi_c_mil_1553_conf_t_IsConstraintValid(const __po_hi_c_mil_1553_conf_t* val, int* pErrCode);
#define ERR_MIL_1553_CONF_T 101 /**/
#define ERR_MIL_1553_CONF_T_DEVNAME 29 /**/
#define ERR_MIL_1553_CONF_T_STANDARD 36 /**/
#define ERR_MIL_1553_CONF_T_MODE 47 /**/
#define ERR_MIL_1553_CONF_T_BUS 58 /**/
#define ERR_MIL_1553_CONF_T_TERMADDR 69 /**/
#define ERR_MIL_1553_CONF_T_BROADCAST 80 /**/
#define ERR_MIL_1553_CONF_T_RXBLOCK 87 /**/
#define ERR_MIL_1553_CONF_T_TXBLOCK 94 /**/
flag __po_hi_c_mil_1553_conf_t_IsConstraintValid(const __po_hi_c_mil_1553_conf_t* pVal, int* pErrCode);
...@@ -134,25 +102,11 @@ flag __po_hi_c_mil_1553_conf_t_IsConstraintValid(const __po_hi_c_mil_1553_conf_t ...@@ -134,25 +102,11 @@ flag __po_hi_c_mil_1553_conf_t_IsConstraintValid(const __po_hi_c_mil_1553_conf_t
* have been declared first, in case of parameterized ACN encodings * have been declared first, in case of parameterized ACN encodings
* ========================================================================= */ * ========================================================================= */
#ifdef __cplusplus #ifdef __cplusplus
} }
#define ENUM___po_hi_c_mil1553a __po_hi_c_mil1553a
#define ENUM___po_hi_c_mil1553b __po_hi_c_mil1553b
#define ENUM___po_hi_c_controller __po_hi_c_controller
#define ENUM___po_hi_c_terminal __po_hi_c_terminal
#define ENUM___po_hi_c_monitor __po_hi_c_monitor
#define ENUM___po_hi_c_none __po_hi_c_none
#define ENUM___po_hi_c_bus_a __po_hi_c_bus_a
#define ENUM___po_hi_c_bus_b __po_hi_c_bus_b
#define ENUM___po_hi_c_both __po_hi_c_both
#endif #endif
......
This diff is collapsed.
#ifndef GENERATED_ASN1SCC_IP_H #ifndef GENERATED_ASN1SCC_ip_H
#define GENERATED_ASN1SCC_IP_H #define GENERATED_ASN1SCC_ip_H
/* /*
Code automatically generated by asn1scc tool Code automatically generated by asn1scc tool
*/ */
...@@ -10,125 +10,33 @@ extern "C" { ...@@ -10,125 +10,33 @@ extern "C" {
#endif #endif
typedef asn1SccUint __po_hi_c_Port_T;
typedef asn1SccSint __po_hi_c_Port_T;
#define __po_hi_c_Port_T_REQUIRED_BYTES_FOR_ENCODING 2
#define __po_hi_c_Port_T_REQUIRED_BITS_FOR_ENCODING 15
#define __po_hi_c_Port_T_REQUIRED_BYTES_FOR_ACN_ENCODING 2
#define __po_hi_c_Port_T_REQUIRED_BITS_FOR_ACN_ENCODING 15
#define __po_hi_c_Port_T_REQUIRED_BYTES_FOR_XER_ENCODING 37
void __po_hi_c_Port_T_Initialize(__po_hi_c_Port_T* pVal); void __po_hi_c_Port_T_Initialize(__po_hi_c_Port_T* pVal);
flag __po_hi_c_Port_T_IsConstraintValid(const __po_hi_c_Port_T* val, int* pErrCode);
#ifndef ERR___po_hi_c_Port_T
#define ERR___po_hi_c_Port_T 1001 /*(0 .. 16535)*/
#endif
#define ERR_PORT_T 1 /**/
flag __po_hi_c_Port_T_IsConstraintValid(const __po_hi_c_Port_T* pVal, int* pErrCode);
typedef enum { typedef enum {
__po_hi_c_ipv4 = 0, __po_hi_c_ipv4 = 0,
__po_hi_c_ipv6 = 1 __po_hi_c_ipv6 = 1
} __po_hi_c_Version_T; } __po_hi_c_Version_T;
#define __po_hi_c_Version_T_REQUIRED_BYTES_FOR_ENCODING 1 // please use the following macros to avoid breaking code.
#define __po_hi_c_Version_T_REQUIRED_BITS_FOR_ENCODING 1 #define __po_hi_c_Version_T_ipv4 __po_hi_c_ipv4
#define __po_hi_c_Version_T_REQUIRED_BYTES_FOR_ACN_ENCODING 1 #define __po_hi_c_Version_T_ipv6 __po_hi_c_ipv6
#define __po_hi_c_Version_T_REQUIRED_BITS_FOR_ACN_ENCODING 1
#define __po_hi_c_Version_T_REQUIRED_BYTES_FOR_XER_ENCODING 34
void __po_hi_c_Version_T_Initialize(__po_hi_c_Version_T* pVal); void __po_hi_c_Version_T_Initialize(__po_hi_c_Version_T* pVal);
flag __po_hi_c_Version_T_IsConstraintValid(const __po_hi_c_Version_T* val, int* pErrCode);
#ifndef ERR___po_hi_c_Version_T_unknown_enumeration_value
#define ERR___po_hi_c_Version_T_unknown_enumeration_value 1003 /**/
#endif
#ifndef ERR___po_hi_c_Version_T
#define ERR___po_hi_c_Version_T 1002 /**/
#endif
typedef char __po_hi_c_ip_conf_t_dns[41];
#define __po_hi_c_ip_conf_t_dns_REQUIRED_BYTES_FOR_ENCODING 36
#define __po_hi_c_ip_conf_t_dns_REQUIRED_BITS_FOR_ENCODING 286
#define __po_hi_c_ip_conf_t_dns_REQUIRED_BYTES_FOR_ACN_ENCODING 36
#define __po_hi_c_ip_conf_t_dns_REQUIRED_BITS_FOR_ACN_ENCODING 286
#define __po_hi_c_ip_conf_t_dns_REQUIRED_BYTES_FOR_XER_ENCODING 71
void __po_hi_c_ip_conf_t_dns_Initialize(__po_hi_c_ip_conf_t_dns pVal);
flag __po_hi_c_ip_conf_t_dns_IsConstraintValid(const __po_hi_c_ip_conf_t_dns val, int* pErrCode);
#ifndef ERR___po_hi_c_ip_conf_t_dns
#define ERR___po_hi_c_ip_conf_t_dns 1004 /*(SIZE(1 .. 40))*/
#endif
typedef char __po_hi_c_ip_conf_t_gateway[41];
#define __po_hi_c_ip_conf_t_gateway_REQUIRED_BYTES_FOR_ENCODING 36
#define __po_hi_c_ip_conf_t_gateway_REQUIRED_BITS_FOR_ENCODING 286
#define __po_hi_c_ip_conf_t_gateway_REQUIRED_BYTES_FOR_ACN_ENCODING 36
#define __po_hi_c_ip_conf_t_gateway_REQUIRED_BITS_FOR_ACN_ENCODING 286
#define __po_hi_c_ip_conf_t_gateway_REQUIRED_BYTES_FOR_XER_ENCODING 79
void __po_hi_c_ip_conf_t_gateway_Initialize(__po_hi_c_ip_conf_t_gateway pVal);
flag __po_hi_c_ip_conf_t_gateway_IsConstraintValid(const __po_hi_c_ip_conf_t_gateway val, int* pErrCode);
#ifndef ERR___po_hi_c_ip_conf_t_gateway
#define ERR___po_hi_c_ip_conf_t_gateway 1005 /*(SIZE(1 .. 40))*/
#endif
typedef char __po_hi_c_ip_conf_t_netmask[41];
#define __po_hi_c_ip_conf_t_netmask_REQUIRED_BYTES_FOR_ENCODING 36
#define __po_hi_c_ip_conf_t_netmask_REQUIRED_BITS_FOR_ENCODING 286
#define __po_hi_c_ip_conf_t_netmask_REQUIRED_BYTES_FOR_ACN_ENCODING 36
#define __po_hi_c_ip_conf_t_netmask_REQUIRED_BITS_FOR_ACN_ENCODING 286
#define __po_hi_c_ip_conf_t_netmask_REQUIRED_BYTES_FOR_XER_ENCODING 79
void __po_hi_c_ip_conf_t_netmask_Initialize(__po_hi_c_ip_conf_t_netmask pVal);
flag __po_hi_c_ip_conf_t_netmask_IsConstraintValid(const __po_hi_c_ip_conf_t_netmask val, int* pErrCode);
#ifndef ERR___po_hi_c_ip_conf_t_netmask
#define ERR___po_hi_c_ip_conf_t_netmask 1006 /*(SIZE(1 .. 40))*/
#endif
typedef char __po_hi_c_ip_conf_t_broadcast[41];
#define __po_hi_c_ip_conf_t_broadcast_REQUIRED_BYTES_FOR_ENCODING 36
#define __po_hi_c_ip_conf_t_broadcast_REQUIRED_BITS_FOR_ENCODING 286
#define __po_hi_c_ip_conf_t_broadcast_REQUIRED_BYTES_FOR_ACN_ENCODING 36
#define __po_hi_c_ip_conf_t_broadcast_REQUIRED_BITS_FOR_ACN_ENCODING 286
#define __po_hi_c_ip_conf_t_broadcast_REQUIRED_BYTES_FOR_XER_ENCODING 83
void __po_hi_c_ip_conf_t_broadcast_Initialize(__po_hi_c_ip_conf_t_broadcast pVal);
flag __po_hi_c_ip_conf_t_broadcast_IsConstraintValid(const __po_hi_c_ip_conf_t_broadcast val, int* pErrCode);
#ifndef ERR___po_hi_c_ip_conf_t_broadcast
#define ERR___po_hi_c_ip_conf_t_broadcast 1007 /*(SIZE(1 .. 40))*/
#endif
typedef char __po_hi_c_ip_conf_t_address[41];
#define __po_hi_c_ip_conf_t_address_REQUIRED_BYTES_FOR_ENCODING 36
#define __po_hi_c_ip_conf_t_address_REQUIRED_BITS_FOR_ENCODING 286
#define __po_hi_c_ip_conf_t_address_REQUIRED_BYTES_FOR_ACN_ENCODING 36
#define __po_hi_c_ip_conf_t_address_REQUIRED_BITS_FOR_ACN_ENCODING 286
#define __po_hi_c_ip_conf_t_address_REQUIRED_BYTES_FOR_XER_ENCODING 79
void __po_hi_c_ip_conf_t_address_Initialize(__po_hi_c_ip_conf_t_address pVal);
flag __po_hi_c_ip_conf_t_address_IsConstraintValid(const __po_hi_c_ip_conf_t_address val, int* pErrCode);
#ifndef ERR___po_hi_c_ip_conf_t_address
#define ERR___po_hi_c_ip_conf_t_address 1008 /*(SIZE(1 .. 40))*/
#endif
#define ERR_VERSION_T 8 /**/
flag __po_hi_c_Version_T_IsConstraintValid(const __po_hi_c_Version_T* pVal, int* pErrCode);
/*-- __po_hi_c_ip_conf_t --------------------------------------------*/
typedef char __po_hi_c_ip_conf_t_devname[21]; typedef char __po_hi_c_ip_conf_t_devname[21];
typedef char __po_hi_c_ip_conf_t_address[41];
#define __po_hi_c_ip_conf_t_devname_REQUIRED_BYTES_FOR_ENCODING 19 typedef char __po_hi_c_ip_conf_t_broadcast[41];
#define __po_hi_c_ip_conf_t_devname_REQUIRED_BITS_FOR_ENCODING 145 typedef char __po_hi_c_ip_conf_t_netmask[41];
#define __po_hi_c_ip_conf_t_devname_REQUIRED_BYTES_FOR_ACN_ENCODING 19 typedef char __po_hi_c_ip_conf_t_gateway[41];
#define __po_hi_c_ip_conf_t_devname_REQUIRED_BITS_FOR_ACN_ENCODING 145 typedef char __po_hi_c_ip_conf_t_dns[41];
#define __po_hi_c_ip_conf_t_devname_REQUIRED_BYTES_FOR_XER_ENCODING 59
void __po_hi_c_ip_conf_t_devname_Initialize(__po_hi_c_ip_conf_t_devname pVal);
flag __po_hi_c_ip_conf_t_devname_IsConstraintValid(const __po_hi_c_ip_conf_t_devname val, int* pErrCode);
#ifndef ERR___po_hi_c_ip_conf_t_devname
#define ERR___po_hi_c_ip_conf_t_devname 1009 /*(SIZE(1 .. 20))*/
#endif
typedef struct { typedef struct {
__po_hi_c_ip_conf_t_devname devname; __po_hi_c_ip_conf_t_devname devname;
__po_hi_c_ip_conf_t_address address; __po_hi_c_ip_conf_t_address address;
...@@ -138,6 +46,7 @@ typedef struct { ...@@ -138,6 +46,7 @@ typedef struct {
__po_hi_c_ip_conf_t_dns dns; __po_hi_c_ip_conf_t_dns dns;
__po_hi_c_Version_T version; __po_hi_c_Version_T version;
__po_hi_c_Port_T port; __po_hi_c_Port_T port;
struct { struct {
unsigned int broadcast:1; unsigned int broadcast:1;
unsigned int netmask:1; unsigned int netmask:1;
...@@ -145,17 +54,27 @@ typedef struct { ...@@ -145,17 +54,27 @@ typedef struct {
unsigned int dns:1; unsigned int dns:1;
unsigned int version:1; unsigned int version:1;
} exist; } exist;
} __po_hi_c_ip_conf_t;
#define __po_hi_c_ip_conf_t_REQUIRED_BYTES_FOR_ENCODING 200 } __po_hi_c_ip_conf_t;
#define __po_hi_c_ip_conf_t_REQUIRED_BITS_FOR_ENCODING 1596
#define __po_hi_c_ip_conf_t_REQUIRED_BYTES_FOR_ACN_ENCODING 200
#define __po_hi_c_ip_conf_t_REQUIRED_BITS_FOR_ACN_ENCODING 1596
#define __po_hi_c_ip_conf_t_REQUIRED_BYTES_FOR_XER_ENCODING 416
void __po_hi_c_ip_conf_t_devname_Initialize(__po_hi_c_ip_conf_t_devname val);
void __po_hi_c_ip_conf_t_address_Initialize(__po_hi_c_ip_conf_t_address val);
void __po_hi_c_ip_conf_t_broadcast_Initialize(__po_hi_c_ip_conf_t_broadcast val);
void __po_hi_c_ip_conf_t_netmask_Initialize(__po_hi_c_ip_conf_t_netmask val);
void __po_hi_c_ip_conf_t_gateway_Initialize(__po_hi_c_ip_conf_t_gateway val);
void __po_hi_c_ip_conf_t_dns_Initialize(__po_hi_c_ip_conf_t_dns val);
void __po_hi_c_ip_conf_t_Initialize(__po_hi_c_ip_conf_t* pVal); void __po_hi_c_ip_conf_t_Initialize(__po_hi_c_ip_conf_t* pVal);
flag __po_hi_c_ip_conf_t_IsConstraintValid(const __po_hi_c_ip_conf_t* val, int* pErrCode);
#define ERR_IP_CONF_T 79 /**/
#define ERR_IP_CONF_T_DEVNAME 15 /**/
#define ERR_IP_CONF_T_ADDRESS 22 /**/
#define ERR_IP_CONF_T_BROADCAST 29 /**/
#define ERR_IP_CONF_T_NETMASK 36 /**/
#define ERR_IP_CONF_T_GATEWAY 43 /**/
#define ERR_IP_CONF_T_DNS 50 /**/
#define ERR_IP_CONF_T_VERSION 57 /**/
#define ERR_IP_CONF_T_PORT 68 /**/
flag __po_hi_c_ip_conf_t_IsConstraintValid(const __po_hi_c_ip_conf_t* pVal, int* pErrCode);
extern const __po_hi_c_ip_conf_t localhost1; extern const __po_hi_c_ip_conf_t localhost1;
extern const __po_hi_c_ip_conf_t localhost2; extern const __po_hi_c_ip_conf_t localhost2;
...@@ -165,21 +84,11 @@ extern const __po_hi_c_ip_conf_t localhost2; ...@@ -165,21 +84,11 @@ extern const __po_hi_c_ip_conf_t localhost2;
* have been declared first, in case of parameterized ACN encodings * have been declared first, in case of parameterized ACN encodings
* ========================================================================= */ * ========================================================================= */
#ifdef __cplusplus #ifdef __cplusplus
} }
#define ENUM___po_hi_c_ipv4 __po_hi_c_ipv4
#define ENUM___po_hi_c_ipv6 __po_hi_c_ipv6
#endif #endif
......
#ifndef GENERATED_ASN1SCC_SERIAL_H #ifndef GENERATED_ASN1SCC_serial_H
#define GENERATED_ASN1SCC_SERIAL_H #define GENERATED_ASN1SCC_serial_H
/* /*
Code automatically generated by asn1scc tool Code automatically generated by asn1scc tool
*/ */
...@@ -10,7 +10,6 @@ extern "C" { ...@@ -10,7 +10,6 @@ extern "C" {
#endif #endif
typedef enum { typedef enum {
__po_hi_c_b9600 = 0, __po_hi_c_b9600 = 0,
__po_hi_c_b19200 = 1, __po_hi_c_b19200 = 1,
...@@ -20,82 +19,36 @@ typedef enum { ...@@ -20,82 +19,36 @@ typedef enum {
__po_hi_c_b230400 = 5 __po_hi_c_b230400 = 5
} __po_hi_c_Baudrate_T; } __po_hi_c_Baudrate_T;
#define __po_hi_c_Baudrate_T_REQUIRED_BYTES_FOR_ENCODING 1 // please use the following macros to avoid breaking code.
#define __po_hi_c_Baudrate_T_REQUIRED_BITS_FOR_ENCODING 3 #define __po_hi_c_Baudrate_T_b9600 __po_hi_c_b9600
#define __po_hi_c_Baudrate_T_REQUIRED_BYTES_FOR_ACN_ENCODING 1 #define __po_hi_c_Baudrate_T_b19200 __po_hi_c_b19200
#define __po_hi_c_Baudrate_T_REQUIRED_BITS_FOR_ACN_ENCODING 3 #define __po_hi_c_Baudrate_T_b38400 __po_hi_c_b38400
#define __po_hi_c_Baudrate_T_REQUIRED_BYTES_FOR_XER_ENCODING 38 #define __po_hi_c_Baudrate_T_b57600 __po_hi_c_b57600
#define __po_hi_c_Baudrate_T_b115200 __po_hi_c_b115200
#define __po_hi_c_Baudrate_T_b230400 __po_hi_c_b230400
void __po_hi_c_Baudrate_T_Initialize(__po_hi_c_Baudrate_T* pVal); void __po_hi_c_Baudrate_T_Initialize(__po_hi_c_Baudrate_T* pVal);
flag __po_hi_c_Baudrate_T_IsConstraintValid(const __po_hi_c_Baudrate_T* val, int* pErrCode);
#ifndef ERR___po_hi_c_Baudrate_T_unknown_enumeration_value
#define ERR___po_hi_c_Baudrate_T_unknown_enumeration_value 1002 /**/
#endif
#ifndef ERR___po_hi_c_Baudrate_T
#define ERR___po_hi_c_Baudrate_T 1001 /**/
#endif
#define ERR_BAUDRATE_T 1 /**/
flag __po_hi_c_Baudrate_T_IsConstraintValid(const __po_hi_c_Baudrate_T* pVal, int* pErrCode);
typedef enum { typedef enum {
__po_hi_c_even = 0, __po_hi_c_even = 0,
__po_hi_c_odd = 1 __po_hi_c_odd = 1
} __po_hi_c_Parity_T; } __po_hi_c_Parity_T;
#define __po_hi_c_Parity_T_REQUIRED_BYTES_FOR_ENCODING 1 // please use the following macros to avoid breaking code.
#define __po_hi_c_Parity_T_REQUIRED_BITS_FOR_ENCODING 1 #define __po_hi_c_Parity_T_even __po_hi_c_even
#define __po_hi_c_Parity_T_REQUIRED_BYTES_FOR_ACN_ENCODING 1 #define __po_hi_c_Parity_T_odd __po_hi_c_odd
#define __po_hi_c_Parity_T_REQUIRED_BITS_FOR_ACN_ENCODING 1
#define __po_hi_c_Parity_T_REQUIRED_BYTES_FOR_XER_ENCODING 30
void __po_hi_c_Parity_T_Initialize(__po_hi_c_Parity_T* pVal); void __po_hi_c_Parity_T_Initialize(__po_hi_c_Parity_T* pVal);
flag __po_hi_c_Parity_T_IsConstraintValid(const __po_hi_c_Parity_T* val, int* pErrCode);
#ifndef ERR___po_hi_c_Parity_T_unknown_enumeration_value
#define ERR___po_hi_c_Parity_T_unknown_enumeration_value 1004 /**/
#endif
#ifndef ERR___po_hi_c_Parity_T
#define ERR___po_hi_c_Parity_T 1003 /**/
#endif
typedef asn1SccSint __po_hi_c_serial_conf_t_sending_wait;
#define __po_hi_c_serial_conf_t_sending_wait_REQUIRED_BYTES_FOR_ENCODING 3
#define __po_hi_c_serial_conf_t_sending_wait_REQUIRED_BITS_FOR_ENCODING 24
#define __po_hi_c_serial_conf_t_sending_wait_REQUIRED_BYTES_FOR_ACN_ENCODING 3
#define __po_hi_c_serial_conf_t_sending_wait_REQUIRED_BITS_FOR_ACN_ENCODING 24
#define __po_hi_c_serial_conf_t_sending_wait_REQUIRED_BYTES_FOR_XER_ENCODING 77
void __po_hi_c_serial_conf_t_sending_wait_Initialize(__po_hi_c_serial_conf_t_sending_wait* pVal);
flag __po_hi_c_serial_conf_t_sending_wait_IsConstraintValid(const __po_hi_c_serial_conf_t_sending_wait* val, int* pErrCode);
#ifndef ERR___po_hi_c_serial_conf_t_sending_wait
#define ERR___po_hi_c_serial_conf_t_sending_wait 1005 /*(0 .. 9000000)*/
#endif
typedef asn1SccSint __po_hi_c_serial_conf_t_bits;
#define __po_hi_c_serial_conf_t_bits_REQUIRED_BYTES_FOR_ENCODING 1
#define __po_hi_c_serial_conf_t_bits_REQUIRED_BITS_FOR_ENCODING 1
#define __po_hi_c_serial_conf_t_bits_REQUIRED_BYTES_FOR_ACN_ENCODING 1
#define __po_hi_c_serial_conf_t_bits_REQUIRED_BITS_FOR_ACN_ENCODING 1
#define __po_hi_c_serial_conf_t_bits_REQUIRED_BYTES_FOR_XER_ENCODING 61
void __po_hi_c_serial_conf_t_bits_Initialize(__po_hi_c_serial_conf_t_bits* pVal);
flag __po_hi_c_serial_conf_t_bits_IsConstraintValid(const __po_hi_c_serial_conf_t_bits* val, int* pErrCode);
#ifndef ERR___po_hi_c_serial_conf_t_bits
#define ERR___po_hi_c_serial_conf_t_bits 1006 /*(7 .. 8)*/
#endif
#define ERR_PARITY_T 8 /**/
flag __po_hi_c_Parity_T_IsConstraintValid(const __po_hi_c_Parity_T* pVal, int* pErrCode);
/*-- __po_hi_c_serial_conf_t --------------------------------------------*/
typedef char __po_hi_c_serial_conf_t_devname[21]; typedef char __po_hi_c_serial_conf_t_devname[21];
typedef asn1SccUint __po_hi_c_serial_conf_t_bits;
#define __po_hi_c_serial_conf_t_devname_REQUIRED_BYTES_FOR_ENCODING 19 typedef asn1SccUint __po_hi_c_serial_conf_t_sending_wait;
#define __po_hi_c_serial_conf_t_devname_REQUIRED_BITS_FOR_ENCODING 145
#define __po_hi_c_serial_conf_t_devname_REQUIRED_BYTES_FOR_ACN_ENCODING 19
#define __po_hi_c_serial_conf_t_devname_REQUIRED_BITS_FOR_ACN_ENCODING 145
#define __po_hi_c_serial_conf_t_devname_REQUIRED_BYTES_FOR_XER_ENCODING 67
void __po_hi_c_serial_conf_t_devname_Initialize(__po_hi_c_serial_conf_t_devname pVal);
flag __po_hi_c_serial_conf_t_devname_IsConstraintValid(const __po_hi_c_serial_conf_t_devname val, int* pErrCode);
#ifndef ERR___po_hi_c_serial_conf_t_devname
#define ERR___po_hi_c_serial_conf_t_devname 1007 /*(SIZE(1 .. 20))*/
#endif
typedef struct { typedef struct {
__po_hi_c_serial_conf_t_devname devname; __po_hi_c_serial_conf_t_devname devname;
...@@ -104,6 +57,7 @@ typedef struct { ...@@ -104,6 +57,7 @@ typedef struct {
__po_hi_c_serial_conf_t_bits bits; __po_hi_c_serial_conf_t_bits bits;
__po_hi_c_serial_conf_t_sending_wait sending_wait; __po_hi_c_serial_conf_t_sending_wait sending_wait;
flag use_paritybit; flag use_paritybit;
struct { struct {
unsigned int speed:1; unsigned int speed:1;
unsigned int parity:1; unsigned int parity:1;
...@@ -111,17 +65,22 @@ typedef struct { ...@@ -111,17 +65,22 @@ typedef struct {
unsigned int sending_wait:1; unsigned int sending_wait:1;
unsigned int use_paritybit:1; unsigned int use_paritybit:1;
} exist; } exist;
} __po_hi_c_serial_conf_t;
#define __po_hi_c_serial_conf_t_REQUIRED_BYTES_FOR_ENCODING 23 } __po_hi_c_serial_conf_t;
#define __po_hi_c_serial_conf_t_REQUIRED_BITS_FOR_ENCODING 180
#define __po_hi_c_serial_conf_t_REQUIRED_BYTES_FOR_ACN_ENCODING 23
#define __po_hi_c_serial_conf_t_REQUIRED_BITS_FOR_ACN_ENCODING 180
#define __po_hi_c_serial_conf_t_REQUIRED_BYTES_FOR_XER_ENCODING 250
void __po_hi_c_serial_conf_t_devname_Initialize(__po_hi_c_serial_conf_t_devname val);
void __po_hi_c_serial_conf_t_bits_Initialize(__po_hi_c_serial_conf_t_bits* pVal);
void __po_hi_c_serial_conf_t_sending_wait_Initialize(__po_hi_c_serial_conf_t_sending_wait* pVal);
void __po_hi_c_serial_conf_t_Initialize(__po_hi_c_serial_conf_t* pVal); void __po_hi_c_serial_conf_t_Initialize(__po_hi_c_serial_conf_t* pVal);
flag __po_hi_c_serial_conf_t_IsConstraintValid(const __po_hi_c_serial_conf_t* val, int* pErrCode);
#define ERR_SERIAL_CONF_T 65 /**/
#define ERR_SERIAL_CONF_T_DEVNAME 15 /**/
#define ERR_SERIAL_CONF_T_SPEED 22 /**/
#define ERR_SERIAL_CONF_T_PARITY 33 /**/
#define ERR_SERIAL_CONF_T_BITS 44 /**/
#define ERR_SERIAL_CONF_T_SENDING_WAIT 51 /**/
#define ERR_SERIAL_CONF_T_USE_PARITYBIT 58 /**/
flag __po_hi_c_serial_conf_t_IsConstraintValid(const __po_hi_c_serial_conf_t* pVal, int* pErrCode);
extern const __po_hi_c_serial_conf_t linux_ttyS0; extern const __po_hi_c_serial_conf_t linux_ttyS0;
extern const __po_hi_c_serial_conf_t linux_ttyUSB0; extern const __po_hi_c_serial_conf_t linux_ttyUSB0;
...@@ -135,24 +94,11 @@ extern const __po_hi_c_serial_conf_t leon_rasta_apburasta1; ...@@ -135,24 +94,11 @@ extern const __po_hi_c_serial_conf_t leon_rasta_apburasta1;
* have been declared first, in case of parameterized ACN encodings * have been declared first, in case of parameterized ACN encodings
* ========================================================================= */ * ========================================================================= */
#ifdef __cplusplus #ifdef __cplusplus
} }
#define ENUM___po_hi_c_b9600 __po_hi_c_b9600
#define ENUM___po_hi_c_b19200 __po_hi_c_b19200
#define ENUM___po_hi_c_b38400 __po_hi_c_b38400
#define ENUM___po_hi_c_b57600 __po_hi_c_b57600
#define ENUM___po_hi_c_b115200 __po_hi_c_b115200
#define ENUM___po_hi_c_b230400 __po_hi_c_b230400
#define ENUM___po_hi_c_even __po_hi_c_even
#define ENUM___po_hi_c_odd __po_hi_c_odd
#endif #endif
......
#ifndef GENERATED_ASN1SCC_SPACEWIRE_H #ifndef GENERATED_ASN1SCC_spacewire_H