118
©Vecow ECX-2600/2400/2300 PEG User Manual
Appendix B
1 : Auto;
0 : Manual.
Mask ([3:0]) : DC Enable/Disable, pin setting by hexadecimal bitmask.
1 : Enable;
0 : Disable.
Return :
TRUE (1) : Success.
FALSE (0) : Fail (Initial error, or out of range error, or call by pointer error, or
hardware problem)
BOOL set_POE_configuration(BYTE ID, BYTE Auto, BYTE Mask)
Set POE configuration (by variable).
ID : POE ID.
Range : 0~15.
Auto ([3:0]) : Auto mode, pin setting by hexadecimal bitmask.
1 : Auto;
0 : Manual.
Mask ([3:0]) : DC Enable/Disable, pin setting by hexadecimal bitmask.
1 : Enable;
0 : Disable.
Return :
TRUE (1) : Success.
FALSE (0) : Fail (Initial error, or out of range error, or hardware problem).
BOOL get_POE(BYTE ID, BYTE *POE)
Get POE state.
ID : POE ID.
Range : 0~15.
POE ([3:0]) : POE state, pin setting by hexadecimal bitmask.
1 : On;
0 : Off.
Return :
TRUE (1) : Success.
FALSE (0) : Fail (Initial error, or out of range error, or call by pointer error, or
hardware problem).
BOOL set_POE(BYTE ID, BYTE POE)
Set POE state.
A. ID : POE ID.
Range : 0~15.
B. POE ([3:0]) : POE state, pin setting by hexadecimal bitmask.
1 : On;
0 : Off.
Return :
TRUE (1) : Success.
FALSE (0) : Fail (Initial error, or out of range error, or hardware problem).