-
Notifications
You must be signed in to change notification settings - Fork 1
Description
The FCP Editor has a link to a SCOS database. This link has already been implemented in the "auto-completion" feature of the FW Profile Editor. The SCOS database describes the "telecommands" (TC) and "telemetry reports" (TMs) which are manipulated by the FCP. Both telecommands and telemetry reports consists of sequence of "parameters". Some parameters are of numerical type (their value is a number); others are of enumerated type (their value is an enumerated value expressed as an alphanumeric string).
In this ticket, I give some background information on some of the tables of the SCOS Database. Only information which is relevant to the FCP Editor is provided here. This ticket does not require any action: it only serves as reference.
PID Table
This table describes TM reports in terms of:
- TYPE and STYPE (type and sub-type)
- SPID (the unique identifier of the TM report)
- PID_DESCR (the human-readable descriptive name of the TM report)
PCF Table
A TM Report carries one or more parameters. This table defines the parameters of a TM Report in terms of:
- PCF_NAME: the unique identifier of a TM Parameter)
- PCF_DESCR: the human-readable descriptive name of the TM Parameter)
- PCF_PID: either NULL or an integer if the parameter is a "HK Parameter")
- PCF_CATEG: equal to "S" for parameters of enumerated type (can be disregarded in other cases)
- PCF_CURTX: the enumerated type of the parameter (only relevant for parameters with PCF_CATEG equal to "S")
PLF Table
This table describes the allocation of TM parameters to the TM reports: it lists the PCF_NAMEs of the TM parameters and gives the SPIDs of the packets to which they belong. Note that a TM Parameter may belong to multiple TM Reports.
TXP Table
Some TM parameters are of enumerated type (see CURTX field in PCF table). This table defines their enumerated types in terms of:
- TXP_NUMBR: the unique identifier of the enumerated type (same as CURTX in PCF table)
- TXP_ALTTXT: the enumerated value
CCF Table
This table describes a TC in terms of:
- CNAME: the unique identifier of a TC
- DESCR: the human-readable descriptive name of a TC
- DESCR2: the long description of a TC
- TYPE and STYPE: the type and sub-type of a TC
CDF Table
A TC may carry one or more parameters. This table describes the parameters in a TC in terms of:
- PNAME: the unique identifier of the TC parameter
- CNAME: the unique identifier of the TC to which the parameter is allocated
- GRPSIZE: either NULL or zero for non-group parameters or the group size (a positive integer)
CPC Table
This table describes a TC parameter in terms of
- PNAME: the unique identifier of the TC parameter
- DESCR: the human-readable descriptive name of the TC Parameter
- PAFREF: the enumeration type (only provided for parameters of enumerated type)
PAS Table
Some TC parameters are of enumerated type (see PAFREF field in CPC table). This table defines their enumerated types in terms of:
- PAS_NUMBR: the unique identifier of the enumerated type (same as PAFREF in CPC table)
- PAS_ALTTXT: the enumerated value
- PAS_ALTVAL: the raw value