Hi MS,

Yes, you are right theorectically. But calling .init function would
just re-initialize the parameters in Bcast. In my program,  I called
GenericCommPromiscuous.stop() & .start() to turn radio off and on. I
have no idea why Bcast stops receiving message that Bcast.receive()
isn't invoked again when a Bcast message is sent to it even after
trying not calling Bcast.stop().

Is there anyone has this kind of experience of turning off Micaz'
radio to save power and turn it on again?

Thanks,
Ivan

On 5/9/06, Michael Schippling <[EMAIL PROTECTED]> wrote:
You might try NOT calling .init again.
Just a guess though.
MS


Ivan Wing Mau Cheung wrote:
> Hi everybody,
>
> I am working on a sensor network using Bcast module to receive all
> broadcast packets. After initialization, it works. But when I call
> Bcast.stop(), Bcast.init() and Bcast.start(), it doesn't work to
> receive broadcast  packets since the return value of calling
> Bcast.init() and Bcast.start() is NOT SUCCESS. I think there is
> something wrong with this module. Does anybody have any idea about it?
> It's very urgent. Please let me know if you get any idea.
>
> Thanks,
> Ivan
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to