Sensos Module Updated

Dependents:   SmartLabProyect

Fork of Middleware by Roberto Herrera

Ether.h

Committer:
Jorge_Beltran
Date:
2015-12-10
Revision:
4:c59485faea9f
Parent:
1:fd355dc296b1

File content as of revision 4:c59485faea9f:

/*
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 = 4010;
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