Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: document channelMask and errorMask

...

Code Block
languagecpp
titleencoder header: 32 bytes
    typedef struct {
        uint16_t    frameCount;         // network byte order
        char        reserved1[2];
        char        version[4];
        char        hardwareID[16];
        char        reserved2;
        char        channelMask;        // bit mask of which channels 0-7 are present
        char        errorMask;          // bit mask of channel errors 0-7
        char        mode;
        char        reserved3[4];
    } encoder_header_t;

...