ioPAC RTU Controllers
C/C++ Sample Code Programming Guide
|
ioPAC8600 SNMP Trap Application TAG Sample More...
#include "libmoxa_rtu.h"
Functions | |
void | usage (void) |
int | main (int argc, char *argv[]) |
ioPAC8600 SNMP Trap Application TAG Sample
Introduction: Check if DI0 status is enable, then send snmp trap to the specific IP Please use mib browser trap receiver to receive snmp trap from device Example: ./ioPAC8600_snmp_trap_service Help:
root@Moxa:/tmp#./ioPAC8600_snmp_trap_service -h SNMP trap service program. Usage: ./ioPAC8600_snmp_trap_service [OPTIONS] Options: -i Slot of DI module [1-9]. Using with -i. Default value: 1 Ex. ./ioPAC8600_snmp_trap_service -i 1
Library:
TAG APIs
RTUxpress Project file:
ioPAC8600_snmp_trap_service.rtu
(Please right click on the link and ‘Save Target As…’ to save RTUxpress project file and open it with RTUxpress utility)
void usage | ( | void | ) |
int main | ( | int | argc, |
char * | argv[] | ||
) |