diff options
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common.h b/common.h new file mode 100644 index 0000000..da4cb92 --- /dev/null +++ b/common.h @@ -0,0 +1,5 @@ +#define UDP_PORT 50000 +#define MAX_UDP_PACKETS 100 + +#define PAYLOAD_REQUEST 0x01, 0x08, 0x00, 0x00, 0x05, 0x01, 0x01, 0x01, 0x05, 0x22, 0x01 +#define PAYLOAD_RESPONSE 0x01, 0x04, 0x00, 0x00, 0x05, 0x01, 0x01, 0x02 |