Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: vz_protocol.h
- Revision:
- 67:cdedc64d9921
- Parent:
- 64:5b011d5707d2
- Child:
- 68:b54993674190
diff -r 3f1d22e69e7b -r cdedc64d9921 vz_protocol.h --- a/vz_protocol.h Tue Oct 28 18:35:48 2014 +0000 +++ b/vz_protocol.h Thu Oct 30 19:26:41 2014 +0000 @@ -10,9 +10,12 @@ // 7 + 14 + 1 == ts #define __START_PKG_COUNT__ 100 + #define UDP_PORT_LISTENER 11406 #define TCP_PORT_LISTENER 7879 +#define UDP_BOOTLOADER_PORT 9891 + #define __VZ_HEADER_OFFSET__ 7 #define __CB_BUFFER_SIZE__ 300 #define __PROMPT_ETH_BUFFER_SIZE__ 1024 @@ -26,7 +29,8 @@ #define __UDP_PORT__ 7890 /* numeros arbitrarios ... */ #define __TCP_PORT__ 8709 -#define __TELEMETRY_SERVER_IP__ "192.168.120.163" +//#define __TELEMETRY_SERVER_IP__ "192.168.120.163" +#define __TELEMETRY_SERVER_IP__ "192.168.120.144" #define __TELEMETRY_SERVER_PORT__ 9192 #define __TELEMETRY_HEADER_PORT__ 9321 @@ -40,6 +44,7 @@ #define __INVITE__ 0x04 #define __AUDIO__ 0x08 #define __TELEMETRY__ 0x10 +#define __BOOTLOADER_CBX__ 0x12 #define __CB_BYE__ 0x20 #define __PROMPT__ 0x01 #define __FLOOD__ 0x40