Commit fb966160 authored by TASTE User's avatar TASTE User
Browse files

add to data model: packet-type, secondary header flag, apid, sequence flags

parent ff75d3e3
This diff is collapsed.
TASTE-Dataview DEFINITIONS ::= BEGIN
Taps DEFINITIONS ::= BEGIN
APID[encoding pos-int, encode-values, size 11]
TC[]{
packet-version-no NULL [pattern '000'B],
packet-type NULL [pattern '1'B], -- 1 for TC, 0 for TM
has-secondary-hdr NULL [pattern '1'B], -- !!! 0 for cpdu packets
dest-apid [],
sequence-flags NULL [pattern '11'B]
}
TM[]{
packet-version-no NULL [pattern '000'B],
packet-type NULL [pattern '0'B], -- 1 for TC, 0 for TM
has-secondary-hdr NULL [pattern '1'B], -- !!! 0 for time packets
source-apid [],
sequence-flags NULL [pattern '11'B]
}
END
TASTE-Dataview DEFINITIONS ::= BEGIN
Test-TC[]
Test-TM[]
Test-failureCodes[]
......
PUS-Implicit-Knowledge DEFINITIONS ::=
BEGIN
TC-type ::= SEQUENCE {
TC-type {APID} ::= SEQUENCE {
dest-apid APID
}
TM-type {APID} ::= SEQUENCE {
source-apid APID
}
END
......@@ -9,23 +13,26 @@ END
Taps DEFINITIONS ::=
BEGIN
IMPORTS TC-type
IMPORTS TC-type, TM-type
FROM PUS-Implicit-Knowledge;
-- Instantiate the Telecommand type
TC ::= TC-type
END
TASTE-Dataview DEFINITIONS ::=
BEGIN
IMPORTS T-Int32, T-UInt32, T-Int8, T-UInt8, T-Boolean FROM TASTE-BasicTypes;
-- taps specific
APID ::= ENUMERATED {
APID ::= ENUMERATED { --let ACN manage the "11 bits" constraint
ground(1),
sc-routing(2),
sc-sensorA(3),
sc-sensorB(4),
sc-cpdu(5)
}
-- Instantiate the Telecommand type
TC ::= TC-type{APID}
-- Instantiate the Telemetry type
TM ::= TM-type{APID}
END
TASTE-Dataview DEFINITIONS ::=
BEGIN
IMPORTS T-Int32, T-UInt32, T-Int8, T-UInt8, T-Boolean FROM TASTE-BasicTypes;
Secondary-Header {APID} ::= SEQUENCE {
source-id APID
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment