Skip to content

Commit

Permalink
PJON avoid async ack response if router
Browse files Browse the repository at this point in the history
  • Loading branch information
gioblu committed Oct 25, 2017
1 parent 93aa38c commit 18a5857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PJON.h
Expand Up @@ -487,7 +487,7 @@ class PJON {
#if(PJON_INCLUDE_ASYNC_ACK) #if(PJON_INCLUDE_ASYNC_ACK)
/* If a packet requesting asynchronous acknowledgement is received /* If a packet requesting asynchronous acknowledgement is received
send the acknowledgement packet back to the packet's transmitter */ send the acknowledgement packet back to the packet's transmitter */
if(async_ack) { if(async_ack && !_router) {
if(_auto_delete && length == overhead) if(_auto_delete && length == overhead)
if(handle_asynchronous_acknowledgment(last_packet_info)) if(handle_asynchronous_acknowledgment(last_packet_info))
return PJON_ACK; return PJON_ACK;
Expand Down

0 comments on commit 18a5857

Please sign in to comment.