diff --git a/lib/connector/meshcore_connector.dart b/lib/connector/meshcore_connector.dart index 070fbf8a..c41c26f7 100644 --- a/lib/connector/meshcore_connector.dart +++ b/lib/connector/meshcore_connector.dart @@ -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; diff --git a/lib/services/ble_debug_log_service.dart b/lib/services/ble_debug_log_service.dart index b4685f23..33f42ff2 100644 --- a/lib/services/ble_debug_log_service.dart +++ b/lib/services/ble_debug_log_service.dart @@ -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: