我想编写一个微尘无线电通信程序,并希望接收方向发送方确认。我知道这PacketAcknowledgements
是推荐的,但有一些问题我不确定这个界面。
1. If I use it in the sender mote,should i also uses interface Receive in the module of the sender mote
2. Should I write extra code in the receiver mote? Should I use interface PacketAcknowledgements too?
3. command error_t requestAck(message_t *msg) and command bool wasAcked(message_t *msg) should be used when and where