Hi!

On Mon, 22 Jun 2009, Andres Vahter wrote:

> I tried default-lpl branch.
> There seems to be something wrong with RadioControl, because event void 
> RadioControl.startDone(error_t err) is never called.
>
>
> event void SerialControl.startDone(error_t err) {
>   if (TOS_NODE_ID % 500 == 0) {
>     call Lpl.setLocalSleepInterval(0);
>   }
>
>       call RadioControl.start();
>        }
>
> event void RadioControl.startDone(error_t err) {
>  call Leds.led0Toggle();
>  call Leds.led1Toggle();
>  call Leds.led2Toggle();
>         if (err != SUCCESS) {
>
>     call RadioControl.start();
>                  }
>   else {
>                       //call DisseminationControl.start();
>     call RoutingControl.start();
>     if (TOS_NODE_ID % 500 == 0) {
>                       call RootControl.setRoot();
>     }
>
>       seqno = 0;
>       call Timer.startOneShot(SEND_INTERVAL); //(call Random.rand32() % 
> SEND_INTERVAL);
>   }
> }
>

I did a quick test of the deluge-lpl and I was able to observe packets 
being send by both clients and roots. One thing that might cause confusion 
was the fact that the radio channel was set in the Makefile to 12. I just 
committed one that doesn't.

If this doesn't work please let me know. I will be able to do more testing 
later tomorrow. :-)

--
Razvan ME

> On 22.06.2009, at 8:32, Razvan Musaloiu-E. wrote:
>> 
>> I updated the default-lpl branch with support for micaz. I also add a 
>> branch called default-lpl-new which does not contain Globals. Can you 
>> please try one of them? I did not test them seriously yet so there might be 
>> some bugs.
>> 
>> For people that are watching this. The git repository we are talking about 
>> is this one:
>>      http://hinrg.cs.jhu.edu/git/?p=razvanm/tinyos-2.x.git
>> 
>> --
>> Razvan ME
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to