Advanced LAN Bypass User Manual
62
4.33
/lbpcu -GMSM
Gets the master/slave mode status (cf. Section 3.7.11.2).
Example
Figure 4.49 Get Master/Slave Mode, Set as Master, and Disable the Toggle Pin
on Segment 1
4.34
/lbpcu -SML
Sets the master/slave mode LED behavior (cf. Section 3.7.11.3).
Example
Figure 4.50 Set the Master/Slave Mode LED Behavior, XXX on Segment 1
root@localhost:~# ./lbpcu -GMSM
Get the master slave mode and the corresponding specific con-
fig of the segment.
Syntax: GMSM <segment>
Output: The master slave mode and the specific config.
Example: Get the master slave mode and the specific config of
the segment 1.
Example command: ./lbpcu -GMSM 1
Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93)
root@localhost:~# ./lbpcu -GMSM 1
Master Slave Mode: MASTER_MODE
Master Slave Specific Config:
DISABLE_TOGGLE_PIN: YES
root@localhost:~# ./lbpcu -SML
Set the duty cycle and the period of the Master/Slave Mode LED
to the corresponding actions.
Synatx: SML <the master segment> <action> <duty> <period (100/
ms/count)>
action:
CONNECT
DISCONNECT
BYPASS
Output: N/A
Example: Set the 50 duty cycle of 1000ms (1 second) for the
Master/Slave Mode LED in BYPASS action.
Example command: ./lbpcu -SML 1 BYPASS 50 10
Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93)
root@localhost:~# ./lbpcu -SML 1 BYPASS 50 5
Summary of Contents for LAN Bypass
Page 1: ...User Manual Advantech Advanced LAN Bypass...
Page 4: ...Advanced LAN Bypass User Manual iv...
Page 10: ...Advanced LAN Bypass User Manual x...
Page 11: ...Chapter 1 1 ADVANCED LAN BYPASS...
Page 14: ...Advanced LAN Bypass User Manual 4...
Page 15: ...Chapter 2 2 OVERVIEW...
Page 26: ...Advanced LAN Bypass User Manual 16...
Page 27: ...Chapter 3 3 LIBLBPCU ADVANCED LAN BYPASS LIBRARY...
Page 51: ...Chapter 4 4 LBPCU...
Page 79: ...Appendix A A OS limitation...
Page 81: ...71 Advanced LAN Bypass User Manual Appendix A OS limitation...