![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
voltando a versao de n aberturas e fechamentos de sockets data 19/09
Dependencies: EthernetInterface NTPClient mbed-rtos mbed EALib
Fork of header_main_publish by
Diff: vz_protocol.h
- Revision:
- 17:67a6b557eda5
- Parent:
- 16:b45b5b7363d7
- Child:
- 18:01a93677e40c
--- 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 );