Hi David, Thank you for your quick reply. I got it worked by just commenting <code> uses interface PacketField<uint8_t> as PacketRSSI; <\code> line. Worked since my mote is mica2.
Your suggestion is great and more general. It will work even if IRIS mote is used. cheers! @ Miklos I am quite new in WSN. started looking at, from few days. Just tried blindly as it was there in mailing list. Thank you for clarification. Now I understandd this. I am going towards my real application! Thanks all. On Fri, Dec 31, 2010 at 1:48 PM, Correo de Wacka <[email protected]>wrote: > Hi Prassad, > > You've to edit the file RssiBase, look where is defined the use of RF230 ( > they define RF230 that when you're using another board instead of MICAZ, so > define, PLATFORM RF230), I'm on holydays right now, please remind me the > next week and I'll send you the code. > > RSSIBAE.c > I think that may be like this : > > > instead of this: > ... > uses interface Tda5250Packet; > #else > uses interface PacketField<uint8_t> as PacketRSSI; > #endif > } implementation {... > > use this other: > > uses interface Tda5250Packet; > #elif defined(PLATFORM_IRIS) > uses interface PacketField<uint8_t> as PacketRSSI; > #else > #endif > } implementation {... > > > > David > > > Let me know if it works. > > > > *-Er wacka -* > > > > > ------------------------------ > > Hi! > > Mica2 has the CC1000 radio chip, so you cannot use the PacketField > interface of the rf230 radio chip with it, so do not add that include > line. > > Best, > Miklos > > Hi David, > > I am also having the same problem, even if I add "INCLUDES += > -I${TOSROOT}/tos/chips/rf230" line in the makefile it doesn't work. > It seems that you have overcome this. Can you pls share your experience > with me. > > Thank you, > > > -- > Quote: > > Hi, all, > > I am trying to install RssiBase onto a Mica2 mote, it comes out the > following error: > > RssiBaseC.nc:47: interface PacketField not found > RssiBaseC.nc:47: unexpected type arguments > > make: *** [exe0] Error 1 > > I read that I should look for the interface PacketField located at > C:\cygwin\opt\tinyos-2.x\tos\chips\rf230*, but when I add > > "INCLUDES += -I${TOSROOT}/tos/chips/rf230" inside makefile then it doesn't > work. > > Besides, I think that this interface PacketField it's only for IRIS, so, I > don't know why ... > > Any idea?? > > Thanks in advance for your time. > > David > > > -- > J Prasad Sampath > Sri Lanka > > -- J Prasad Sampath Sri Lanka
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
