PCIe-PoE312M
30
Per-Port On/Off Control Function Reference
PCI_GetStatusPoEPort
Description
Get the current power on/off status of designated PoE port.
Parameter
boardId
DWORD value (0 ~ 7) to indicate board ID of selected
PCIe-PoE312M card. Please refer to this
the board ID.
DOWRD value (1 ~ 4) 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);