Hi, I am developing an application that needs to use both singlehop and multihop communications. Each node will talk to its 1 hop neighbors using singlehop radio communication. For that purpose I am using ActiveMessageC component, so I can send and receive different type of messages. This part of the application works ok.
Now, I need to transmit some results from each node to a BS. For that purpose (since BS can be far from nodes in the network), I am planning to use Collection protocol. I have implemented both Collection.sendDone and Collection.receive and I call Collection.Send when need to transmit to the BS (defined as root by RootControl.setRoot). The thing is that I have a compilation warning when compiling both for motes or TOSSIM: - make micaz nesc1: warning: calls to Receive.receive in CC2420ActiveMessageP fan out, but there is no combine function specified for the return type - make micaz sim nesc1: warning: calls to Receive.receive in TossimActiveMessageC fan out, but there is no combine function specified for the return type If I try to run the application, I am correctly receiving singlehop messages, but I don't receive any Collection messages. Furthermore, Collection.sendDone is not fired. I have looked if Collection message type appears both in Radio.sendDone or Radio.receive events, but they don't. So, I am wondering whether this is an error in my implementation or it is not possible to have both singlehop and collection radio communications in TinyOS (I am using the latest CVS version). Thanks in advance, Iñigo _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help