PCIe-PoE354at/PCIe-PoE352at User’s Manual
Copyright © 2015 Neousys Technology Inc. All Right Reserved.
Page 29 of 31
A.2
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-PoE354at/352at card.
Please refer to section 3.1 for configuring board ID for your PCIe-PoE354at/352at.
port
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);