Hi Miklos,

This is the output on the screen; one line per packet sent; no ACK 
requested:

10:55:52 'r' 7138431 61617 23 [ 0x41 0x88 0x13 0x22 0x00 0xff 0xff 0x01 
0x00 0x3f 0x04 0x00 0x00 0x00 0x00 ] 46
10:56:05 'r' 19278219 11711 23 [ 0x41 0x88 0x14 0x22 0x00 0xff 0xff 0x01 
0x00 0x3f 0x04 0x00 0x00 0x00 0x00 ] 47
10:56:16 'r' 30462298 54669 23 [ 0x41 0x88 0x15 0x22 0x00 0xff 0xff 0x01 
0x00 0x3f 0x04 0x00 0x00 0x00 0x00 ] 45

When an ACK is requested, the output is:

11:00:19 'r' 4355057 30756 23 [ 0x61 0x88 0x11 0x22 0x00 0xff 0xff 0x01 
0x00 0x3f 0x04 0x00 0x00 0x00 0x00 ] 42
11:00:41 'r' 26004104 52922 23 [ 0x61 0x88 0x12 0x22 0x00 0xff 0xff 0x01 
0x00 0x3f 0x04 0x00 0x00 0x00 0x00 ] 45
11:00:54 'r' 38515572 47015 23 [ 0x61 0x88 0x13 0x22 0x00 0xff 0xff 0x01 
0x00 0x3f 0x04 0x00 0x00 0x00 0x00 ] 44

Sergio



On 02/02/2012 06:55 PM, Miklos Maroti wrote:
> Hi Sergio,
>
> Can you use your usual application that does not produce ACKS and on a
> second node run the apps/tests/rfxlink/RadioSniffer attached to a PC
> and run java net.tinyos.tools.DiagMsg on that. That way we will see
> what messages are transmitted and we will see the timing as well.
>
> Miklos
>
> On Fri, Feb 3, 2012 at 3:28 AM, Sergio Gonzalez<[email protected]>  wrote:
>> Hi Miklos,
>>
>> I compiled and installed RadioCountToLeds to my motes. There was no output
>> on the screen after running "java net.tinyos.util.DiagMsg -comm
>> serial@/dev/ttyUSB0:57600". I know for a fact that the serial interface is
>> working well because I can see the output of regular printf messages. I
>> tried doing the same with my test application, but got the same result. I
>> checked that the size of both binaries increased after defining
>> -DRADIO_DEBUG in my makefiles.
>>
>> As you suggested, I also returned RADIO_ALARM_MICROSEC to 1 and
>> RADIO_ALARM_MILLI_EXP to 10 manually. These were the original values, but I
>> had changed them to reflect the most recent update as per the corresponding
>> file in the SVN. Still no luck.
>>
>> Thanks for your help,
>>
>> Sergio
>>
>>
>>
>> On 02/02/2012 05:19 PM, Miklos Maroti wrote:
>>> Hi!
>>>
>>> It looks ok. Are you sure that your TOne clock runs at the right
>>> frequency of 1 MHz? Try setting your RADIO_ALARM_MICROSEC to 1
>>> manually and RADIO_ALARM_MILLI_EXP to 10 manually as in the
>>> RadioConfig.h.
>>>
>>> Also, before you do anything, compile RadioCountToLeds or your
>>> application with RADIO_DEBUG defined in your makefile (you should
>>> observe that the application gets bigger). Then run this and connect
>>> it to your PC with a serial and on that run
>>>
>>> java net.tinyos.tools.DiagMsg
>>>
>>> This might print out useful information on what is failing in your setup.
>>>
>>> Best,
>>> Miklos
>>>
>>> On Fri, Feb 3, 2012 at 2:10 AM, Sergio Gonzalez<[email protected]>
>>>   wrote:
>>>> Hi Miklos,
>>>>
>>>> A copy of my RadioConfig.h file is attached. I am not running the latest
>>>> SVN
>>>> version, but I recently updated the files in both lib/rfxlink and in
>>>> tos/chips/rf2xx/rf230. I wonder whether the problem occurs if my zigbits'
>>>> clocks are uncalibrated.
>>>>
>>>>
>>>> Thanks for your help!
>>>>
>>>> Sergio
>>>>
>>>>
>>>> On 02/02/2012 03:05 PM, Miklos Maroti wrote:
>>>>> Hi Sergio,
>>>>>
>>>>> Can you send us your RadioConfig.h file? Is it the same as that for
>>>>> the IRIS? The two platforms should essentially be completely
>>>>> compatible, so I would like to see what causes the problems. I assume
>>>>> that you are running the latest SVN version.
>>>>>
>>>>> Best,
>>>>> Miklos
>>>>>
>>>> Quoted text from email thread omitted
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to