Network API

From GIMX

Revision as of 23:58, 13 January 2015 by Matlo (talk | contribs) (Created page with "It's possible to make a GIMX instance listen for UDP packets coming from a specific port.<br /> See the "--src IP:port" argument on the [[Command_line#General_gimx_options|Com...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

It's possible to make a GIMX instance listen for UDP packets coming from a specific port.
See the "--src IP:port" argument on the Command line page.

The packet format is the following:

byte 0 0xff
byte 1 0x7c = 124
byte 2-5 axis 0
byte 6-9 axis 1
byte 10-13 axis 2
byte 14-17 axis 3
byte 18-21 axis 4
byte 22-25 axis 5
byte 26-29 axis 6
byte 30-33 axis 7
byte 34-37 axis 8
byte 38-41 axis 9
byte 42-45 axis 10
byte 46-49 axis 11
byte 50-53 axis 12
byte 54-57 axis 13
byte 58-61 axis 14
byte 65-65 axis 15
byte 66-69 axis 16
byte 72-75 axis 17
byte 76-79 axis 18
byte 80-83 axis 19
byte 84-87 axis 20
byte 88-91 axis 21
byte 92-95 axis 22
byte 96-99 axis 23
byte 100-103 axis 24
byte 104-107 axis 25
byte 108-111 axis 26
byte 112-115 axis 27
byte 116-119 axis 28
byte 120-123 axis 29
byte 124-127 axis 30