Commit 40a9a359 authored by Daniel Tonoiu's avatar Daniel Tonoiu
Browse files

implement the event reporting and the on-board monitoring services

parent 425fc9bc
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -16,15 +16,20 @@ Taps DEFINITIONS ::= BEGIN
TC-2-1 []
TC-2-4 []
TCs <TYPE8b-ID: tc-type, TYPE8b-ID: tc-subtype> [] {
tc2-1 [present-when tc-type==2 tc-subtype==1],
tc2-4 [present-when tc-type==2 tc-subtype==4],
tc3-1 [present-when tc-type==3 tc-subtype==1],
tc3-3 [present-when tc-type==3 tc-subtype==3],
tc3-5 [present-when tc-type==3 tc-subtype==5],
tc3-6 [present-when tc-type==3 tc-subtype==6],
tc3-9 [present-when tc-type==3 tc-subtype==9],
tc3-27 [present-when tc-type==3 tc-subtype==27],
tc3-31 [present-when tc-type==3 tc-subtype==31]
tc2-1 [present-when tc-type==2 tc-subtype==1],
tc2-4 [present-when tc-type==2 tc-subtype==4],
tc3-1 [present-when tc-type==3 tc-subtype==1],
tc3-3 [present-when tc-type==3 tc-subtype==3],
tc3-5 [present-when tc-type==3 tc-subtype==5],
tc3-6 [present-when tc-type==3 tc-subtype==6],
tc3-9 [present-when tc-type==3 tc-subtype==9],
tc3-27 [present-when tc-type==3 tc-subtype==27],
tc3-31 [present-when tc-type==3 tc-subtype==31],
tc12-1 [present-when tc-type==12 tc-subtype==1],
tc12-2 [present-when tc-type==12 tc-subtype==2],
tc12-13 [present-when tc-type==12 tc-subtype==13],
tc12-15 [present-when tc-type==12 tc-subtype==15],
tc12-16 [present-when tc-type==12 tc-subtype==16]
}
Telecommand[]{
......@@ -60,17 +65,23 @@ Taps DEFINITIONS ::= BEGIN
TM-1-8 []
TM-1-10 []
TMs <TYPE8b-ID: tm-type, TYPE8b-ID: tm-subtype> [] {
tm1-1 [present-when tm-type==1 tm-subtype==1],
tm1-2 [present-when tm-type==1 tm-subtype==2],
tm1-3 [present-when tm-type==1 tm-subtype==3],
tm1-4 [present-when tm-type==1 tm-subtype==4],
tm1-5 [present-when tm-type==1 tm-subtype==5],
tm1-6 [present-when tm-type==1 tm-subtype==6],
tm1-7 [present-when tm-type==1 tm-subtype==7],
tm1-8 [present-when tm-type==1 tm-subtype==8],
tm1-10 [present-when tm-type==1 tm-subtype==10],
tm3-10 [present-when tm-type==3 tm-subtype==10],
tm3-25 [present-when tm-type==3 tm-subtype==25]
tm1-1 [present-when tm-type==1 tm-subtype==1],
tm1-2 [present-when tm-type==1 tm-subtype==2],
tm1-3 [present-when tm-type==1 tm-subtype==3],
tm1-4 [present-when tm-type==1 tm-subtype==4],
tm1-5 [present-when tm-type==1 tm-subtype==5],
tm1-6 [present-when tm-type==1 tm-subtype==6],
tm1-7 [present-when tm-type==1 tm-subtype==7],
tm1-8 [present-when tm-type==1 tm-subtype==8],
tm1-10 [present-when tm-type==1 tm-subtype==10],
tm3-10 [present-when tm-type==3 tm-subtype==10],
tm3-25 [present-when tm-type==3 tm-subtype==25],
tm5-1 [present-when tm-type==5 tm-subtype==1],
tm5-2 [present-when tm-type==5 tm-subtype==2],
tm5-3 [present-when tm-type==5 tm-subtype==3],
tm5-4 [present-when tm-type==5 tm-subtype==4],
tm12-12 [present-when tm-type==12 tm-subtype==12],
tm12-14 [present-when tm-type==12 tm-subtype==14]
}
TM[]{
packet-version-no NULL [pattern '000'B],
......@@ -105,16 +116,3 @@ Taps DEFINITIONS ::= BEGIN
END
TASTE-Dataview DEFINITIONS ::= BEGIN
Test-TC[]
Test-TM[]
Test-failureCodes[]
MyInteger[]
MyReal[]
MyBool[]
MyEnum[]
MySeq[]
MyChoice[]
MySeqOf[]
MyOctStr[]
END
......@@ -80,7 +80,9 @@ TM-1-type1 {Request-ID, Failure-Notice} ::= SEQUENCE {
}
END
-- Generic definition of HK service
--************************************************************************************************************************************************* ST[03]
-- Generic definitions for HK service ST[03]
HK-Service-Structures DEFINITIONS ::=
BEGIN
Simply-HK-IDs{INTEGER: n1-max, Simply-HK-Parameter-ID} ::= SEQUENCE (SIZE (0..n1-max)) OF Simply-HK-Parameter-ID
......@@ -128,6 +130,121 @@ HK-Parameter-Report{HK-Structure-ID, HK-Parameter-Value} ::= SEQUENCE {
END
--************************************************************************************************************************************************* ST[05]
-- Generic definitions for the Event reporting ST[05] service
Event-Reporting-Structures DEFINITIONS ::=
BEGIN
-- The source data for event reports; types TM[5,1-4]: informative, low/medium/high severity level
Event-Report {Event-Definition-ID, Auxiliary-Data} ::= SEQUENCE {
event-def-id Event-Definition-ID,
aux-data Auxiliary-Data
}
-- the event definition type
Event-Definition {Event-Definition-ID, Auxiliary-Data} ::= SEQUENCE {
event-def-id Event-Definition-ID,
aux-data Auxiliary-Data,
severity ENUMERATED { informative, low-severity, medium-severity, high-severity }
}
-- the list of project event definitions
Event-Definitions-List{INTEGER: event-List-Size, Event-Definition} ::= SEQUENCE ( SIZE(event-List-Size) ) OF Event-Definition
-- the st[05] event reporting observables
Events-No{INTEGER: maxEventsNo} ::= INTEGER(0..maxEventsNo)
END
--************************************************************************************************************************************************* ST[12]
-- Generic definitions for the On-board monitoring service ST[12] service
Parameter-Monitoring-Structures DEFINITIONS ::=
BEGIN
-- define a status called the 'PMON function status' that indicates if the overall parameter monitoring function is enabled or disabled
PMON-function-status ::= ENUMERATED { enabled, disabled }
-- define for each parameter monitoring definition a status called the 'PMON status'
PMON-status ::= ENUMERATED { enabled, disabled }
--define for each parameter monitoring definition a status called the 'PMON checking status'
PMON-limit-check-status ::= ENUMERATED { unchecked, invalid, within-limits, below-low-limit, above-high-limit}
PMON-exp-value-check-status ::= ENUMERATED { unchecked, invalid, expected-value, unexpected-value}
-- the parameter monitoring definition
Parameter-Monitoring-Definition {Param-Monitor-Def-ID, On-Board-Param-ID, RepetitionNo, Definition-Check-Type} ::= SEQUENCE {
param-monitor-def-id Param-Monitor-Def-ID,
on-board-parameter-id On-Board-Param-ID,
repetition-No RepetitionNo,
check-type Definition-Check-Type,
pmon-stat PMON-status
}
-- the limit check type definition
Limit-Check {Limit-Type, Event-Definition-ID} ::= SEQUENCE {
lower-limit Limit-Type,
lower-event-id Event-Definition-ID,
upper-limit Limit-Type,
upper-event-id Event-Definition-ID,
pmon-limit-check-stat PMON-limit-check-status
}
-- the expected value check type definition
Expected-Value-Check {Expected-Value-Type, Mask-Type, Event-Definition-ID} ::= SEQUENCE {
expected-value Expected-Value-Type,
mask Mask-Type,
unexpected-event-id Event-Definition-ID,
pmon-exp-val-check-stat PMON-exp-value-check-status
}
-- the generic PMON list of parameter monitoring definitions
Param-Monitor-Def-List{INTEGER: paramMonitor-Defs-No, Parameter-Monitoring-Definition} ::= SEQUENCE ( SIZE(paramMonitor-Defs-No) ) OF Parameter-Monitoring-Definition
-- enable and disable the parameter monitoring function
TC-12-15 ::= SEQUENCE {}
TC-12-16 ::= SEQUENCE {}
-- report the status of each parameter monitoring definition
TC-12-13 ::= SEQUENCE {}
-- define a list of repetition counters, one for each parameter monitoring definition
Repetition-Counter-List{INTEGER: paramMonitor-Defs-No, RepCounter} ::= SEQUENCE ( SIZE(1 .. paramMonitor-Defs-No) ) OF RepCounter
-- enable/disable the parameter monitoring definitions (TC[12,1] & TC[12,2])
Setting-Param-Monitoring-Def{INTEGER: paramMonitor-Defs-No, Param-Monitor-Def-ID} ::= SEQUENCE ( SIZE(1 .. paramMonitor-Defs-No) ) OF Param-Monitor-Def-ID
-- define the parameter monitoring definition status report - TM[12,14]
Report-Def-Status{Param-Monitor-Def-ID} ::= SEQUENCE {
param-monitor-def-id Param-Monitor-Def-ID,
pmon-stat PMON-status
}
Report-Definitions-Status{INTEGER: paramMonitor-Defs-No, Report-Def-Status} ::= SEQUENCE ( SIZE(paramMonitor-Defs-No) ) OF Report-Def-Status
--......................................................
-- check transit report TM[12,12]
Check-Transition-Report {INTEGER: maxReportSize, Check-Transit-Notification} ::= SEQUENCE (SIZE(1..maxReportSize)) OF Check-Transit-Notification
Check-Transit-Notification{Param-Monitor-Def-ID, Param-ID, Transition-Type, Time-Type} ::= SEQUENCE {
pmon-id Param-Monitor-Def-ID,
param-id Param-ID,
check-type ENUMERATED {limit-check, expected-value-check},
transition Transition-Type,
transition-time Time-Type
}
-- transition data for limit or expected value checks
Transition-Type{Limit-Transition, Exp-Value-Transition} ::= CHOICE {
limit-check-trans Limit-Transition,
exp-value-trans Exp-Value-Transition
}
Limit-Transition{Parameter-Value, PMON-check-status} ::= SEQUENCE {
paramVal Parameter-Value,
limitCrossed Parameter-Value,
prevPMON-check-status PMON-check-status,
currentPMON-check-status PMON-check-status
}
Exp-Value-Transition{Mask-Type, Parameter-Value, PMON-check-status} ::= SEQUENCE {
mask Mask-Type,
paramVal Parameter-Value,
limitCrossed Parameter-Value,
prevPMON-check-status PMON-check-status,
currentPMON-check-status PMON-check-status
}
END
--++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Taps DEFINITIONS ::=
BEGIN
IMPORTS Pulse-Instruction,
......@@ -151,12 +268,24 @@ FROM PUS-Implicit-Knowledge
HK-CollectionInterval,
HK-Parameters-List,
HK-Parameter-Report
FROM HK-Service-Structures;
FROM HK-Service-Structures
Event-Report, Event-Definition, Event-Definitions-List, Events-No
FROM Event-Reporting-Structures
Parameter-Monitoring-Definition , Limit-Check , Expected-Value-Check , Param-Monitor-Def-List, TC-12-15, TC-12-16,
Repetition-Counter-List, Setting-Param-Monitoring-Def, TC-12-13, Report-Def-Status, Report-Definitions-Status,
Check-Transition-Report, Check-Transit-Notification, Transition-Type, Limit-Transition, Exp-Value-Transition,
PMON-exp-value-check-status, PMON-limit-check-status
FROM Parameter-Monitoring-Structures
T-UInt8, T-UInt32
FROM TASTE-BasicTypes;
-- for acn TC packet secondary header type & subtype
TYPE8b-ID ::= INTEGER (0..255)
SEQ-COUNT ::= INTEGER(0..16383)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- taps inst
-- instantiate project specific data structures
APID ::= ENUMERATED { --let ACN manage the "11 bits" constraint
time-rep-AP(0),
ground-AP(1),
......@@ -166,7 +295,19 @@ APID ::= ENUMERATED { --let ACN manage the "11 bits" constraint
cpdu1-AP(5),
cpdu2-AP(6),
hk-report-AP(7),
params-statistics-AP(8)
params-statistics-AP(8),
event-rep-AP(9),
raw-mem-AP(10),
common-mem-AP(11),
config-mem-AP(12),
st13-send-AP(13),
st13-receive-AP(14),
schedule-AP(15),
storage-AP(16),
test-AP(17),
event-action-AP(18),
param-manage-AP(19),
file-manage-AP(20)
}
APUserID ::= ENUMERATED { --let ACN manage the "16 bits" constraint
......@@ -177,6 +318,9 @@ APUserID ::= ENUMERATED { --let ACN manage the "16 bits" constraint
sc-cpdu-User(5)
}
-- the identifiers of the on-board parameters
On-board-params-IDs::= ENUMERATED { s1-vcc(5), s1-stat(6) }
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ST[02] inst
-- On-off device addresses , ACN manage the "32 bits" constraint
On-off-dev-addr ::= ENUMERATED {
onAddr(61136),
......@@ -212,7 +356,7 @@ CPDU-Cmd ::= CPDU-Command {CPDU-Ids, Pulse-Instr-Instance, max-Instr-No}
-- Instantiate the TC-2-4
TC-2-4 ::= Distribute-CPDU-Commands {CPDU-Cmd, max-CPDU-Cmds}
---------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ST[03] inst
-- instantiate HK service data structures
-- collection interval parameter, units of MSI - minimum sampling interval
......@@ -292,18 +436,145 @@ Sensor2-Output ::= ENUMERATED {
s2v2(1),
s2v3(2)
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ST[05] inst
-- instantiate Event reporting ST[05] service data structures
-- the event definition identifier unique to the host application process
Event-Definition-ID-inst ::= ENUMERATED {
bll-ID,
ahl-ID,
uv-ID
}
-- auxiliary data for on board monitoring service events
Auxiliary-Data-inst ::= ENUMERATED {
below-low-limit,
above-high-limit,
unexpected-value
}
-- instantiate the Event Report structure
Event-Report-inst ::= Event-Report{Event-Definition-ID-inst, Auxiliary-Data-inst}
-- instantiate the TM[5,1] informative event report
TM-5-1 ::= Event-Report{Event-Definition-ID-inst, Auxiliary-Data-inst}
-- instantiate the TM[5,2] low severity anomaly report;
TM-5-2 ::= Event-Report{Event-Definition-ID-inst, Auxiliary-Data-inst}
-- instantiate the TM[5,3] medium severity anomaly report
TM-5-3 ::= Event-Report{Event-Definition-ID-inst, Auxiliary-Data-inst}
-- instantiate the TM[5,4] high severity anomaly report
TM-5-4 ::= Event-Report{Event-Definition-ID-inst, Auxiliary-Data-inst}
-- instantiate the taps Event Definition
Event-Definition-inst ::= Event-Definition{Event-Definition-ID-inst, Auxiliary-Data-inst}
-- the no of event definitions
event-Defs-No INTEGER(0..255) ::= 3
-- access the event definition list
EventDef-Index ::= INTEGER (1..event-Defs-No)
-- make a list of taps event definitions
Event-Definitions-List-inst ::= Event-Definitions-List{ event-Defs-No, Event-Definition-inst}
-- define the project event definitions
event-def-01 Event-Definition-inst ::= {event-def-id bll-ID, aux-data below-low-limit, severity high-severity}
--event-def-01 Event-Definition-inst ::= {event-def-id bbl-ID, aux-data below-low-limit, severity informative}
event-def-02 Event-Definition-inst ::= {event-def-id ahl-ID, aux-data above-high-limit, severity high-severity}
--event-def-02 Event-Definition-inst ::= {event-def-id ahl-ID, aux-data above-high-limit, severity low-severity}
event-def-03 Event-Definition-inst ::= {event-def-id uv-ID, aux-data unexpected-value, severity medium-severity}
taps-event-definitions Event-Definitions-List-inst ::= { event-def-01, event-def-02, event-def-03}
-- instantiate observable related data types
maxEventsNo INTEGER ::= 100000
Events-No-Inst ::= Events-No{maxEventsNo}
maxEventNoInst Events-No-Inst ::= maxEventsNo
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ST[12] inst
-- instantiate On-board monitoring ST[12] service data structures
-- define the sensor 1 status
S1-status ::= ENUMERATED { off(0), on(1) }
-- the identifiers of the parameter monitoring definitions
Param-Monitor-Def-ID-inst ::= ENUMERATED { param-def-ID-01, param-def-ID-02 }
-- the repetition no = the no. of consecutive and consistent checks that will set a new checking status
RepetitionNo-inst ::= INTEGER(1..255)
-- the no of parameter monitoring definitions
paramMonitor-Defs-No INTEGER(1..255) ::= 2
-- access the parameter monitoring definition list
Param-Def-Index ::= INTEGER (1..paramMonitor-Defs-No)
-- instatiate the repetition no for each parameter monitoring definition
RepetitionNo-List-inst ::= Repetition-Counter-List{paramMonitor-Defs-No, RepetitionNo-inst }
repNo-01 RepetitionNo-inst ::= 2
repNo-02 RepetitionNo-inst ::= 2
repNo-list RepetitionNo-List-inst ::= {repNo-01, repNo-02}
-- instantiate the repetition counter list
RepCounter ::= INTEGER(0..paramMonitor-Defs-No)
Repetition-Counter-List-inst ::= Repetition-Counter-List{paramMonitor-Defs-No, RepCounter}
-- instantiate the parameter limit type
Limit-Type-inst ::= INTEGER(0..255)
-- instantiate the mask type
Mask-Type-inst ::= INTEGER(1..255)
-- instantiate the limit check definition
Definition-Limit-Check ::= Limit-Check {Limit-Type-inst, Event-Definition-ID-inst}
-- instantiate the expected value check definition
Definition-Expected-Value-Check ::= Expected-Value-Check {S1-status, Mask-Type-inst, Event-Definition-ID-inst}
-- instantiate the definition check type as a choice between the 2 types of check
Definition-Check-Type ::= CHOICE {
limit-check Definition-Limit-Check,
exp-value-check Definition-Expected-Value-Check
}
-- instantiate the Parameter Monitoring Definition
Parameter-Monitoring-Definition-inst ::= Parameter-Monitoring-Definition{Param-Monitor-Def-ID-inst , On-board-params-IDs, RepetitionNo-inst, Definition-Check-Type}
-- instantiate a limit check definition
def-Limit-Check-01 Definition-Limit-Check ::= {lower-limit 10, lower-event-id bll-ID, upper-limit 14, upper-event-id ahl-ID, pmon-limit-check-stat invalid}
-- instantiate an expected value check definition
def-Expected-Value-Check-01 Definition-Expected-Value-Check ::= {expected-value on, mask 1, unexpected-event-id uv-ID, pmon-exp-val-check-stat invalid}
-- define 2 check definitions
def-Check-Type-01 Definition-Check-Type ::= limit-check: def-Limit-Check-01
def-Check-Type-02 Definition-Check-Type ::= exp-value-check: def-Expected-Value-Check-01
-- define the project parameter monitoring definitions
def-Parameter-Monitoring-01 Parameter-Monitoring-Definition-inst ::= {param-monitor-def-id param-def-ID-01, on-board-parameter-id s1-vcc, repetition-No repNo-01, check-type def-Check-Type-01, pmon-stat enabled}
def-Parameter-Monitoring-02 Parameter-Monitoring-Definition-inst ::= {param-monitor-def-id param-def-ID-02, on-board-parameter-id s1-stat, repetition-No repNo-02, check-type def-Check-Type-02, pmon-stat enabled}
-- make a list of taps parameter monitoring definitions - PMON list
Param-Monitor-Def-List-inst ::= Param-Monitor-Def-List{ paramMonitor-Defs-No, Parameter-Monitoring-Definition-inst}
taps-param-monitor-defs Param-Monitor-Def-List-inst ::= {def-Parameter-Monitoring-01, def-Parameter-Monitoring-02}
-- instantiate TC[12,1] & TC[12,2]: enable/disable the parameter monitoring definitions
Setting-Param-Monitoring-Def-inst ::= Setting-Param-Monitoring-Def{paramMonitor-Defs-No, Param-Monitor-Def-ID-inst }
TC-12-1 ::= Setting-Param-Monitoring-Def-inst
TC-12-2 ::= Setting-Param-Monitoring-Def-inst
-- instantiate the parameter monitoring definition status report
Report-Def-Status-inst ::= Report-Def-Status{Param-Monitor-Def-ID-inst}
TM-12-14 ::= Report-Definitions-Status{paramMonitor-Defs-No, Report-Def-Status-inst}
-- instantiate the TM[12,12] check transition report
Exp-Value-Transition-inst ::= Exp-Value-Transition{Mask-Type-inst, S1-status, PMON-exp-value-check-status}
Limit-Transition-inst ::= Limit-Transition{Limit-Type-inst, PMON-limit-check-status}
Transition-Type-inst ::= Transition-Type{Limit-Transition-inst, Exp-Value-Transition-inst}
Check-Transit-Notification-inst ::= Check-Transit-Notification{ Param-Monitor-Def-ID-inst, On-board-params-IDs, Transition-Type-inst, T-UInt32}
-- the maximum no of transitions required for issuing a check transition report (CTR)
maxCTR INTEGER(1..255) ::= 2
--TM-12-12 ::= Check-Transition-Report{maxCTR, Check-Transit-Notification-inst}
TM-12-12 ::= Check-Transit-Notification-inst
IndexCTR ::= INTEGER(1..maxCTR)
-- implementation data structures
New-checkStatus ::= SEQUENCE ( SIZE(paramMonitor-Defs-No) ) OF BOOLEAN
First-check ::= SEQUENCE ( SIZE(paramMonitor-Defs-No) ) OF BOOLEAN
--------------------------------------------------------------------------------------------------------------------------------------------------
-- Instantiate the project list of TC
TCs ::= CHOICE {
tc2-1 TC-2-1,
tc2-4 TC-2-4,
tc3-1 TC-3-1,
tc3-3 TC-3-3,
tc3-5 TC-3-5,
tc3-6 TC-3-6,
tc3-9 TC-3-9,
tc3-27 TC-3-27,
tc3-31 TC-3-31
tc2-1 TC-2-1,
tc2-4 TC-2-4,
tc3-1 TC-3-1,
tc3-3 TC-3-3,
tc3-5 TC-3-5,
tc3-6 TC-3-6,
tc3-9 TC-3-9,
tc3-27 TC-3-27,
tc3-31 TC-3-31,
tc12-1 TC-12-1,
tc12-2 TC-12-2,
tc12-13 TC-12-13,
tc12-15 TC-12-15,
tc12-16 TC-12-16
}
-- Instantiate the generic TC-type
......@@ -398,66 +669,89 @@ TM-1-10 ::= TM-1-type1 {Request-ID-inst, Failure-Notice-tm-1-10}
-- Instantiate the project list of TM
TMs ::= CHOICE {
tm1-1 TM-1-1,
tm1-2 TM-1-2,
tm1-3 TM-1-3,
tm1-4 TM-1-4,
tm1-5 TM-1-5,
tm1-6 TM-1-6,
tm1-7 TM-1-7,
tm1-8 TM-1-8,
tm1-10 TM-1-10,
tm3-10 TM-3-10,
tm3-25 TM-3-25
tm1-1 TM-1-1,
tm1-2 TM-1-2,
tm1-3 TM-1-3,
tm1-4 TM-1-4,
tm1-5 TM-1-5,
tm1-6 TM-1-6,
tm1-7 TM-1-7,
tm1-8 TM-1-8,
tm1-10 TM-1-10,
tm3-10 TM-3-10,
tm3-25 TM-3-25,
tm5-1 TM-5-1,
tm5-2 TM-5-2,
tm5-3 TM-5-3,
tm5-4 TM-5-4,
tm12-12 TM-12-12,
tm12-14 TM-12-14
}
-- Instantiate the Telemetry type
TM ::= TM-type{APID, APUserID, TMs}
END
TASTE-Dataview DEFINITIONS ::=
--============================================================================================================= Taps Test Structures
Taps-Test-Structures DEFINITIONS ::=
BEGIN
IMPORTS T-Int32, T-UInt32, T-Int8, T-UInt8, T-Boolean
FROM TASTE-BasicTypes
CPDU-status
FROM Taps;
IMPORTS CPDU-status, Event-Definition-ID-inst, S1-status
FROM Taps
T-UInt8, T-UInt32
FROM TASTE-BasicTypes;
Secondary-Header {APID} ::= SEQUENCE {
source-id APID
ST01RoutingTestParams ::= SEQUENCE {
crcTest BOOLEAN
}
-- testing data
Test-TC ::= SEQUENCE {
identifierRequest T-UInt32,
cpduID T-UInt8,
crc BOOLEAN
ST01AcceptanceTestParams ::= SEQUENCE {
crcTest BOOLEAN,
serviceAvailableTest BOOLEAN,
ready BOOLEAN
}
Test-TM ::= SEQUENCE{
failureCodes Test-failureCodes,
sourceID T-UInt32
ST01ExecutionTestParams ::= SEQUENCE {
execStart BOOLEAN,
execProgress BOOLEAN,
execCompletion BOOLEAN
}
ST12OnBoardMonitoringTest ::= SEQUENCE {
v-cc T-UInt8,
s1-stat S1-status
}
Test-failureCodes ::= ENUMERATED {crcFailure, destinationNotFound, destinationNotReady}
Test-Taps-Parameters ::= CHOICE {
testST01Routing ST01RoutingTestParams,
testST01Acceptance ST01AcceptanceTestParams,
testST01Execution ST01ExecutionTestParams,
testCPDU1status CPDU-status,
testCPDU2status CPDU-status
testCPDU2status CPDU-status,
testEvents Event-Definition-ID-inst,
testST12OnBoardMonitor ST12OnBoardMonitoringTest
}
ST01AcceptanceTestParams ::= SEQUENCE{
crcTest BOOLEAN,
serviceAvailableTest BOOLEAN,
ready BOOLEAN
Test-failureCodes ::= ENUMERATED {crcFailure, destinationNotFound, destinationNotReady}
Test-TM ::= SEQUENCE {
failureCodes Test-failureCodes,
sourceID T-UInt32
}
ST01RoutingTestParams ::= SEQUENCE{
crcTest BOOLEAN
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
}
ST01ExecutionTestParams ::= SEQUENCE{
execStart BOOLEAN,
execProgress BOOLEAN,
execCompletion BOOLEAN
-- testing data
Test-TC ::= SEQUENCE {
identifierRequest T-UInt32,
cpduID T-UInt8,
crc BOOLEAN
}
-- A few simple types to start with ASN.1
......@@ -589,6 +883,99 @@ END