I
believe that the problem is with your TOS message Buffer. Try
this the code which resides in MOTE1 will be having this event event
TOS_MsgPtr ReceiveMsg.receive(TOS_MsgPtr m) { } This
event returns a TOS_MsgPtr which is used to receive the next message. event
TOS_MsgPtr ReceiveMsg.receive(TOS_MsgPtr m) { return m; } If
you are not returning the TOS_MSgPtr you may receive the first message, but you
will not receive any further messages Hope
this helps Regards, R.Hari
Hara Sudhan Date:
From:
"primalfear 69"
<[EMAIL PROTECTED]> Subject:
[Tinyos-help] able to get the first packet but not
the rest.......... To:
tinyos-help <tinyos-help@millennium.berkeley.edu> Message-ID: <[EMAIL PROTECTED]> Content-Type:
text/plain; charset="iso-8859-1" hello
everyone, again in
need of u guys help........:) i
am using tinyos 1.1.0 mica2 under windows. i use MIB510 programmer. my
program does the following....................... MOTE1
gets data from uart and transmits it to the MOTE 2
via radio. mote2 receives
the data via radio and does some changes and then sends back to the MOTE1
via radio.... i
am able to send many a packet of data from* mote1*........... but only able to
get the first packet and not able to get
the rest from *MOTE2* ////////////////////////// i
am using two motes one (*MOTE1*) is used to get data (a fixed number of data......as
of now its 10) from uart and the other one
*(MOTE2)*is programmed
with genericbase. although
there is a slight change in genericbase
code............ (instead of sending to the uart
(when the mote is receiving data from the radio) i am again sending the data to the radio. problem is here.............) ////////////////////// Regards primalfear |
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help