Skip to content

rpc_client: fix ACK counter start value - #120

Merged
JordanYates merged 2 commits into
mainfrom
bugfix/bt_dropped_packets
Feb 24, 2026
Merged

rpc_client: fix ACK counter start value#120
JordanYates merged 2 commits into
mainfrom
bugfix/bt_dropped_packets

Conversation

@JordanYates

Copy link
Copy Markdown
Contributor

Start the ACK counter at 0, not negative. This prevents the possibility of too many buffers pending on the receiving device, which would cause buffers to drop and hence the upload to fail. This slightly reduces write throughput.

Start the ACK counter at 0, not negative. This prevents the possibility
of too many buffers pending on the receiving device, which would cause
buffers to drop and hence the upload to fail. This slightly reduces
write throughput.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Move the hardcoded ack period to a class variable that can be updated,
and support an ack period of 0 without blasting the entire file as
quickly as possible.

Signed-off-by: Jordan Yates <jordan@embeint.com>
@JordanYates
JordanYates merged commit 73e6344 into main Feb 24, 2026
7 checks passed
@JordanYates
JordanYates deleted the bugfix/bt_dropped_packets branch February 24, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant