CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Count acks with MRF24J40 before sending another packet

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
matteo.cacciola



Joined: 04 Aug 2017
Posts: 2

View user's profile Send private message

Count acks with MRF24J40 before sending another packet
PostPosted: Fri Aug 04, 2017 11:53 am     Reply with quote

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
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Aug 05, 2017 1:31 am     Reply with quote

Search the Microchip forum.

MRF24J40 ACK handling
http://www.microchip.com/forums/m275153.aspx
matteo.cacciola



Joined: 04 Aug 2017
Posts: 2

View user's profile Send private message

PostPosted: Sat Aug 05, 2017 6:33 am     Reply with quote

PCM programmer wrote:
Search the Microchip forum.

MRF24J40 ACK handling
http://www.microchip.com/forums/m275153.aspx


Thanks for your suggestion. But, how counting the received acks before sending another packet, please?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group