Skip to content

fix: broken RPCs are left in the receiving end buffer#59

Merged
eigen-value merged 1 commit intomainfrom
fix_broken_rpc_on_restart
Mar 11, 2026
Merged

fix: broken RPCs are left in the receiving end buffer#59
eigen-value merged 1 commit intomainfrom
fix_broken_rpc_on_restart

Conversation

@eigen-value
Copy link
Copy Markdown
Collaborator

This PR fixes a single issue that randomly happens at restart/reflash if broken RPCs pollute the receiving end.
Printing a short startup message enables the receiving end buffer to flush

@eigen-value eigen-value requested a review from pennam March 10, 2026 14:29
@github-actions
Copy link
Copy Markdown

Memory usage change @ 1e5bd1b

Board flash % RAM for global variables %
arduino:zephyr:unoq 🔺 +52 - +76 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table
Board examples/client
flash
% examples/client
RAM for global variables
% examples/clientSSL
flash
% examples/clientSSL
RAM for global variables
% examples/hci
flash
% examples/hci
RAM for global variables
% examples/monitor
flash
% examples/monitor
RAM for global variables
% examples/server
flash
% examples/server
RAM for global variables
% examples/simple_bridge
flash
% examples/simple_bridge
RAM for global variables
% examples/test
flash
% examples/test
RAM for global variables
% examples/test_rpc_thread
flash
% examples/test_rpc_thread
RAM for global variables
% examples/udp_ntp_client
flash
% examples/udp_ntp_client
RAM for global variables
%
arduino:zephyr:unoq 56 0.0 0 0.0 56 0.0 0 0.0 56 0.0 0 0.0 56 0.0 0 0.0 52 0.0 0 0.0 76 0.0 0 0.0 56 0.0 0 0.0 52 0.0 0 0.0 56 0.0 0 0.0
Click for full report CSV
Board,examples/client<br>flash,%,examples/client<br>RAM for global variables,%,examples/clientSSL<br>flash,%,examples/clientSSL<br>RAM for global variables,%,examples/hci<br>flash,%,examples/hci<br>RAM for global variables,%,examples/monitor<br>flash,%,examples/monitor<br>RAM for global variables,%,examples/server<br>flash,%,examples/server<br>RAM for global variables,%,examples/simple_bridge<br>flash,%,examples/simple_bridge<br>RAM for global variables,%,examples/test<br>flash,%,examples/test<br>RAM for global variables,%,examples/test_rpc_thread<br>flash,%,examples/test_rpc_thread<br>RAM for global variables,%,examples/udp_ntp_client<br>flash,%,examples/udp_ntp_client<br>RAM for global variables,%
arduino:zephyr:unoq,56,0.0,0,0.0,56,0.0,0,0.0,56,0.0,0,0.0,56,0.0,0,0.0,52,0.0,0,0.0,76,0.0,0,0.0,56,0.0,0,0.0,52,0.0,0,0.0,56,0.0,0,0.0

@eigen-value eigen-value merged commit 8ce1037 into main Mar 11, 2026
5 checks passed
@eigen-value eigen-value deleted the fix_broken_rpc_on_restart branch March 11, 2026 10:44
@per1234 per1234 added the bug Something isn't working label Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants