Skip to content

Releases

v3.1.0

Choose a tag to compare

@NWarren42 NWarren42 released this 01 Aug 04:32

Breaking Changes

  • Added control status bytes to status packets. This allows for a device to respond to a status request even if a control hasn't been fully realized yet. For example, now the upper avionics control module can issue a command to the lower module and report that the command is "PENDING" instead of falsely assuming the command has been executed.
  • Added ack sentinel packet type which is only used when sending an unsolicited status update. This is so when a pending command is updated device side, the device can push an update to the server without having to wait for another status request to come in.

What's Changed

  • Add unit testing actions workflow by @ari-kl in #4
  • Change 6N bytes in data protocol specification to 5N by @NWarren42 in #3
  • Add control status to STATUS packet by @ari-kl in #5
  • Use _Static_assert instead of static_assert for gnu99 toolchains by @NWarren42 in #2

New Contributors

Full Changelog: v3.0.0...v3.1.0

QLCP v3 Release

Choose a tag to compare

@NathanBelza NathanBelza released this 12 Jul 19:15

Breaking changes:

  • Update protocol to version 3
  • Switch timestamps to 64 bit microseconds from 32 bit milliseconds for better time resolution
  • Remove TIMESYNC packet, replaced with TIMESYNC_REQ and TIMESYNC_RESP for NTP-style timesyncs
  • Migrate from SSDP discovery to use the DISCOVERY packet with multicast
  • CONTROL and STATUS packets now contain a tagged union for types of control (bool, uint32, int32, float32) to allow for more flexibility
  • Removed obsolete device_status field from CONTROL packets, along with the device_status enum
  • Removed redundant unit field from data packets, as it is specified in the config and should not change at runtime
  • Devices must now respond to CONTROL and ESTOP with a STATUS packet containing its updated state
  • Added ack packet type and ack sequence fields to STATUS packets to acknowledge the packet it is responding to (now can be either respond to CONTROL or STATUS_REQUEST)
  • Packet type for header-only packets has been moved inside its struct for consistency with other encoding functions
  • If inputting a C-style string to the CONFIG packet, the user now must remove the null terminator
  • Config now seperates controls into groups, and requires a unit for controls
  • sensor_info key in config renamed to sensors

Changes:

  • Add magic number 0x514C4350 (QLCP in ASCII) to beginning of header
  • Obsolete error field removed from ack packet (was not accessible from the API)
  • Removed redundant json_len field from CONFIG packets, as it could be determined from the packet length. Field is still present in the API, only removed from encoded packets.
  • Revamped protocol specification document
  • ESTOP no longer has the device stop streams
  • Replace manual big-endian packing with helper functions
  • Added unit tests and fuzzing

What's Changed

New Contributors

Full Changelog: v2.0.0...v3.0.0

v2.0.0

Choose a tag to compare

@NathanBelza NathanBelza released this 14 Jun 16:58

QLCP v2.0.0
Initial release of the C library implementation for the QLCP protocol. This includes encoding and decoding for all packets outlined in version 2 of the QLCP specifications.

Full Changelog: https://github.com/Queens-Rocket-Engineering-Team/ctl-qlcp-lib/commits/v2.0.0