ecom.message
Module Contents
Classes
A base for all message datapoint types. |
|
A base for all message types. |
|
A type of telecommand response. |
|
A telecommand response whose type depends on the value of a datapoint of the telecommand. |
|
A telemetry response data type. |
|
A type of telemetry message. |
|
A generic message. |
|
A telemetry message. This is a message that has been sent to the base. |
|
A telecommand message. This is a message that has been sent from the base. |
|
A datapoint of a telecommand. |
|
A datapoint whose type depends on the value of another datapoint. |
|
A telecommand message. |
Functions
Iterate over the datapoints of the given telecommand that are required to serialize the telecommand. |
- class ecom.message.MessageDatapointType[source]
A base for all message datapoint types.
- type: ecom.datatypes.TypeInfo[source]
The type information of this datapoint.
- class ecom.message.MessageType[source]
A base for all message types.
- id: ecom.datatypes.EnumType[source]
An enum value representing this message type.
- data: List[MessageDatapointType][source]
A list of datapoints that will be transmitted with this message.
- class ecom.message.TelecommandResponseType[source]
A type of telecommand response.
- typeInfo: ecom.datatypes.TypeInfo[source]
The type of the response value.
- class ecom.message.DependantTelecommandResponseType[source]
Bases:
TelecommandResponseType
,abc.ABC
A telecommand response whose type depends on the value of a datapoint of the telecommand.
- provider: TelecommandDatapointType[source]
The datapoint that this response is dependent on.
- abstract configureWith(providerValue: Any) TelecommandResponseType [source]
Create an instance of the dependant response for the value of the provider.
- Parameters:
providerValue – The value of the provider that this response depends on.
- Returns:
The configured TelecommandResponseType instance.
- class ecom.message.TelemetryDatapointType[source]
Bases:
MessageDatapointType
A telemetry response data type.
- class ecom.message.TelemetryType[source]
Bases:
MessageType
A type of telemetry message.
- id: ecom.datatypes.EnumType[source]
An enum value representing this telemetry type. See CommunicationDatabase.telemetryTypeEnum.
- data: List[TelemetryDatapointType][source]
A list of datapoints that will be transmitted with the telemetry.
- class ecom.message.Message[source]
A generic message.
- type: ecom.datatypes.EnumType[source]
The type of the message. See CommunicationDatabase.telemetryTypeEnum and CommunicationDatabase.telecommandTypeEnum.
- class ecom.message.Telemetry[source]
Bases:
Message
A telemetry message. This is a message that has been sent to the base.
- class ecom.message.Telecommand[source]
Bases:
Message
A telecommand message. This is a message that has been sent from the base.
- class ecom.message.TelecommandDatapointType[source]
Bases:
MessageDatapointType
A datapoint of a telecommand.
- class ecom.message.DependantTelecommandDatapointType[source]
Bases:
TelecommandDatapointType
,abc.ABC
A datapoint whose type depends on the value of another datapoint.
- provider: TelecommandDatapointType[source]
The argument that this datapoint is dependent on.
- abstract configureWith(providerValue: Any) TelecommandDatapointType [source]
Create an instance of this dependant telecommand datapoint for the value of the provider.
- Parameters:
providerValue – The value of the provider that this datapoint depends on.
- class ecom.message.TelecommandType[source]
Bases:
MessageType
A telecommand message.
- id: ecom.datatypes.EnumType[source]
An enum value representing this telecommand type. See CommunicationDatabase.telecommandTypeEnum.
- data: List[TelecommandDatapointType][source]
The datapoints of the telecommand.
- response: Optional[TelecommandResponseType][source]
The type information of the return value of the telecommand.
- ecom.message.iterateRequiredDatapoints(telecommand: TelecommandType) Iterator[TelecommandDatapointType] [source]
Iterate over the datapoints of the given telecommand that are required to serialize the telecommand. Parameters not included in the resulting iterator can be deduced from other parameters.
- Parameters:
telecommand – The telecommand type whose required datapoints should be iterated.
- Returns:
An iterator over the required datapoints of the telecommand type.