Boris Tournier
/
WappAutomation2_With_Reset_WO_Switch_Cable
WappAutomation 2 : - WITH RESET - WITHOUT Switch Cable Tested on TEL50
Diff: main.cpp
- Revision:
- 4:caf61234018c
- Parent:
- 1:24db8b26b816
- Child:
- 5:2b7c8f43efd9
--- a/main.cpp Wed Aug 23 13:58:17 2017 +0000 +++ b/main.cpp Mon Oct 23 10:36:36 2017 +0000 @@ -4,8 +4,8 @@ //***************************** Change this for each new prober installation ******************************** -#define PROBER_NAME "tl15" -#define IP "10.129.97.104" +#define PROBER_NAME "tl36" +#define IP "10.129.97.103" /*Please update the list below: TEL12 : 10.129.97.100 TEL20 : 10.129.97.101 @@ -53,12 +53,12 @@ #define SOCKETCONNECTION_ATTEMPT 5 // Number of attempts for socket connection #define TIMEOUT_WAITTAG 20 // Timeout in case of New Tag Present detected -#define GATEWAY "10.129.97.254" //The gateway to go out the prober VLAN +#define GATEWAY "10.129.97.254" //The gateway to go out the prober VLAN #define MASK "255.255.255.0" -#define SERVER "164.129.103.103" //Automation server IP Address - { 164, 129, 103, 88 } for Dev Automation server -#define PORT 7778 //Automation port +#define SERVER "10.18.47.90" //"164.129.103.103" //Automation server IP Address - { 164, 129, 103, 88 } for Dev Automation server +#define PORT 7778 //Automation port -#define MBX_OPEN "MBX_OPEN srv_pat" +#define MBX_OPEN "MBX_OPEN srvpat" //"MBX_OPEN srv_pat" #define MBX_CLOSE "MBX_DISCONNECT" #define MBX_COUNT "MBX_COUNT STM32Insrv_" PROBER_NAME #define MBX_GET "MBX_GET 5,STM32Insrv_" PROBER_NAME @@ -363,8 +363,8 @@ Antenna.PCD_AntennaOff(); } - //Check alarm each 2s - if (count >= 4){ + //Check alarm each 4s + if (count >= 8){ // Count value = each xx seconds * 2. Example: Count >= 4 for check alarm each 2s green = 0; count = -1; int rtrn = APCDGetWappAlarm();