Skip to content
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

Parse all control messages #19

Merged
merged 3 commits into from
Jun 16, 2024

Commits on Jun 16, 2024

  1. lib: Derive format for all enums

    Allow pretty printing of the various top-level types
    
    Signed-off-by: Sjoerd Simons <[email protected]>
    sjoerdsimons committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    1f4fa47 View commit details
    Browse the repository at this point in the history
  2. Messages: Collapse all control messages in one enum variant

    There are over 20 different control messages specified in specification
    version 3.2. Rather then adding them all to the Message enum one-by-one,
    add a catch-all for control message (as per definition they have no
    extra information).
    sjoerdsimons committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    5548bd7 View commit details
    Browse the repository at this point in the history
  3. messages: Handle invalid VendorDefined messages

    VendorDefined messages need at least 4 bytes of payload to be valid
    sjoerdsimons committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    f87522a View commit details
    Browse the repository at this point in the history