From 851f68a6d969608d2872e70961b038184a07ebc0 Mon Sep 17 00:00:00 2001 From: Thanassis Tsiodras <Thanassis.Tsiodras@esa.int> Date: Fri, 27 Oct 2017 15:25:02 +0200 Subject: [PATCH] Updated DV with new tools (MD5s in) --- Demo_uPy_Basic/DataView.aadl | 435 ++++++++++++++++++----------------- 1 file changed, 219 insertions(+), 216 deletions(-) diff --git a/Demo_uPy_Basic/DataView.aadl b/Demo_uPy_Basic/DataView.aadl index a498fd9..d2bf8dd 100644 --- a/Demo_uPy_Basic/DataView.aadl +++ b/Demo_uPy_Basic/DataView.aadl @@ -1,5 +1,8 @@ -------------------------------------------------------- ---! File generated by asn2aadl v2.1.7: DO NOT EDIT ! +--! File generated by asn2aadl v2.1.9: DO NOT EDIT ! +-------------------------------------------------------- +--! InputASN1FileChecksum:a9122cdb85d1c71def8d81932bd1eb48:/home/taste/tool-src/testSuites/Demo_uPy_Basic/DataView.asn: +--! InputASN1FileChecksum:ee8a7e01f29874c0d50f437d5abb9599:/home/taste/tool-inst/share/taste-types/taste-types.asn: -------------------------------------------------------- package DataView @@ -40,7 +43,7 @@ data Stream_Element_Buffer properties Data_Model::Data_Representation => Character; end Stream_Element_Buffer; -DATA T_UInt32 +DATA T_Boolean PROPERTIES -- name of the ASN.1 source file: Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn"); @@ -48,38 +51,38 @@ PROPERTIES Deployment::ASN1_Module_Name => "TASTE-BasicTypes"; Source_Language => ASN1; -- Size of a buffer to cover all forms of message representation: - -- Real message size is 8; suggested aligned message buffer is... + -- Real message size is 1; suggested aligned message buffer is... Source_Data_Size => 8 Bytes; -- name of the corresponding data type in the source file: - Type_Source_Name => "T-UInt32"; + Type_Source_Name => "T-Boolean"; -- what kind of type is this? - TASTE::ASN1_Basic_Type =>aINTEGER; -END T_UInt32; + TASTE::ASN1_Basic_Type =>aBOOLEAN; +END T_Boolean; -DATA T_UInt32_Buffer_Max -END T_UInt32_Buffer_Max; +DATA T_Boolean_Buffer_Max +END T_Boolean_Buffer_Max; -DATA IMPLEMENTATION T_UInt32_Buffer_Max.impl - -- Buffer to hold a marshalled data of type T_UInt32 +DATA IMPLEMENTATION T_Boolean_Buffer_Max.impl + -- Buffer to hold a marshalled data of type T_Boolean PROPERTIES Data_Model::Data_Representation => array; Data_Model::Dimension => (8); -- Size of the buffer Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer)); -END T_UInt32_Buffer_Max.impl; +END T_Boolean_Buffer_Max.impl; -DATA T_UInt32_Buffer -END T_UInt32_Buffer; +DATA T_Boolean_Buffer +END T_Boolean_Buffer; -DATA IMPLEMENTATION T_UInt32_Buffer.impl - -- Buffer to hold a marshalled data of type T_UInt32 +DATA IMPLEMENTATION T_Boolean_Buffer.impl + -- Buffer to hold a marshalled data of type T_Boolean SUBCOMPONENTS - Buffer : data T_UInt32_Buffer_Max.impl; + Buffer : data T_Boolean_Buffer_Max.impl; Length : data Base_Types::Unsigned_32; PROPERTIES Data_Model::Data_Representation => Struct; -END T_UInt32_Buffer.impl; +END T_Boolean_Buffer.impl; -DATA MySeqOf +DATA MyBool PROPERTIES -- name of the ASN.1 source file: Source_Text => ("/home/taste/tool-src/testSuites/Demo_uPy_Basic/DataView.asn"); @@ -87,38 +90,38 @@ PROPERTIES Deployment::ASN1_Module_Name => "TASTE-Dataview"; Source_Language => ASN1; -- Size of a buffer to cover all forms of message representation: - -- Real message size is 8; suggested aligned message buffer is... + -- Real message size is 1; suggested aligned message buffer is... Source_Data_Size => 8 Bytes; -- name of the corresponding data type in the source file: - Type_Source_Name => "MySeqOf"; + Type_Source_Name => "MyBool"; -- what kind of type is this? - TASTE::ASN1_Basic_Type =>aSEQUENCEOF; -END MySeqOf; + TASTE::ASN1_Basic_Type =>aBOOLEAN; +END MyBool; -DATA MySeqOf_Buffer_Max -END MySeqOf_Buffer_Max; +DATA MyBool_Buffer_Max +END MyBool_Buffer_Max; -DATA IMPLEMENTATION MySeqOf_Buffer_Max.impl - -- Buffer to hold a marshalled data of type MySeqOf +DATA IMPLEMENTATION MyBool_Buffer_Max.impl + -- Buffer to hold a marshalled data of type MyBool PROPERTIES Data_Model::Data_Representation => array; Data_Model::Dimension => (8); -- Size of the buffer Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer)); -END MySeqOf_Buffer_Max.impl; +END MyBool_Buffer_Max.impl; -DATA MySeqOf_Buffer -END MySeqOf_Buffer; +DATA MyBool_Buffer +END MyBool_Buffer; -DATA IMPLEMENTATION MySeqOf_Buffer.impl - -- Buffer to hold a marshalled data of type MySeqOf +DATA IMPLEMENTATION MyBool_Buffer.impl + -- Buffer to hold a marshalled data of type MyBool SUBCOMPONENTS - Buffer : data MySeqOf_Buffer_Max.impl; + Buffer : data MyBool_Buffer_Max.impl; Length : data Base_Types::Unsigned_32; PROPERTIES Data_Model::Data_Representation => Struct; -END MySeqOf_Buffer.impl; +END MyBool_Buffer.impl; -DATA MyOctStr +DATA MyEnum PROPERTIES -- name of the ASN.1 source file: Source_Text => ("/home/taste/tool-src/testSuites/Demo_uPy_Basic/DataView.asn"); @@ -126,194 +129,194 @@ PROPERTIES Deployment::ASN1_Module_Name => "TASTE-Dataview"; Source_Language => ASN1; -- Size of a buffer to cover all forms of message representation: - -- Real message size is 3; suggested aligned message buffer is... + -- Real message size is 4; suggested aligned message buffer is... Source_Data_Size => 8 Bytes; -- name of the corresponding data type in the source file: - Type_Source_Name => "MyOctStr"; + Type_Source_Name => "MyEnum"; -- what kind of type is this? - TASTE::ASN1_Basic_Type =>aSTRING; -END MyOctStr; + TASTE::ASN1_Basic_Type =>aENUMERATED; +END MyEnum; -DATA MyOctStr_Buffer_Max -END MyOctStr_Buffer_Max; +DATA MyEnum_Buffer_Max +END MyEnum_Buffer_Max; -DATA IMPLEMENTATION MyOctStr_Buffer_Max.impl - -- Buffer to hold a marshalled data of type MyOctStr +DATA IMPLEMENTATION MyEnum_Buffer_Max.impl + -- Buffer to hold a marshalled data of type MyEnum PROPERTIES Data_Model::Data_Representation => array; Data_Model::Dimension => (8); -- Size of the buffer Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer)); -END MyOctStr_Buffer_Max.impl; +END MyEnum_Buffer_Max.impl; -DATA MyOctStr_Buffer -END MyOctStr_Buffer; +DATA MyEnum_Buffer +END MyEnum_Buffer; -DATA IMPLEMENTATION MyOctStr_Buffer.impl - -- Buffer to hold a marshalled data of type MyOctStr +DATA IMPLEMENTATION MyEnum_Buffer.impl + -- Buffer to hold a marshalled data of type MyEnum SUBCOMPONENTS - Buffer : data MyOctStr_Buffer_Max.impl; + Buffer : data MyEnum_Buffer_Max.impl; Length : data Base_Types::Unsigned_32; PROPERTIES Data_Model::Data_Representation => Struct; -END MyOctStr_Buffer.impl; +END MyEnum_Buffer.impl; -DATA T_Int32 +DATA MyInteger PROPERTIES -- name of the ASN.1 source file: - Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn"); - TASTE::Ada_Package_Name => "TASTE_BasicTypes"; - Deployment::ASN1_Module_Name => "TASTE-BasicTypes"; + Source_Text => ("/home/taste/tool-src/testSuites/Demo_uPy_Basic/DataView.asn"); + TASTE::Ada_Package_Name => "TASTE_Dataview"; + Deployment::ASN1_Module_Name => "TASTE-Dataview"; Source_Language => ASN1; -- Size of a buffer to cover all forms of message representation: -- Real message size is 8; suggested aligned message buffer is... Source_Data_Size => 8 Bytes; -- name of the corresponding data type in the source file: - Type_Source_Name => "T-Int32"; + Type_Source_Name => "MyInteger"; -- what kind of type is this? TASTE::ASN1_Basic_Type =>aINTEGER; -END T_Int32; +END MyInteger; -DATA T_Int32_Buffer_Max -END T_Int32_Buffer_Max; +DATA MyInteger_Buffer_Max +END MyInteger_Buffer_Max; -DATA IMPLEMENTATION T_Int32_Buffer_Max.impl - -- Buffer to hold a marshalled data of type T_Int32 +DATA IMPLEMENTATION MyInteger_Buffer_Max.impl + -- Buffer to hold a marshalled data of type MyInteger PROPERTIES Data_Model::Data_Representation => array; Data_Model::Dimension => (8); -- Size of the buffer Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer)); -END T_Int32_Buffer_Max.impl; +END MyInteger_Buffer_Max.impl; -DATA T_Int32_Buffer -END T_Int32_Buffer; +DATA MyInteger_Buffer +END MyInteger_Buffer; -DATA IMPLEMENTATION T_Int32_Buffer.impl - -- Buffer to hold a marshalled data of type T_Int32 +DATA IMPLEMENTATION MyInteger_Buffer.impl + -- Buffer to hold a marshalled data of type MyInteger SUBCOMPONENTS - Buffer : data T_Int32_Buffer_Max.impl; + Buffer : data MyInteger_Buffer_Max.impl; Length : data Base_Types::Unsigned_32; PROPERTIES Data_Model::Data_Representation => Struct; -END T_Int32_Buffer.impl; +END MyInteger_Buffer.impl; -DATA MyChoice +DATA T_UInt32 PROPERTIES -- name of the ASN.1 source file: - Source_Text => ("/home/taste/tool-src/testSuites/Demo_uPy_Basic/DataView.asn"); - TASTE::Ada_Package_Name => "TASTE_Dataview"; - Deployment::ASN1_Module_Name => "TASTE-Dataview"; + Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn"); + TASTE::Ada_Package_Name => "TASTE_BasicTypes"; + Deployment::ASN1_Module_Name => "TASTE-BasicTypes"; Source_Language => ASN1; -- Size of a buffer to cover all forms of message representation: - -- Real message size is 32; suggested aligned message buffer is... - Source_Data_Size => 32 Bytes; + -- Real message size is 8; suggested aligned message buffer is... + Source_Data_Size => 8 Bytes; -- name of the corresponding data type in the source file: - Type_Source_Name => "MyChoice"; + Type_Source_Name => "T-UInt32"; -- what kind of type is this? - TASTE::ASN1_Basic_Type =>aCHOICE; -END MyChoice; + TASTE::ASN1_Basic_Type =>aINTEGER; +END T_UInt32; -DATA MyChoice_Buffer_Max -END MyChoice_Buffer_Max; +DATA T_UInt32_Buffer_Max +END T_UInt32_Buffer_Max; -DATA IMPLEMENTATION MyChoice_Buffer_Max.impl - -- Buffer to hold a marshalled data of type MyChoice +DATA IMPLEMENTATION T_UInt32_Buffer_Max.impl + -- Buffer to hold a marshalled data of type T_UInt32 PROPERTIES Data_Model::Data_Representation => array; - Data_Model::Dimension => (32); -- Size of the buffer + Data_Model::Dimension => (8); -- Size of the buffer Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer)); -END MyChoice_Buffer_Max.impl; +END T_UInt32_Buffer_Max.impl; -DATA MyChoice_Buffer -END MyChoice_Buffer; +DATA T_UInt32_Buffer +END T_UInt32_Buffer; -DATA IMPLEMENTATION MyChoice_Buffer.impl - -- Buffer to hold a marshalled data of type MyChoice +DATA IMPLEMENTATION T_UInt32_Buffer.impl + -- Buffer to hold a marshalled data of type T_UInt32 SUBCOMPONENTS - Buffer : data MyChoice_Buffer_Max.impl; + Buffer : data T_UInt32_Buffer_Max.impl; Length : data Base_Types::Unsigned_32; PROPERTIES Data_Model::Data_Representation => Struct; -END MyChoice_Buffer.impl; +END T_UInt32_Buffer.impl; -DATA MyEnum +DATA T_Int8 PROPERTIES -- name of the ASN.1 source file: - Source_Text => ("/home/taste/tool-src/testSuites/Demo_uPy_Basic/DataView.asn"); - TASTE::Ada_Package_Name => "TASTE_Dataview"; - Deployment::ASN1_Module_Name => "TASTE-Dataview"; + Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn"); + TASTE::Ada_Package_Name => "TASTE_BasicTypes"; + Deployment::ASN1_Module_Name => "TASTE-BasicTypes"; Source_Language => ASN1; -- Size of a buffer to cover all forms of message representation: - -- Real message size is 4; suggested aligned message buffer is... + -- Real message size is 8; suggested aligned message buffer is... Source_Data_Size => 8 Bytes; -- name of the corresponding data type in the source file: - Type_Source_Name => "MyEnum"; + Type_Source_Name => "T-Int8"; -- what kind of type is this? - TASTE::ASN1_Basic_Type =>aENUMERATED; -END MyEnum; + TASTE::ASN1_Basic_Type =>aINTEGER; +END T_Int8; -DATA MyEnum_Buffer_Max -END MyEnum_Buffer_Max; +DATA T_Int8_Buffer_Max +END T_Int8_Buffer_Max; -DATA IMPLEMENTATION MyEnum_Buffer_Max.impl - -- Buffer to hold a marshalled data of type MyEnum +DATA IMPLEMENTATION T_Int8_Buffer_Max.impl + -- Buffer to hold a marshalled data of type T_Int8 PROPERTIES Data_Model::Data_Representation => array; Data_Model::Dimension => (8); -- Size of the buffer Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer)); -END MyEnum_Buffer_Max.impl; +END T_Int8_Buffer_Max.impl; -DATA MyEnum_Buffer -END MyEnum_Buffer; +DATA T_Int8_Buffer +END T_Int8_Buffer; -DATA IMPLEMENTATION MyEnum_Buffer.impl - -- Buffer to hold a marshalled data of type MyEnum +DATA IMPLEMENTATION T_Int8_Buffer.impl + -- Buffer to hold a marshalled data of type T_Int8 SUBCOMPONENTS - Buffer : data MyEnum_Buffer_Max.impl; + Buffer : data T_Int8_Buffer_Max.impl; Length : data Base_Types::Unsigned_32; PROPERTIES Data_Model::Data_Representation => Struct; -END MyEnum_Buffer.impl; +END T_Int8_Buffer.impl; -DATA MyBool +DATA T_Int32 PROPERTIES -- name of the ASN.1 source file: - Source_Text => ("/home/taste/tool-src/testSuites/Demo_uPy_Basic/DataView.asn"); - TASTE::Ada_Package_Name => "TASTE_Dataview"; - Deployment::ASN1_Module_Name => "TASTE-Dataview"; + Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn"); + TASTE::Ada_Package_Name => "TASTE_BasicTypes"; + Deployment::ASN1_Module_Name => "TASTE-BasicTypes"; Source_Language => ASN1; -- Size of a buffer to cover all forms of message representation: - -- Real message size is 1; suggested aligned message buffer is... + -- Real message size is 8; suggested aligned message buffer is... Source_Data_Size => 8 Bytes; -- name of the corresponding data type in the source file: - Type_Source_Name => "MyBool"; + Type_Source_Name => "T-Int32"; -- what kind of type is this? - TASTE::ASN1_Basic_Type =>aBOOLEAN; -END MyBool; + TASTE::ASN1_Basic_Type =>aINTEGER; +END T_Int32; -DATA MyBool_Buffer_Max -END MyBool_Buffer_Max; +DATA T_Int32_Buffer_Max +END T_Int32_Buffer_Max; -DATA IMPLEMENTATION MyBool_Buffer_Max.impl - -- Buffer to hold a marshalled data of type MyBool +DATA IMPLEMENTATION T_Int32_Buffer_Max.impl + -- Buffer to hold a marshalled data of type T_Int32 PROPERTIES Data_Model::Data_Representation => array; Data_Model::Dimension => (8); -- Size of the buffer Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer)); -END MyBool_Buffer_Max.impl; +END T_Int32_Buffer_Max.impl; -DATA MyBool_Buffer -END MyBool_Buffer; +DATA T_Int32_Buffer +END T_Int32_Buffer; -DATA IMPLEMENTATION MyBool_Buffer.impl - -- Buffer to hold a marshalled data of type MyBool +DATA IMPLEMENTATION T_Int32_Buffer.impl + -- Buffer to hold a marshalled data of type T_Int32 SUBCOMPONENTS - Buffer : data MyBool_Buffer_Max.impl; + Buffer : data T_Int32_Buffer_Max.impl; Length : data Base_Types::Unsigned_32; PROPERTIES Data_Model::Data_Representation => Struct; -END MyBool_Buffer.impl; +END T_Int32_Buffer.impl; -DATA MyReal +DATA MyOctStr PROPERTIES -- name of the ASN.1 source file: Source_Text => ("/home/taste/tool-src/testSuites/Demo_uPy_Basic/DataView.asn"); @@ -321,38 +324,38 @@ PROPERTIES Deployment::ASN1_Module_Name => "TASTE-Dataview"; Source_Language => ASN1; -- Size of a buffer to cover all forms of message representation: - -- Real message size is 13; suggested aligned message buffer is... - Source_Data_Size => 16 Bytes; + -- Real message size is 3; suggested aligned message buffer is... + Source_Data_Size => 8 Bytes; -- name of the corresponding data type in the source file: - Type_Source_Name => "MyReal"; + Type_Source_Name => "MyOctStr"; -- what kind of type is this? - TASTE::ASN1_Basic_Type =>aREAL; -END MyReal; + TASTE::ASN1_Basic_Type =>aSTRING; +END MyOctStr; -DATA MyReal_Buffer_Max -END MyReal_Buffer_Max; +DATA MyOctStr_Buffer_Max +END MyOctStr_Buffer_Max; -DATA IMPLEMENTATION MyReal_Buffer_Max.impl - -- Buffer to hold a marshalled data of type MyReal +DATA IMPLEMENTATION MyOctStr_Buffer_Max.impl + -- Buffer to hold a marshalled data of type MyOctStr PROPERTIES Data_Model::Data_Representation => array; - Data_Model::Dimension => (16); -- Size of the buffer + Data_Model::Dimension => (8); -- Size of the buffer Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer)); -END MyReal_Buffer_Max.impl; +END MyOctStr_Buffer_Max.impl; -DATA MyReal_Buffer -END MyReal_Buffer; +DATA MyOctStr_Buffer +END MyOctStr_Buffer; -DATA IMPLEMENTATION MyReal_Buffer.impl - -- Buffer to hold a marshalled data of type MyReal +DATA IMPLEMENTATION MyOctStr_Buffer.impl + -- Buffer to hold a marshalled data of type MyOctStr SUBCOMPONENTS - Buffer : data MyReal_Buffer_Max.impl; + Buffer : data MyOctStr_Buffer_Max.impl; Length : data Base_Types::Unsigned_32; PROPERTIES Data_Model::Data_Representation => Struct; -END MyReal_Buffer.impl; +END MyOctStr_Buffer.impl; -DATA MyInteger +DATA MyChoice PROPERTIES -- name of the ASN.1 source file: Source_Text => ("/home/taste/tool-src/testSuites/Demo_uPy_Basic/DataView.asn"); @@ -360,75 +363,75 @@ PROPERTIES Deployment::ASN1_Module_Name => "TASTE-Dataview"; Source_Language => ASN1; -- Size of a buffer to cover all forms of message representation: - -- Real message size is 8; suggested aligned message buffer is... - Source_Data_Size => 8 Bytes; + -- Real message size is 32; suggested aligned message buffer is... + Source_Data_Size => 32 Bytes; -- name of the corresponding data type in the source file: - Type_Source_Name => "MyInteger"; + Type_Source_Name => "MyChoice"; -- what kind of type is this? - TASTE::ASN1_Basic_Type =>aINTEGER; -END MyInteger; + TASTE::ASN1_Basic_Type =>aCHOICE; +END MyChoice; -DATA MyInteger_Buffer_Max -END MyInteger_Buffer_Max; +DATA MyChoice_Buffer_Max +END MyChoice_Buffer_Max; -DATA IMPLEMENTATION MyInteger_Buffer_Max.impl - -- Buffer to hold a marshalled data of type MyInteger +DATA IMPLEMENTATION MyChoice_Buffer_Max.impl + -- Buffer to hold a marshalled data of type MyChoice PROPERTIES Data_Model::Data_Representation => array; - Data_Model::Dimension => (8); -- Size of the buffer + Data_Model::Dimension => (32); -- Size of the buffer Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer)); -END MyInteger_Buffer_Max.impl; +END MyChoice_Buffer_Max.impl; -DATA MyInteger_Buffer -END MyInteger_Buffer; +DATA MyChoice_Buffer +END MyChoice_Buffer; -DATA IMPLEMENTATION MyInteger_Buffer.impl - -- Buffer to hold a marshalled data of type MyInteger +DATA IMPLEMENTATION MyChoice_Buffer.impl + -- Buffer to hold a marshalled data of type MyChoice SUBCOMPONENTS - Buffer : data MyInteger_Buffer_Max.impl; + Buffer : data MyChoice_Buffer_Max.impl; Length : data Base_Types::Unsigned_32; PROPERTIES Data_Model::Data_Representation => Struct; -END MyInteger_Buffer.impl; +END MyChoice_Buffer.impl; -DATA T_UInt8 +DATA MySeqOf PROPERTIES -- name of the ASN.1 source file: - Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn"); - TASTE::Ada_Package_Name => "TASTE_BasicTypes"; - Deployment::ASN1_Module_Name => "TASTE-BasicTypes"; + Source_Text => ("/home/taste/tool-src/testSuites/Demo_uPy_Basic/DataView.asn"); + TASTE::Ada_Package_Name => "TASTE_Dataview"; + Deployment::ASN1_Module_Name => "TASTE-Dataview"; Source_Language => ASN1; -- Size of a buffer to cover all forms of message representation: -- Real message size is 8; suggested aligned message buffer is... Source_Data_Size => 8 Bytes; -- name of the corresponding data type in the source file: - Type_Source_Name => "T-UInt8"; + Type_Source_Name => "MySeqOf"; -- what kind of type is this? - TASTE::ASN1_Basic_Type =>aINTEGER; -END T_UInt8; + TASTE::ASN1_Basic_Type =>aSEQUENCEOF; +END MySeqOf; -DATA T_UInt8_Buffer_Max -END T_UInt8_Buffer_Max; +DATA MySeqOf_Buffer_Max +END MySeqOf_Buffer_Max; -DATA IMPLEMENTATION T_UInt8_Buffer_Max.impl - -- Buffer to hold a marshalled data of type T_UInt8 +DATA IMPLEMENTATION MySeqOf_Buffer_Max.impl + -- Buffer to hold a marshalled data of type MySeqOf PROPERTIES Data_Model::Data_Representation => array; Data_Model::Dimension => (8); -- Size of the buffer Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer)); -END T_UInt8_Buffer_Max.impl; +END MySeqOf_Buffer_Max.impl; -DATA T_UInt8_Buffer -END T_UInt8_Buffer; +DATA MySeqOf_Buffer +END MySeqOf_Buffer; -DATA IMPLEMENTATION T_UInt8_Buffer.impl - -- Buffer to hold a marshalled data of type T_UInt8 +DATA IMPLEMENTATION MySeqOf_Buffer.impl + -- Buffer to hold a marshalled data of type MySeqOf SUBCOMPONENTS - Buffer : data T_UInt8_Buffer_Max.impl; + Buffer : data MySeqOf_Buffer_Max.impl; Length : data Base_Types::Unsigned_32; PROPERTIES Data_Model::Data_Representation => Struct; -END T_UInt8_Buffer.impl; +END MySeqOf_Buffer.impl; DATA MySeq PROPERTIES @@ -469,7 +472,7 @@ PROPERTIES Data_Model::Data_Representation => Struct; END MySeq_Buffer.impl; -DATA T_Boolean +DATA T_UInt8 PROPERTIES -- name of the ASN.1 source file: Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn"); @@ -477,74 +480,74 @@ PROPERTIES Deployment::ASN1_Module_Name => "TASTE-BasicTypes"; Source_Language => ASN1; -- Size of a buffer to cover all forms of message representation: - -- Real message size is 1; suggested aligned message buffer is... + -- Real message size is 8; suggested aligned message buffer is... Source_Data_Size => 8 Bytes; -- name of the corresponding data type in the source file: - Type_Source_Name => "T-Boolean"; + Type_Source_Name => "T-UInt8"; -- what kind of type is this? - TASTE::ASN1_Basic_Type =>aBOOLEAN; -END T_Boolean; + TASTE::ASN1_Basic_Type =>aINTEGER; +END T_UInt8; -DATA T_Boolean_Buffer_Max -END T_Boolean_Buffer_Max; +DATA T_UInt8_Buffer_Max +END T_UInt8_Buffer_Max; -DATA IMPLEMENTATION T_Boolean_Buffer_Max.impl - -- Buffer to hold a marshalled data of type T_Boolean +DATA IMPLEMENTATION T_UInt8_Buffer_Max.impl + -- Buffer to hold a marshalled data of type T_UInt8 PROPERTIES Data_Model::Data_Representation => array; Data_Model::Dimension => (8); -- Size of the buffer Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer)); -END T_Boolean_Buffer_Max.impl; +END T_UInt8_Buffer_Max.impl; -DATA T_Boolean_Buffer -END T_Boolean_Buffer; +DATA T_UInt8_Buffer +END T_UInt8_Buffer; -DATA IMPLEMENTATION T_Boolean_Buffer.impl - -- Buffer to hold a marshalled data of type T_Boolean +DATA IMPLEMENTATION T_UInt8_Buffer.impl + -- Buffer to hold a marshalled data of type T_UInt8 SUBCOMPONENTS - Buffer : data T_Boolean_Buffer_Max.impl; + Buffer : data T_UInt8_Buffer_Max.impl; Length : data Base_Types::Unsigned_32; PROPERTIES Data_Model::Data_Representation => Struct; -END T_Boolean_Buffer.impl; +END T_UInt8_Buffer.impl; -DATA T_Int8 +DATA MyReal PROPERTIES -- name of the ASN.1 source file: - Source_Text => ("/home/taste/tool-inst/share/taste-types/taste-types.asn"); - TASTE::Ada_Package_Name => "TASTE_BasicTypes"; - Deployment::ASN1_Module_Name => "TASTE-BasicTypes"; + Source_Text => ("/home/taste/tool-src/testSuites/Demo_uPy_Basic/DataView.asn"); + TASTE::Ada_Package_Name => "TASTE_Dataview"; + Deployment::ASN1_Module_Name => "TASTE-Dataview"; Source_Language => ASN1; -- Size of a buffer to cover all forms of message representation: - -- Real message size is 8; suggested aligned message buffer is... - Source_Data_Size => 8 Bytes; + -- Real message size is 13; suggested aligned message buffer is... + Source_Data_Size => 16 Bytes; -- name of the corresponding data type in the source file: - Type_Source_Name => "T-Int8"; + Type_Source_Name => "MyReal"; -- what kind of type is this? - TASTE::ASN1_Basic_Type =>aINTEGER; -END T_Int8; + TASTE::ASN1_Basic_Type =>aREAL; +END MyReal; -DATA T_Int8_Buffer_Max -END T_Int8_Buffer_Max; +DATA MyReal_Buffer_Max +END MyReal_Buffer_Max; -DATA IMPLEMENTATION T_Int8_Buffer_Max.impl - -- Buffer to hold a marshalled data of type T_Int8 +DATA IMPLEMENTATION MyReal_Buffer_Max.impl + -- Buffer to hold a marshalled data of type MyReal PROPERTIES Data_Model::Data_Representation => array; - Data_Model::Dimension => (8); -- Size of the buffer + Data_Model::Dimension => (16); -- Size of the buffer Data_Model::Base_Type => (classifier (DataView::Stream_Element_Buffer)); -END T_Int8_Buffer_Max.impl; +END MyReal_Buffer_Max.impl; -DATA T_Int8_Buffer -END T_Int8_Buffer; +DATA MyReal_Buffer +END MyReal_Buffer; -DATA IMPLEMENTATION T_Int8_Buffer.impl - -- Buffer to hold a marshalled data of type T_Int8 +DATA IMPLEMENTATION MyReal_Buffer.impl + -- Buffer to hold a marshalled data of type MyReal SUBCOMPONENTS - Buffer : data T_Int8_Buffer_Max.impl; + Buffer : data MyReal_Buffer_Max.impl; Length : data Base_Types::Unsigned_32; PROPERTIES Data_Model::Data_Representation => Struct; -END T_Int8_Buffer.impl; +END MyReal_Buffer.impl; end DataView; -- GitLab