Sensos Module Updated
Fork of Middleware by
Diff: Ether.h
- Revision:
- 0:d1ff330c5128
- Child:
- 1:fd355dc296b1
diff -r 000000000000 -r d1ff330c5128 Ether.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Ether.h Sat Dec 05 17:43:29 2015 +0000 @@ -0,0 +1,44 @@ +/* +Ether.h + +Only to improve the clarity of main .cpp +This don't have any new classes + +All Ehternet Aplication +for Smart Room project asked by +Gustavo Torres + +Last update by RoHe 16/11/2015 + +*/ + +//const char* ECHO_SERVER_ADDRESS = "192.168.74.1"; +//const int ECHO_SERVER_PORT = 7; + + + +#ifndef ETHER_H_ +#define ETHER_H_ + +//#include "EthernetInterface.h" +//#include "Initial.h" + +static const char* ECHO_SERVER_ADDRESS1= "192.168.1.83"; +static const int ECHO_SERVER_PORT1 = 7; +static bool _isConnectedServer1= false; + + +static const char* ECHO_SERVER_ADDRESS2= "192.168.1.80"; +static const int ECHO_SERVER_PORT2 = 7; +static bool _isConnectedServer2= false; + +// Receive message from server1 +static char buf1[256]; +static int n1; + +// Receive message from server2 +static char buf2[256]; +static int n2; + + +#endif \ No newline at end of file