New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize meta data to SYSTEM META packet #426

Closed
ryanatball opened this Issue Apr 21, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@ryanatball
Member

ryanatball commented Apr 21, 2017

From now on COSMOS will always have a standardized meta data packet defined that at a minimum will contain the current configuration name, and a flag indicating if it is a command or telemetry packet.

The packet will be under the SYSTEM target and called META.

This will have the following additional effects:

  1. All standard COSMOS log files will start with the meta data packet. meta_packet_log_writer will be eliminated and essentially become part of the default packet_log_writer.
  2. Standard Streams can be introspected to determine if they contain commands or telemetry by looking at the first packet.
  3. Logs and streams can support the configuration changing mid-file or mid-stream by injecting a new meta packet with an updated configuration name
  4. Packet log file header data will now be redundant, but will probably be left to maintain compatibility (TBD)

@ryanatball ryanatball added the feature label Apr 21, 2017

@ryanatball ryanatball self-assigned this Apr 21, 2017

@ryanatball ryanatball closed this in #461 May 30, 2017

@ryanatball ryanatball modified the milestone: v4.0.0 Aug 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment