|
|
@ -70,17 +70,17 @@ |
|
|
|
/***************Ethernet ENC28J60***************/ |
|
|
|
|
|
|
|
//Mac must be unique for each sensor
|
|
|
|
byte mac[] = { 0xD3, 0x5D, 0xBE, 0xEF, 0xEE, 0x54 }; |
|
|
|
byte mac[] = { 0xD3, 0x5D, 0xBE, 0xEF, 0xEE, 0x52 }; |
|
|
|
//Static IP of Arduino
|
|
|
|
byte ip[] = { 192, 168, 78, 54 }; |
|
|
|
byte ip[] = { 192, 168, 78, 52 }; |
|
|
|
//IP of ZM Server
|
|
|
|
byte server[] = { 192, 168, 78, 123 }; |
|
|
|
//ZM server IP to put in requests.
|
|
|
|
String host="192.168.78.123"; |
|
|
|
|
|
|
|
char* monnum = "2"; //monitor number
|
|
|
|
char* monnum = "14"; //monitor number
|
|
|
|
|
|
|
|
char* LOCATIONOFSENSOR = "Bay 3"; |
|
|
|
char* LOCATIONOFSENSOR = "Bay 1"; |
|
|
|
|
|
|
|
#define ZMTRIGGERPORT 6802
|
|
|
|
#define LISTENPORT 80 // (port 80 is default for HTTP)
|
|
|
|