mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 19:20:54 +00:00
mesh: re-queue un-acked segmented messages instead of sending them back to back
This commit is contained in:
parent
e3f8b4e7e5
commit
f874399c66
@ -685,15 +685,15 @@ static void mesh_lower_transport_outgoing_send_next_segment(void){
|
||||
return;
|
||||
}
|
||||
|
||||
// re-queue mssage;
|
||||
// re-queue mssage
|
||||
#ifdef LOG_LOWER_TRANSPORT
|
||||
printf("[+] Lower Transport, message unacknowledged retry count %u\n", lower_transport_outgoing_message->retry_count);
|
||||
#endif
|
||||
lower_transport_outgoing_message->retry_count--;
|
||||
// btstack_linked_list_add(&lower_transport_outgoing_ready, (btstack_linked_item_t *) lower_transport_outgoing_message);
|
||||
// lower_transport_outgoing_message = NULL;
|
||||
// mesh_lower_transport_run();
|
||||
// return;
|
||||
btstack_linked_list_add(&lower_transport_outgoing_ready, (btstack_linked_item_t *) lower_transport_outgoing_message);
|
||||
lower_transport_outgoing_message = NULL;
|
||||
mesh_lower_transport_run();
|
||||
return;
|
||||
}
|
||||
|
||||
// restart segment transmission timer for unicast dst
|
||||
|
Loading…
x
Reference in New Issue
Block a user