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:
- 48:195c97f12e8e
- Parent:
- 46:a670f187a704
- Child:
- 49:4837ed2aad6b
diff -r 3983efe3aeba -r 195c97f12e8e vz_protocol.h --- a/vz_protocol.h Tue Oct 07 18:43:44 2014 +0000 +++ b/vz_protocol.h Mon Oct 20 16:13:10 2014 +0000 @@ -14,7 +14,6 @@ #define UDP_PORT_LISTENER 11406 #define TCP_PORT_LISTENER 7879 - #define __VZ_HEADER_OFFSET__ 7 #define __CB_BUFFER_SIZE__ 300 #define __PROMPT_ETH_BUFFER_SIZE__ 1024 @@ -40,19 +39,24 @@ #define __TELEMETRY__ 0x10 #define __CB_BYE__ 0x20 #define __PROMPT__ 0x01 +#define __FLOOD__ 0x40 #define __SOMETHING_3__ 0x80 #define __DO_NOTHING__ 0x99 //#define __MY_IP__ "192.168.2.200" -#define __MY_IP__ "192.168.120.171" +//#define __MY_IP__ "192.168.2.201" +#define __MY_IP__ "192.168.120.182" #define __MY_EXT__ 820 #define __MY_PORT__ 5062 #define __SERVER_IP__ "192.168.120.120" +//#define __SERVER_IP__ "192.168.30.25" #define __PEER_EXT__ 913 +//#define __PEER_EXT__ 812 #define __SERVER_PORT__ 5075 +//#define __SERVER_PORT__ 5060 #define __MY_MSK__ "255.255.255.0" #define __MY_GTW__ "192.168.2.254"