107
©Vecow MTC-6000 User Manual
Appendix B
BOOL SetPOEConfig(BYTE Auto, BYTE Mask)
Set POE configuration
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 GetPOE(BYTE *POE)
Get POE input
POE ([3:0]) : POE state, pin setting by hexadecimal bitmask
1 : On;
0 : Off
Return :
TRUE (1) : Success;
FALSE (0) : Fail (Initial error, or call by pointer error, or hardware problem)
BOOL SetPOE(BYTE POE)
Set POE output
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)