05.01.2013 Views

eWON General Reference Guide - eWON wiki

eWON General Reference Guide - eWON wiki

eWON General Reference Guide - eWON wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

you can also activate the Serial Debug in the configuration file.<br />

Syntax is SerDebX:Y X is the Serial port number and Y is the debug mode<br />

<strong>General</strong> <strong>Reference</strong> <strong>Guide</strong> Monitoring Web Interface<br />

To enable the Serial debug mode on Serial port 1, you need to send by FTP a "config.txt" file containing only:<br />

Or you can use a little Script Basic:<br />

As the Serial Debug uses <strong>eWON</strong> ressources (CPU and memory), don’t forget to disable the debugging once you don’t need it<br />

anymore.<br />

Set the SerDebX to 0 (null) to disable it.<br />

The buffer used to store data in the real time log is limited to 500 characters, so if an RX or TX data stream is too long, an error message saying<br />

that it is not possible to log it is logged instead<br />

Example: SER-Rx: Too long to print (800)<br />

If the Debug mode is >1 then the ascii values are also logged if there is enough space.<br />

So, even if ascii debug is used, if there is no space, no ascii data are appended to the hex data.<br />

6.7.4.4 Activate VPN debug mode<br />

Debug mode value (Y) Description<br />

:<br />

:System<br />

SerDeb1:1<br />

0 No debug<br />

1 Hex values Tx & Rx<br />

2 Hex and Ascii values Tx & Rx<br />

3<br />

Hex and Ascii values Tx & Rx<br />

but Rx timeouts are not logged (clearer in log)<br />

(usefull for Modem debugging)<br />

Table 153: Serial Debug : mode values<br />

Setsys SYS,"load"<br />

Setsys SYS,"SerDeb1",1<br />

Setsys SYS,"save"<br />

cfgsave : REM to debug also after reboot<br />

Figure 151: Activate VPN debug<br />

The VPN diagnosis can be set to 3 levels or disabled.<br />

RG-001-0-EN ver 1.14 <strong>eWON</strong>® - 02/05/2012 - ©<strong>eWON</strong> sa Page 179

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!