[Tinyos-help] Re: BaseStationP trasparent bridging problem

2008-03-07 Thread Salvo Fiduccia
ddress(); ) I agree with you, but I think that the instruction (line 274) in BaseStationP is misleading. Thanks, Salvo > On Thu, Mar 6, 2008 at 4:15 PM, Salvo Fiduccia <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > in SerialActiveMessageP there is a note in the AMSend.s

[Tinyos-help] BaseStationP trasparent bridging problem

2008-03-06 Thread Salvo Fiduccia
Hi all, in SerialActiveMessageP there is a note in the AMSend.send command: "Do not set the source address or group, as doing so prevents transparent bridging" I think this is correct, but the same don't happen in the send command of ActiveMessageC: in the micaz implementation, in CC2420csmaP,

[Tinyos-help] Acknowledge frames may be manually transmitted

2008-02-28 Thread Salvo Fiduccia
Hi all, at page 42 of CC2420 datasheet (http://focus.ti.com/lit/ds/symlink/cc2420.pdf) there is: "Acknowledge frames may be manually transmitted using normal data transmission if desired." What this mean? I have a sensor sending messages to a basestation/host. I would send an ack (from basestat

[Tinyos-help] reproduce the radio environment

2008-02-26 Thread Salvo Fiduccia
Hi all, how can I get the gain values for the link between 2 nodes (CC2420) to reproduce a radio environment in Tossim2 (CPM model)? I have thought this "plan": Supposing I have two motes, - measure the noise N1 and N2 (e.g. with RssiToSerial); - measure the RSSI's packets for both nodes, Str1 a

[Tinyos-help] BaseStation Modification to Read RSSI

2008-02-20 Thread Salvo Fiduccia
try this: http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x-contrib/stanford-sing/apps/RssiSample/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Collection trees for bi-directional communication

2008-02-20 Thread Salvo Fiduccia
Hi all, I would make a multihop ping application using Collection components. Supposing that I have a 3 motes linear configuration ( BaseSt -- 1 -- 2 ), how I could make 2 different trees (one rooted at the base station and one at the node 2)? Should I set both nodes as "root" (using only one C

[Tinyos-help] adding tossim-event from outside

2007-06-04 Thread Salvo Fiduccia
Hi all, I have modified tossim and now the simulation time is the same of the actual time. I would add receive-event in tossim from an external application whithout delaying the simulation too much. I think I have 2 options: 1) use UDP/server with signal-driven I/O (because with UDP a signal is

[Tinyos-help] UscGainInterferenceModelC implementation

2007-03-29 Thread Salvo Fiduccia
> outstandingReceptionHead is the head of a singly-linked list of > packets that the node is currently hearing. The above lines of code > find the node in the list that precedes the packet in question > (predecessor). If there is no preceding node, then it must be the > head of the list. Th

[Tinyos-help] UscGainInterferenceModelC implementation

2007-03-29 Thread Salvo Fiduccia
On Wed, 2007-03-21 at 13:51, Salvo Fiduccia wrote: > > Hi all, > > relating to the "sim_gain_receive_handle" function > > (UscGainInterferenceModelC.nc file), I don't understand when the code that > > checks if has been received a packet stronger than

[Tinyos-help] UscGainInterferenceModelC implementation

2007-03-21 Thread Salvo Fiduccia
Hi all, relating to the "sim_gain_receive_handle" function (UscGainInterferenceModelC.nc file), I don't understand when the code that checks if has been received a packet stronger than the others, i.e. "if ((list->power - sim_gain_sensitivity()) < heardSignal())" could be false (heardSignal()