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 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 lib/printf/printf.h work fine > on IRIS mote. > > is there someone can told me how to use printf to define dbg(X, fmt, > args ...) ? > > the example of dbg(X, fmt, args ...) is dbg( "Boot", "booted with > ID : %i\n", TOS_NODE_ID); > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
