Nuvo-5000 Series User’s Manual
Copyright © 2016 Neousys Technology Inc. All Right Reserved.
- 126 -
Appendix C
Using Per-Port PoE On/Off Control
Nuvo-5006E/5006P/5006LP offers four 802.3at PoE+ ports with a unique feature to allow
users manually turn on or turn off the power of each PoE port. This can be helpfully for
fault-recovery or device power reset purpose.
The function APIs are encapsulated in Neousys WDT_DIO driver package. Please
following the instructions in
Appendix B - Install WDT_DIO Library
to install the driver
package in prior to program per-port PoE on/off control function.
Per-Port PoE On/Off Control Function Reference
GetStatusPoEPort
Syntax
BYTE GetStatusPoEPort (Byte port);
Description
Get the current on/off status of designated PoE port.
Parameter
port
BYTE value specifies the index of PoE port. For Nuvo-5000 series,
port
should be
a value of 1 ~ 4. You can refer to the following photo for the PoE port# of
Nuvo-5000 series.
Return Value
BYTE value indicating PoE on/off status. 0 if port is disabled (off), 1 if port is enabled
(on).
Usage
BYTE bEnabled = GetStatusPoEPort (1); //Get on/off status of PoE Port#1