Advanced LAN Bypass User Manual
66
4.41
./lbpcu -CBTEST
Starts scanning an event thread and then uses a test callback function (cf. Section
3.7.5.2).
Example
Figure 4.59 Enable the Event Change Detect Thread
root@localhost:~# ./lbpcu -CBTEST E
Example: Enable event change detect thread and register call-
back function. So use -CBTEST to start.
Command: Enable thread and register callback function
Syntax: CBTEST
Output: N/A
Error: LBP_ERR_PARAM_OUT_OF_BOUND (0x93)
root@localhost:~# ./lbpcu -RAW
root@localhost:~# ./lbpcu -CBTEST
scan event thread id: b87a1700
seg: 1 last event: WATCHDOG_START
seg: 1 last action: BYPASS
seg: 2 last event: WATCHDOG_START
seg: 2 last action: BYPASS
seg: 1 last event: WATCHDOG_START
seg: 1 last action: BYPASS
seg: 2 last event: WATCHDOG_START
seg: 2 last action: BYPASS
seg: 1 last event: WATCHDOG_START
seg: 1 last action: BYPASS
seg: 2 last event: WATCHDOG_START
seg: 2 last action: BYPASS
seg: 1 last event: WATCHDOG_TIMEOUT
seg: 1 last action: DISCONNECT
seg 1 event changed!
enter callback seg 1 event 5
seg: 2 last event: WATCHDOG_TIMEOUT
seg: 2 last action: DISCONNECT
seg 2 event changed!
enter callback seg 2 event 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...