Thoughts on DataSet #61

Closed
opened 2020-04-29 18:33:59 +02:00 by muellerr · 2 comments
Owner

As part of my investigation for distributed datapools, I had a look at the DataSet class.
This class has serialization/deserialization calls and is a good candidate to store pool data thread-safe with the PoolManager

I suggest to add an ID and a valid flag for the dataset.

Thoughts about ways to access the pool data:

  • PUS structue ID consists of object ID and the set ID now.
  • If a controller or another class needs access to a full dataset (raw or message based), it could provide a dataset ID.
  • Same principle would be applied for commanding with the HK service.
  • Each DeviceHandler has a public enum with pool variable IDs for data that is possibly interesting for housekeeping purposes. These IDs can be used to pack new datasets and change existing ones if required. Can propably be used for MIB parsing too in some way.
As part of my investigation for distributed datapools, I had a look at the DataSet class. This class has serialization/deserialization calls and is a good candidate to store pool data thread-safe with the PoolManager I suggest to add an ID and a valid flag for the dataset. Thoughts about ways to access the pool data: - PUS structue ID consists of object ID and the set ID now. - If a controller or another class needs access to a full dataset (raw or message based), it could provide a dataset ID. - Same principle would be applied for commanding with the HK service. - Each DeviceHandler has a public enum with pool variable IDs for data that is possibly interesting for housekeeping purposes. These IDs can be used to pack new datasets and change existing ones if required. Can propably be used for MIB parsing too in some way.
muellerr added the
feature
label 2020-04-29 18:33:59 +02:00
muellerr changed title from Though about DataSet to Thoughts about DataSet 2020-04-29 18:41:11 +02:00
muellerr changed title from Thoughts about DataSet to Thoughts on DataSet 2020-04-29 18:41:29 +02:00
muellerr added the
API Change
label 2020-04-29 18:41:50 +02:00
Author
Owner

Related to #97

Related to #97
Owner

Part of local data pool changes.

Part of local data pool changes.
gaisser added this to the ASTP 1.0.0 Local pools milestone 2020-12-01 15:51:08 +01:00
Sign in to join this conversation.
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fsfw/fsfw#61
No description provided.