Hi,
I just checked TossimPacket.nC on CVS. It seems that the support for getting
RSSI has been provided. I was able to trace the source code. But, when I try
to access, metadata, I get zero value.
I tried printing, (*bufPtr).metadata[1];
Note : My metadata[0] is tx_power.
Any help ? Please corre
Hi Vijayant,
When a mote m1 sends a packet to another mote m2, and m2 replies with an
ack, the ack will most likely be sent with the default tx power
programmed on m2. So if you send a packet from m1 to m2 with your own
power, and you program the simulation to let the other mote respond with
the s
Hi,
I referred to the data sheet. The data sheet says that programmable
output power range is -24 to 0 dBm (in steps of 3). There is no
mention about reverse link gain. Do we have straightaway assume that
it is less than that of tx ?
How do I model reverse gain ? I am a bit confused.
Any help is
On Dec 3, 2007, at 10:01 PM, Vijayant Bhatnagar wrote:
Hi,
Since we have started working on TinyOS a week back, I may be
wrong. The following is the change I made:
Please correct me if I am wrong :
call GainRadioModel.putOnAirTo(destNode, sending, metadata-
>ack, evt->time, power, po
Hi,
After a lot of struggle, I was able to set the value for this interface from
metadata
command void putOnAirTo(int dest,
message_t* msg,
bool ack,
sim_time_t endTime,
double gain,
Hi,
I think I made a mistake by creating a new function. I should have modified
existing send function of TossimpacketC. Then i would just call AMsend.sendetc..
Please correct me if I am wrong.
Any help is greatly appreciated.
Thanks,
Vijayant
On Dec 4, 2007 1:01 AM, Vijayant Bhatnagar <[EMAIL P
Hi,
Since we have started working on TinyOS a week back, I may be wrong. The
following is the change I made:
Please correct me if I am wrong :
TossimRadioMsg.h
typedef nx_struct tossim_metadata {
//Added by vijayant
nx_uint8_t tx_power;
nx_uint16_t strength;
nx_uint8_t ack;
nx_uint16_t
On Dec 2, 2007, at 3:47 PM, Vijayant Bhatnagar wrote:
Hi Kevin,
I would like to thank you for your reply. We are indeed using
TOSSIM. Right now I am trying to get the latest source code from
CVS and then try to run my code.
Do you think that we will not be able to change TX_POWER even aft
Greg is correct TOSSIM doesn't support any of the CC2420 interfaces.
TOSSIM doesn't support changing the power levels. However you can simulate
networks with varying densities, link qualities, etc. This is done via
altering the link gain model you feed into TOSSIM. Determining what link
gain model
Hi,
I would like to thank Greg for his quick reply. Right now, we don't have
real motes. Our plan is to get things working on TOSSIM (i.e. some kind of
simulation environment) for testing our protocol. We have already developed
Neighbor Discovery protocol and Routing protocols. We just need to give
Hey John,
I appreciate your prompt reply.
But Kevin also said
>>call radio specific interface commands probably isn't supported. I
>>might be wrong though
I remember phil pointed out that radio specific interfaces are not supported
by tossim by packet level interfaces are. He also said that
Kevin Klues wrote:
> I don't think getting the latest code will help you any. I haven't
> dug into how the inner workings of the cc2420 are simulated by TOSSIM,
> but my guess is that they probably aren't. I'm sure the radio
> communication model is probably followed pretty closely, but trying to
Hi,
First of all I would like to thank Kevin for his help.
CC2420 directories were indeed missing in .platform file. I added all the
CC2420/* directories to sim/.platform file. But still, I am facing the same
kind of errors.
mkdir -p build/micaz
placing object files in build/micaz
writing XM
I don't think getting the latest code will help you any. I haven't
dug into how the inner workings of the cc2420 are simulated by TOSSIM,
but my guess is that they probably aren't. I'm sure the radio
communication model is probably followed pretty closely, but trying to
call radio specific interf
Hi Kevin,
I would like to thank you for your reply. We are indeed using TOSSIM. Right
now I am trying to get the latest source code from CVS and then try to run
my code.
Do you think that we will not be able to change TX_POWER even after getting
the latest source code ? Any help by others is appre
I responded to this on a different thread also posted by Vijayant that
was very similar to this one. This one doesnt show that he is trying
to use TOSSIM though. I assume they are the same problem though
Here is my response from the other thread.
>From the error I see (make: *** [sim-exe] Er
Vijayant Bhatnagar wrote:
Hi,
I updated all the CC2420* files and dumped in /opt/tinyos-2.x/tos/chips/cc2420/
but its not working. What should I do in this case ? I am getting same kind
of errors like "interface has no > command or event named"...
Sounds bad.
I'd start with a fresh checkout o
pecific day.
>
> Good luck,
> Urs
>
>
> Vijayant Bhatnagar wrote:
> > Any help is appreciated :)
> >
> > Regards,
> > VB
> >
> > ------ Forwarded message --
> > From: Vijayant Bhatnagar <[EMAIL PROTECTED]>
> > Date: Dec 2, 2007
-
From: Vijayant Bhatnagar <[EMAIL PROTECTED]>
Date: Dec 2, 2007 2:22 AM
Subject: Re: [Tinyos-help] error while incorporating interface CC2420Packet;
To: Urs Hunkeler <[EMAIL PROTECTED]>
Hi Urs,
I copied the file from /opt/tinyos-2.x/tos/chips/cc2420/interfaces to
/opt/tinyos-2.x/to
Any help is appreciated :)
Regards,
VB
-- Forwarded message --
From: Vijayant Bhatnagar <[EMAIL PROTECTED]>
Date: Dec 2, 2007 2:22 AM
Subject: Re: [Tinyos-help] error while incorporating interface CC2420Packet;
To: Urs Hunkeler <[EMAIL PROTECTED]>
Hi Urs,
I copied t
Hi,
Still getting the error? The interface definition should be in:
/opt/tinyos-2.x/tos/chips/cc2420/CC2420Packet.nc (at least that's
where it is on my system). If that file doesn't exist, try getting
a newer version of TinyOS (eg. updating cvs).
Cheers,
Urs
Vijayant Bhatnagar wrote:
Hi,
This
Hi,
This is the piece of code written by me. I am basically modifying
RadiocountToleds tutorial file.
If comment out code for CC2420; everything works absolutely fine.
Any help appreciated,
Thanks,
Vijayant Bhatnagar.
Rutgers.
Source Code : (...AppC.nC)
configuration RadioCountToLedsAppC {}
i
22 matches
Mail list logo