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

Network protocol improvements #355

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

Network protocol improvements #355

matlo opened this issue Oct 27, 2015 · 0 comments

Comments

@matlo
Copy link
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 pushed a commit that referenced this issue Apr 3, 2017
@matlo matlo added this to the GIMX 7.0 milestone Apr 6, 2017
matlo pushed a commit that referenced this issue Apr 6, 2017
@matlo matlo closed this as completed 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
Projects
None yet
Development

No branches or pull requests

1 participant