#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