I'm trying to take advantage of the strengths of different LPL states.
 Specifically, I want my motes to listen in the lowest state
(XE1205LPLSTATES-1) until they receive a request.  At that point I
want both nodes to switch to high power mode and transfer data, after
which they return to the lowest state.  Unfortunately, when switching
like this, only the request is received.  None of the packets sent
after the switch are received.  I set up two other nodes which are
using TOSBase to overhear the channel (one for each of the LPL
states), and they see all the packets being sent just fine.  It seems
that it's just the requesting node that can't see them.

Also, I found that if I receive the request, but wait to change power
states until after the first message has been sent and acked (in
sendDone), it all works great.  So, I can work around the problem, but
it is less efficient than I would like.  Also, I would feel better
knowing why it is behaving this way, so I know I'm not just getting
lucky and avoiding a bug by chance.

I thought it might have been a problem with changing LPL states from
receive, so posted a task to do it---no help.  I also thought it might
need some time to figure out what LPL state it is in, so I added a
timed delay---again no help.

Anyone with any ideas as to what is going on, please let me know.
Oh, BTW.  I'm using tinynodes, at 38000bps, acks enabled, cca enabled,
tinyos 1.x out of cvs.


Thanks,
Jacob Sorber
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to