Home/Support/Support Forum/Debug monitor on web page !
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Debug monitor on web page !

0 votes
Hi

I would like to add debug monitor to my web page on Net-OS,

I'm thinking to send STDIO to "/udpdb/0" and then use java applet to read udp and show on page.
Is there another way of doing this in Net-OS without using applet ?
I will appreciate any idea !
asked Mar 3, 2013 in NET+OS by zaricd New to the Community (2 points)
recategorized Sep 20, 2013 by tuxembb

Please log in or register to answer this question.

3 Answers

0 votes
by saying debug monitor do you want to have some kind of device log on the device itself?

Maybe you can write logs to a file and display it ?
answered Mar 6, 2013 by tuxembb Veteran of the Digi Community (288 points)
0 votes
NET+OS ships with a utility, shipped a source under src\utilities\udpdb (udpdb.c) that will act as a sink for messages written to "/udpdb/0".

If stdout is pointed to a serial port, output can go to terminal emulator running on a PC or other device.

You are given the source to udpdb so you could roll your own utility to catch output sent form the device.

What else are you looking for?
answered Mar 6, 2013 by dakotas_dad Veteran of the Digi Community (694 points)
0 votes
tuxembb : I was thinking about that , just don't want to write to flash

dakotas_dad : This is my original plan, I will write down java applet for that, I can't use JavaScript because does not support udp as I remember. I was just wondering that there maybe is some other solution to catch this in NetOs itself and just use web server to show on page.
answered Mar 6, 2013 by zaricd New to the Community (2 points)
...