no description
Fork of Middleware by
Ether.h
- Committer:
- Jorge_Beltran
- Date:
- 2015-12-07
- Revision:
- 1:32a08ca33b00
- Parent:
- 0:d1ff330c5128
File content as of revision 1:32a08ca33b00:
/* 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