18
Function Library
Leading
EDGE COMPUTING
short SmartPoE_Get_PSEPortCurrent(unsigned
short wCardNumber, unsigned short PortNumber
double *wCurrent)
Parameter(s)
wCardNumber:
Retrieved from the return value of
SmartPoE_Register_Card.
PortNumber:
Indicates port number from 1 to 4.
wCurrent:
Port current
Return Code
No error occurs if return value >= 0, and if negative value, as
follows
-2
An invalid wCardNumber parameter,
wCardNumber is less than 32
-5
The function is not supported by this card
SmartPoE_Get_MCUVersion
SmartPoE_Get_PSEPortVoltage
Retrieves port voltage.
Syntax
C/C++
short SmartPoE_Get_PSEPortVoltage (unsigned
short wCardNumber, unsigned short PortNumber
double *wVoltage)
Parameter(s)
wCardNumber:
Retrieved from the return value of
SmartPoE_Register_Card.
PortNumber:
Indicates port number from 1 to 4.