Re: [Tinyos-help] How to define dbg(X, fmt, args ...) since the printfUART.h not available to IRIS platform

2011-06-08 Thread scatram...@gmail.com
Hi, Still, I'm not able to read messages printed by PrintfUART and/or dbg() I followed the tutorial Mote-PC_serial_communication_and_SerialForwarder Everything works pretty fine but I couldn't find anything about PrintfUART. IPBaseStation, UDPEcho and ip-driver work fine I've tried

Re: [Tinyos-help] How to define dbg(X, fmt, args ...) since the printfUART.h not available to IRIS platform

2011-06-08 Thread Antonio Linan
If you're using printfUART with telosb/Z1 motes, be sure to double check this: Add to your Makefile: CFLAGS += -DPRINTFUART_ENABLED Include the library: #include PrintfUART.h Initialize the component (preferable at boot.booted) printfUART_init(); Test it: printfUART(Hello\n); If you want to

Re: [Tinyos-help] How to define dbg(X, fmt, args ...) since the printfUART.h not available to IRIS platform

2011-06-07 Thread scatram...@gmail.com
Hi, How can I read messages printed by PrintfUART and/or dbg()? I've tried using PrintfClient.java but I get bad packet. I'm using telosb Many thanks Davide On 21/apr/11, at 09:19, Wang Jing wrote: Hi everyone! I want to use dbg() macro to print out some debug information. So I set

[Tinyos-help] How to define dbg(X, fmt, args ...) since the printfUART.h not available to IRIS platform

2011-04-21 Thread Wang Jing
Hi everyone! I want to use dbg() macro to print out some debug information. So I set CFLAG += DPRINTFUART_ENABLED. the dbg macro works fine on telsb platform, but when I want to use IRIS mote, and the PrintfUART.h was not available to IRIS platform. I find that the function printf() in