On Sun, Apr 19, 2009 at 4:53 PM, Varun Jain <[email protected]> wrote: > Hi, > > I am copying your query to the chair of the "net" protocol as he will be able > to correctly tell us. > But I think that how AMSend works is that all the nodes (with Receive > interface wired to AMSenderC in this case) will receive the packet and the > packet will be rejected at the link layer by all other nodes except > BaseStation since you have given the " @param addr in AMSend as the address > to which to send the packet" to be "0". As BaseStation has the address of > "0", so it will forward the incoming radio packets to the serial stack. If > you add the Serial communication stack to your existing application as well > and program one particular node with node_id "0", it will also do the same > task as the BaseStation.
If you look at the Makefile in BaseStation, you will notice that it is compiled with a flag that tells it to not do address-based filtering (CFLAGS += -DCC2420_NO_ADDRESS_RECOGNITION). It will forward all the packets it receives on the radio to the UART. - om_p _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
