PCIe-PoE550X
35
Per-Port On/ Off Control Function Reference
PCIe-PoE550X offers two 802.3at PoE+ ports with a unique feature to allow users
manually turn on or off the power supply of each PoE port. This can be function can be
useful in power device (PD) fault-recovery or power reset.
The function APIs are encapsulated in Neousys WDT_DIO driver package. Please
install the driver package prior to programming PoE on/off control function.
PCI-GetStatusPoEPort
Syntax
BYTE PCI_GetStatusPoEPort(DWORD boardId, DWORD port);
Description
Acquire current power on/off status of designated PoE port.
Parameter
boardId
DWORD value (0 ~ 7) to indicate board ID set for your card. Please
refer to
settings for your PCIe-PoE card.
port
DOWRD value (1 ~ 2) to specify the PoE port.
Return Value
Returns 1 if PoE power is on, 0 if PoE power is off.
Usage
DWORD boardID;
DWORD
port;
BYTE
PoEStatus;
//Get PoE power status from board #0, port #1.
boardID = 0;
port = 1;
PoEStatus = PCI_GetStatusPoEPort ( boardID, port);