Package org.yamcs.simulator.pus
Class Pus20Service
java.lang.Object
org.yamcs.simulator.pus.AbstractPusService
org.yamcs.simulator.pus.Pus20Service
ST[20] on-board parameter management (ECSS-E-ST-70-41C, 6.20 and 8.20).
Supports TC[20,1] report parameter values (-> TM[20,2]) and TC[20,3] set parameter values. Messages relating to parameter definitions (TC[20,4], TC[20,5], TC[20,6], TM[20,7]) are out of scope.
On-board parameters are fixed; their IDs and types are defined in the simulator MDB (e.g. for the PUS example, in examples/pus/src/main/yamcs/mdb/pus20.xml). The value size of the parameter is "deduced" from the parameter ID, the values are encoded big endian.
Faulty instructions:
- an instruction referring to an unknown parameter ID generates a failed start of execution (TM[1,4]) with the unknown parameter ID as failure data; the valid instructions of the request are processed nevertheless. For TC[20, 3], the size of the value of an unknown parameter (i.e. not in MDB) cannot be deduced, so the instructions following the unknown parameter cannot be parsed and are ignored;
- a truncated request is rejected as a whole.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.yamcs.simulator.pus.AbstractPusService
log, pusSimulator, pusType -
Method Summary
Methods inherited from class org.yamcs.simulator.pus.AbstractPusService
ack_completion, ack_start, nack_completion, nack_start, nack_start, newPacket, start
-
Method Details
-
executeTc
- Specified by:
executeTcin classAbstractPusService
-