Skip to content

Control messages structure wrong(?) #1

@heinrich5991

Description

@heinrich5991

Structure

Control messages have simple structure packet structure. They have a header and payload in the following way:

byte[0]     // 6bit flags, 2bit ack
byte[1]     // 8bit ack
byte[2]     // unused - 00
byte[3-6]   // security token
byte[7]     // message id
byte[8-...] // extra data

I believe the security token is at the end of the whole packet, not at the end of the header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions