Hi, I really appreciate your help. But I am using TOSSIM. I guess, CC2420Packet is not supported by TOSSIM. Please correct me if I am wrong.
This is the reason why we had to make a new interface to link tossim message and then pass it to putOnAir, Thanks, Vijayant On Dec 5, 2007 2:35 AM, Urs Hunkeler <[EMAIL PROTECTED]> wrote: > Hi, > > You can use CC2420Packet.getRssi(msg) and CC2420Packet.getLqi(msg) > functions with the received message as the parameter to get the RSSI and > the LQI values. > > To set the desired transmission power with which a packet should be > send, you can use the CC2420Packet.setPower(&packet, txPower) function. > > The CC2420Packet interface is provided by the CC2420PacketC module. > > Cheers, > Urs > > > john varkey schrieb: > > Hi, > > I would also like to know how to know the RSSI value from the CC2420 > packet metadata. > > > > regards, > > John Paul > > > > Vijayant Bhatnagar <[EMAIL PROTECTED]> wrote: hi, > > I just read phil's reply on one of the threads that we can receive RSSI > in tossim 2.0. Can anyone please let me know the interface through which > we can do this ? I checked the code for TossimMessage, there already exists > a field in the metadata. However, when I tried accessing it, it returns zero > value. > > > > Any help is appreciated. > > > > Thanks, > > Vijayant. > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@Millennium.Berkeley.EDU > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help