Lan bypass subsystem, Overview, Ar-b5800 library (window platform only) – Acrosser AR-R5800A User Manual

Page 32

Advertising
background image

AR-B5800 User Manual

GP34

Configurable GPIO4

GP35

Configurable GPIO5

GP36

Configurable GPIO6

GP37

Configurable GPIO7


In the GPIO APIs, we use the signal names ‘GPIO0’, ‘GPIO1’…etc. to identify the GPIO ports.

LAN Bypass Subsystem

Overview

Two pairs of LAN ports on AR-B5800 implement the bypass function. Users can invoke the LAN

Bypass APIs to control the bypass states of the LAN ports and set up the LAN Bypass Watchdog timer ( this
watchdog timer is different from the system watchdog timer mentioned in the previous paragraph ).

AR-B5800 Library (Window platform only)

The released code for Windows platform includes a folder called ‘AR-B5800’. In this folder, there are

header files and source codes of all the APIs of LCM module, GPIO, Watchdog, and LAN Bypass functions.
The source codes in this folder generate the API library ‘AR-B5800.lib’ and ‘AR-B5800.dll’. Users who
want to invoke the APIs can include the ‘AR-B5800.h’ in their application source code and compile their
application with the library ‘AR-B5800.lib’ or ‘AR-B5800.dll’.

Besides AR-B5800 libraries, there are WinIo32.sys, WinIo32.lib, and WinIo32.dll in this directory.

These files are indispensable for LAN Bypass application, GPIO and Watchdog application. Please put these
three files with LAN Bypass application, GPIO and Watchdog application in the same folder. The APIs
invoke WinIo32.lib, WinIo32.dll, and WinIo32.sys implicitly.














32


Advertising
This manual is related to the following products: