37
Advanced LAN Bypass User Manual
Chapter 3
L
IBLBPCU
-ADVANCED
LAN BYPASS
LIBRARY
3.7.10.2
lbp_get_bypass_led(int segment, unsigned char *duty, unsigned char *period)
Gets the ON duty cycle and the total ON/OFF period of LED indication for a BYPASS
action.
Returns 0 on success or the following error codes in the event of an error:
3.7.10.3
lbp_set_disconnect_led(int segment, unsigned char duty, unsigned char
period)
Sets the ON duty cycle and the total ON/OFF period of LED indication for a DISCON-
NECT action.
The duty settings are defined as follows:
The period settings are defined as follows:
Returns 0 on success or the following error codes in the event of an error:
Table 3.38: API Function "lbp_get_bypass_led" Error Codes
Name
Error Code
LBP_ERR_INTERFACE_OPEN
0x89
LBP_ERR_FW_NRDY
0x8A
LBP_ERR_FW_CS
0x8B
LBP_ERR_PARAM_OUT_OF_BOUND
0x93
LBP_ERR_PARAM_NULL_POINTER
0x94
LBP_ERR_LBP_INIT
0x95
LBP_ERR_COMMAND_NOT_SUPPORT
0x96
Table 3.39: Parameter Duty
Value
Meaning
0 ~ 100
Duty of the LED
Table 3.40: Parameter Period
Value
Meaning
0 ~ 255
Period, 100 ms per unit
Table 3.41: API Function "lbp_set_disconnect_led" Error Codes
Name
Error Code
LBP_ERR_INTERFACE_OPEN
0x89
LBP_ERR_FW_NRDY
0x8A
LBP_ERR_FW_CS
0x8B
LBP_ERR_PARAM_OUT_OF_BOUND 0x93
LBP_ERR_PARAM_NULL_POINTER
0x94
LBP_ERR_LBP_INIT
0x95
LBP_ERR_COMMAND_NOT_SUPPORT 0x96
Содержание LAN Bypass
Страница 1: ...User Manual Advantech Advanced LAN Bypass...
Страница 4: ...Advanced LAN Bypass User Manual iv...
Страница 10: ...Advanced LAN Bypass User Manual x...
Страница 11: ...Chapter 1 1 ADVANCED LAN BYPASS...
Страница 14: ...Advanced LAN Bypass User Manual 4...
Страница 15: ...Chapter 2 2 OVERVIEW...
Страница 26: ...Advanced LAN Bypass User Manual 16...
Страница 27: ...Chapter 3 3 LIBLBPCU ADVANCED LAN BYPASS LIBRARY...
Страница 51: ...Chapter 4 4 LBPCU...
Страница 79: ...Appendix A A OS limitation...
Страница 81: ...71 Advanced LAN Bypass User Manual Appendix A OS limitation...