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

Network protocol improvements #355

Closed
matlo opened this Issue Oct 27, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@matlo
Owner

matlo commented Oct 27, 2015

Instead of using a fixed-size byte array, allow to send packets in a more flexible format that allows to transmit changes only.

typedef struct {
    uint8_t packet_type; // E_NETWORK_PACKET_IN_REPORT
    uint8_t nbAxes; // number of elements in the following array
    struct {
        uint8_t index; // 1 MSB: 0 = relative axis, 1 = absolute axis, 7 LSB = index
        int32_t value; // network byte order
    } axes[0];
} s_network_report;

matlo added a commit that referenced this issue Apr 3, 2017

@matlo matlo added this to the GIMX 7.0 milestone Apr 6, 2017

matlo added a commit that referenced this issue Apr 6, 2017

@matlo matlo closed this Apr 6, 2017

@matlo matlo added GIMX 7.1 and removed GIMX 8.0 labels May 4, 2017

@matlo matlo modified the milestones: GIMX 7.0, GIMX 8.0 May 4, 2017

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