fix(#765): clearer recovery log past the sync cap, and name CMD_GET_CONTACT_BY_KEY

Found in the owner's hardware test: a manual refresh after the 3
automatic syncs logged "full sync 4 of 3", and the traffic log showed
the by-key request as CODE_30. Log text only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix/793-log-composer-budget
diffwireauto 1 month ago committed by Benjamin Wiechel
parent 4c352102e6
commit 49c77f09db

@ -3960,10 +3960,13 @@ class MeshCoreConnector extends ChangeNotifier {
return;
}
final syncCount = _contactFullStreams <= contactSyncMaxFullStreams
? 'full sync $_contactFullStreams of $contactSyncMaxFullStreams'
: 'full sync $_contactFullStreams, past the $contactSyncMaxFullStreams '
'automatic syncs; checking by key';
_appDebugLogService?.warn(
'Contact sync short: radio declared ${declared ?? 'no total'}, sent '
'$received (full sync $_contactFullStreams of '
'$contactSyncMaxFullStreams). Nothing removed.',
'$received ($syncCount). Nothing removed.',
tag: 'ContactSync',
);
// A user refresh during the by-key checks only adds what it delivered;

@ -167,6 +167,8 @@ class BleDebugLogService extends ChangeNotifier {
return 'CMD_RESET_PATH';
case cmdRemoveContact:
return 'CMD_REMOVE_CONTACT';
case cmdGetContactByKey:
return 'CMD_GET_CONTACT_BY_KEY';
case cmdReboot:
return 'CMD_REBOOT';
case cmdGetBattAndStorage:

Loading…
Cancel
Save

Powered by TurnKey Linux.