okay i got it..i think tossim seems to be the problem. I also read it
somewhr that there is some problem with printing the strength value on pc.
Thanks,
Rajat
On Tue, 6 Jun 2006, Sankar Gorthi wrote:
and oh - tinyos-1.1.0
Sankar.
On Tue, 06 Jun 2006 00:20:08 -0500, Sankar Gorthi [EMAIL
On Jun 5, 2006, at 11:57 PM, Sankar Gorthi wrote:
well,
makes sense doesn't it? how can you simulate the strength of the
recieved signal? i'd imagine it's fairly random.
although, i wouldn't stake anything on it. maybe someone else has a
better idea.
You can simulate the strength of a
I am trying to print RSSI strength in the recieved broadcast packet. First
i was trying to access in tinyos-1.0 but i came to know that it is not
possible in this version. I upload my tinyos to 1.15 but i am getting the
value as zero only. Has ne one else came thru similar problem?
-rajat
i was able to get it. what seems to be the problem?
all i did was access the message-strength value.
Sankar.
On Mon, 05 Jun 2006 23:33:52 -0500, Rajat Bansal [EMAIL PROTECTED]
wrote:
I am trying to print RSSI strength in the recieved broadcast packet.
First i was trying to access in
By the use of print I think you may be trying to get the strength
on the host PC? If so, it ain't there. It's only available in the
TOS_Msg structs on the mote end of the world, and is not passed
over the UART to the host.
Search back on this list for RSSI discussions.
MS
Rajat Bansal wrote:
dear sanskar,
1) which version of tinyos did u use?
2) i am attaching my code for recieved packet.
event TOS_MsgPtr ReceiveIntMsg.receive(TOS_MsgPtr m) {
TOS_MsgPtr ret = m;
IntMsgnew*message = (IntMsgnew *)m-data;
atomic{receivednode=message-src;}
// call ADC.getData();
// call
well,
this is my (a colleague's) code:
Receive.receive(TOS_MsgPtr m)
IntMsg *message=(IntMsg*)buffer.data;
message-val=m-strength;
doesn't look too different.
although our experiments were done on the actual motes and we broadcast
the value in a message packet as you can see.
Sankar.
and oh - tinyos-1.1.0
Sankar.
On Tue, 06 Jun 2006 00:20:08 -0500, Sankar Gorthi
[EMAIL PROTECTED] wrote:
well,
this is my (a colleague's) code:
Receive.receive(TOS_MsgPtr m)
IntMsg *message=(IntMsg*)buffer.data;
message-val=m-strength;
doesn't look too different.
although our