#include "stdint.h"
#include "stdlib.h"
#include "stdio.h"
#include <string>
#include <signal.h>
#include <iostream>
#include <ace/ACE.h>
#include "ace/SOCK_Dgram.h"
#include "ace/Addr.h"
#include "ace/Thread.h"
#include "ace/Logging_Strategy.h"
#include "template_buttons.hpp"
#include "OPCprotocolManager.h"
#include "OPCprotocolManager_Cfg.h"
 
Go to the source code of this file.
◆ DEFAULT_LOCAL_IP
      
        
          | #define DEFAULT_LOCAL_IP   "10.0.1.104" | 
        
      
 
 
◆ DEFAULT_PORT
      
        
          | #define DEFAULT_PORT   4444 | 
        
      
 
 
◆ PAYLOAD_MAX_SIZE
      
        
          | #define PAYLOAD_MAX_SIZE   128 | 
        
      
 
 
◆ get_OPCprotocolManager_cfg()
  
  
      
        
          | opcprotman_cfg_t * get_OPCprotocolManager_cfg  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
extern   | 
  
 
 
◆ main()
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char *  | 
          argv[]  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ recvThread()
      
        
          | void * recvThread  | 
          ( | 
          void *  | 
          arg | ) | 
           | 
        
      
 
 
◆ s_check_seqNum()
  
  
      
        
          | static void s_check_seqNum  | 
          ( | 
          ACE_INET_Addr  | 
          src_addr,  | 
         
        
           | 
           | 
          uint32_t  | 
          recseqnum  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ sighandler()
  
  
      
        
          | static void sighandler  | 
          ( | 
          int  | 
          _signum | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ usage()
◆ ACE_socket
      
        
          | ACE_SOCK_Dgram* ACE_socket | 
        
      
 
 
◆ board
◆ isfirstList
  
  
      
        
          | uint8_t isfirstList[10] = {0} | 
         
       
   | 
  
static   | 
  
 
 
◆ keepGoingOn
◆ opcMan_ptr
      
        
          | OPCprotocolManager* opcMan_ptr = NULL | 
        
      
 
 
◆ seqnumList
  
  
      
        
          | uint32_t seqnumList[10] = {0} | 
         
       
   | 
  
static   |