I declare both components PrintfC and SerialStartC, define
NEW_PRINTF_SEMANTICS and include "printf.h".
--
View this message in context:
http://tinyos-help.10906.n7.nabble.com/Printf-error-tp23339p23571.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
___
how is your wiring? coz I guess in the 2.x, you also need to declare PrintC
component!
On Tue, Oct 1, 2013 at 12:53 PM, João Amaral wrote:
> I myself also am experiencing this exact same error.
>
> I am able to use printf() and run PrintfClient utility without problems if
> I
> use it in a dumm
I myself also am experiencing this exact same error.
I am able to use printf() and run PrintfClient utility without problems if I
use it in a dummy application, but when I try to use it in my application
using BLIP I get this exact error. I've tried commenting out instruction
"#include "blip_print
On Wed, Jul 3, 2013 at 2:50 AM, wrote:
>
> /opt/tinyos-main/tos/lib/printf/printf.h:72: warning: useless keyword or
> type name in empty declaration
> /opt/tinyos-main/tos/lib/printf/printf.h:72: warning: empty declaration
> /opt/tinyos-main/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warni
/opt/tinyos-main/tos/lib/printf/printf.h:72: warning: useless keyword or
type name in empty declaration
/opt/tinyos-main/tos/lib/printf/printf.h:72: warning: empty declaration
/opt/tinyos-main/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning
"*** LOW POWER COMMUNICATIONS DISABLED ***"
/op
In that case, please read this tutorial:
http://docs.tinyos.net/tinywiki/index.php/Mote-PC_serial_communication_and_SerialForwarderto
see the configuration of the packet :-)
Good luck !
HH.
On Wed, Jan 16, 2013 at 8:24 AM, Sarah John Mwariti wrote:
> Hi,
>
> Thank you, i have reset the motes...
I may suggest you to reset your mote, re-install the programme on your mote
and retry with the serial listenning...
HH.
On Tue, Jan 15, 2013 at 2:36 PM, Sarah John Mwariti wrote:
> Tried running it ober and over again...this what i am receiving
>
> serial@/dev/ttyUSB0:115200: bad packet
> serial
Tried running it ober and over again...this what i am receiving
serial@/dev/ttyUSB0:115200: bad packet
serial@/dev/ttyUSB0:115200: ignoring unknown packet type 0x0
serial@/dev/ttyUSB0:115200: bad packet
serial@/dev/ttyUSB0:115200: bad packet
serial@/dev/ttyUSB0:115200: ignoring unknown packet type
Tried running it ober and over again...this what i am recieving
serial@/dev/ttyUSB0:115200: bad packet
serial@/dev/ttyUSB0:115200: ignoring unknown packet type 0x0
serial@/dev/ttyUSB0:115200: bad packet
serial@/dev/ttyUSB0:115200: bad packet
serial@/dev/ttyUSB0:115200: ignoring unknown packet type
Thanks all for the reply...
I have taken all your comments into consideration.
This what i get when i am trying to print.It prints nothing
Thread[Thread-1,5,main]serial@/dev/ttyUSB0:115200: resynchronising
Any suggestion of what i didnt do?
On Thu, Jan 10, 2013 at 2:01 PM, Saeid Yazdani
Do you have the following line in your
configuration file?
components SerialPrintfC;
notice that you don't need to wire it to anything.
On 10-1-2013 9:28, Sarah John Mwariti wrote:
Happy new year guys...
Happy new year guys...
I want to use printf statements in an application and I added the following
flags in the makefile.
CFLAGS += -I$(TOSDIR)/lib/printf
CFLAGS += -DPRINTF_BUFFER_SIZE=250
and i have added include :#include "printf.h" header file
but when i make telosb install, i get the follo
Hi all,
i am testing printf,i update my tinyos to svn and i got the following error
/opt/tinyos-2.1.1/apps/tutorials/Printf$ make telosb
mkdir -p build/telosb
compiling TestPrintfAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -fnesc-separator=__ -Wall -Wshadow
-Wnesc-all -target
13 matches
Mail list logo