voltando a versao de n aberturas e fechamentos de sockets
Dependencies: EthernetInterface NTPClient mbed-rtos_old mbed
Fork of header_main_public by
Diff: vz_protocol.h
- Revision:
- 17:67a6b557eda5
- Parent:
- 16:b45b5b7363d7
- Child:
- 18:01a93677e40c
diff -r b45b5b7363d7 -r 67a6b557eda5 vz_protocol.h --- a/vz_protocol.h Thu Sep 18 13:59:58 2014 +0000 +++ b/vz_protocol.h Fri Sep 19 16:40:17 2014 +0000 @@ -36,8 +36,18 @@ #define __DO_NOTHING__ 0x99 -//#define __MY_IP__ "192.168.120.169" +//#define colinas +#ifdef colinas #define __MY_IP__ "192.168.2.200" +#define __MY_GW__ "192.168.2.254" +#endif +#ifndef colinas +#define __MY_IP__ "192.168.120.169" +#define __MY_GW__ "192.168.120.1" +#endif + +#define __MY_MK__ "255.255.255.0" + uint16_t __checksum__( uint8_t * buffer, size_t length );