
ANR-DNV3N3-8C
35
4. Software Installation and
Programming Guide
4.1. Introduction
4.1.1.
Environment
This test utility develop based on kernel 4.8 above (Ubuntu 18.04.1 Server).
4.1.2. GPIO
The ANR-DNV3N3-8C provides GPIO interface. Users can use the GPIO APIs to
control GPO Pin.
4.1.3.
Watchdog
The ANR-DNV3N3-8C provides a Watchdog timer. Users can use the Watchdog
APIs to configure and to access the Watchdog timer. The Watchdog timer can be
set to 1~255 seconds. Setting the timer to zero disables the timer. The remaining
seconds of the timer to reboot can be read from the timer.
4.1.4. LAN Bypass Subsystem
Two pairs of LAN ports on ANR-DNV3N3-8C implement the bypass function. Users
can invoke the LAN Bypass APIs to control the bypass states of the LAN ports.
1.
Get bypass firmware version.
2. Set bypass wdt.
3. Set bypass wdt action.
4. Get bypass wdt action.
5. Set bypass power on action.
6. Get bypass power on action.
7. Set bypass power off action.
8. Get bypass power off action.
9. Set bypass current action.
10. Get bypass current action.