Hi! The Mica2 has completely different radio than the MicaZ and IRIS, they cannot communicate!!
Miklo On Thu, Oct 14, 2010 at 1:10 PM, Correo de Wacka <[email protected]> wrote: > > Hi all, > > I'm trying to install the RssiDemo in three different pairs of motes > separately (Mica2, MicaZ and IRIS) to evaluate the behaviour of these motes > in my proyect, different distances, different . I've changed a line in the > RssiBase as follows and it compiles perfect with the three motes. > > " > /** > * @author Dimas Abreu Dutra > */ > > #include "ApplicationDefinitions.h" > #include "RssiDemoMessages.h" > > module RssiBaseC { > uses interface Intercept as RssiMsgIntercept; > > #ifdef __CC2420_H__ > uses interface CC2420Packet; > #elif defined(TDA5250_MESSAGE_H) > uses interface Tda5250Packet; > #elif defined defined(PLATFORM_IRIS) > uses interface PacketField<uint8_t> as PacketRSSI; > #else > > #endif > > } implementation { > " > > But, in spite of recieving packets when I use IRIS or MicaZ when they're > plugged into the mib520, the Mica2 doesn't recieved any packet. I'm using > Tinyos 2.x and win xp on cygwin. I think that may be some bugs with the type > of packet or something related with the interface? Besides,I've started the > serial forwarder and it seems that no packets are recieved. Even I've call > the leds when a packet is recived in the Intercept BasestationP as follows: > > " > event message_t *RadioReceive.receive[am_id_t id](message_t *msg, > void *payload, > uint8_t len) { > call Leds.led2Toggle(); > return receive(msg, payload, len, id); > " > > Anyone has an idea to solve it? > > Thanks for your time. > > David > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
