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 <saraah1...@gmail.com>wrote:

> Hi,
>
> Thank you, i have reset the motes....and i tried listening...
>
> it gives me the following results....which i dont think there are
> correct...i am running the room temperature application.
>
> 00 FF FF 00 01 1C 22 93 00 00 01 00 00 01 00 67 00 1C 00 1C 00 1C 00 1C 00
> 1C 00 1C 00 1C 00 1C 00 1C 00 1C
> 00 FF FF 00 01 1C 22 93 00 00 01 00 00 01 00 68 00 1C 00 1C 00 1C 00 1C 00
> 1C 00 1C 00 1C 00 1C 00 1C 00 1C
> 00 FF FF 00 01 1C 22 93 00 00 01 00 00 01 00 69 00 1C 00 1C 00 1C 00 1C 00
> 1C 00 1C 00 1C 00 1C 00 1C 00 1C
> 00 FF FF 00 01 1C 22 93 00 00 01 00 00 01 00 6A 00 1C 00 1C 00 1C 00 1C 00
> 1C 00 1C 00 1C 00 1C 00 1C 00 1C
>
> How do i read these values?
>
> Thank you in-advance!
>
>
> On Tue, Jan 15, 2013 at 4:22 PM, Dang Thi Hai Ha <hris2...@gmail.com>wrote:
>
>> 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 <saraah1...@gmail.com
>> > wrote:
>>
>>> 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 0x0
>>>
>>> Sometimes i still recieve this problem...not returning anything:
>>>
>>> Thread[Thread-1,5,main]serial@/dev/ttyUSB0:115200: resynchronising
>>>
>>>
>>> I NEED HELP: any suggestions of what's wrong OR what i should do?
>>>
>>>  Your Reply will be Highly appreciated.
>>>
>>>
>>> On Mon, Jan 14, 2013 at 11:01 AM, Sarah John Mwariti <
>>> saraah1...@gmail.com> wrote:
>>>
>>>> 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 0x0
>>>>
>>>>
>>>> any suggestions of what's wrong?
>>>>
>>>>
>>>> On Mon, Jan 14, 2013 at 10:59 AM, Sarah John Mwariti <
>>>> saraah1...@gmail.com> wrote:
>>>>
>>>>> 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 <sy.kal...@gmail.com>wrote:
>>>>>
>>>>>>  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...
>>>>>>
>>>>>> 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 following errors
>>>>>>
>>>>>> "
>>>>>> /opt/tinyos-2.1.2/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning:
>>>>>> #warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
>>>>>> /opt/tinyos-2.1.2/tos/chips/msp430/adc12/Msp430Adc12ImplP.nc:68:4:
>>>>>> warning: #warning Accessing TimerA for ADC12
>>>>>> /opt/tinyos-2.1.2/tos/chips/sht11/SensirionSht11LogicP.nc: In
>>>>>> function ‘SensirionSht11LogicP__0__readSensor__runTask’:
>>>>>> /opt/tinyos-2.1.2/tos/chips/sht11/SensirionSht11LogicP.nc:322:11:
>>>>>> warning: variable ‘crc’ set but not used [-Wunused-but-set-variable]
>>>>>> /opt/tinyos-2.1.2/tos/chips/msp430/adc12/AdcStreamP.nc: In function
>>>>>> ‘AdcStreamP__nextBuffer’:
>>>>>> /opt/tinyos-2.1.2/tos/chips/msp430/adc12/AdcStreamP.nc:191:20:
>>>>>> warning: variable ‘tmp_count’ set but not used 
>>>>>> [-Wunused-but-set-variable]
>>>>>> /opt/tinyos-2.1.2/tos/chips/sht11/SensirionSht11LogicP.nc: In
>>>>>> function ‘SensirionSht11LogicP__0__performCommand’:
>>>>>> /opt/tinyos-2.1.2/tos/chips/sht11/SensirionSht11LogicP.nc:193:19:
>>>>>> warning: variable ‘crc’ set but not used [-Wunused-but-set-variable]
>>>>>> /opt/msp430-46/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/lib/mmpy-16/libc.a(printf.o):
>>>>>> In function `printf':
>>>>>> /home/cire/mm/w/tp/tinyos-2.x/tools/platforms/msp430/toolchain-46/msp430-libc-20120224/src/./stdlib/printf.c:42:
>>>>>> undefined reference to `putchar'
>>>>>> /opt/msp430-46/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/lib/mmpy-16/libc.a(printf.o):
>>>>>> In function `vprintf':
>>>>>> /home/cire/mm/w/tp/tinyos-2.x/tools/platforms/msp430/toolchain-46/msp430-libc-20120224/src/./stdlib/printf.c:50:
>>>>>> undefined reference to `putchar'
>>>>>> collect2: ld returned 1 exit status
>>>>>> make: *** [exe0] Error 1
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>  Please help!
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Tinyos-help mailing 
>>>>>> listTinyos-help@millennium.berkeley.eduhttps://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> Tinyos-help@millennium.berkeley.edu
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>>
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to