View previous topic :: View next topic |
Author |
Message |
matteo.cacciola
Joined: 04 Aug 2017 Posts: 2
|
Count acks with MRF24J40 before sending another packet |
Posted: Fri Aug 04, 2017 11:53 am |
|
|
Hello all,
I'm pretty new to MRF24J40 and I am trying to develop such kind of following situation. I have one transmitter and a number of receivers from 1 to 4. I set each device (TX and RXs) with a MAC address and all of them are under the same PAN id.
With a for-loop, I send a packet from TX to each RX, changing the RX MAC address within the for-loop. I set the RXs to send ack.
First question: please, is each packet automatically handled by the right receiver just by means of MAC address and PAN id, or I have to set something more?
Second question. Before transmitting next packet, I would like to count received acks. I'm wondering how to do that, but I need a help. Anyone could suggest something, please?
Thanks |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
![](templates/subSilver/images/spacer.gif) |
matteo.cacciola
Joined: 04 Aug 2017 Posts: 2
|
|
Posted: Sat Aug 05, 2017 6:33 am |
|
|
Thanks for your suggestion. But, how counting the received acks before sending another packet, please? |
|
![](templates/subSilver/images/spacer.gif) |
|