Contact Settings: add Hop limit

Sets the companion firmware's autoadd_max_hops (optional third byte of
CMD_SET_AUTOADD_CONFIG). The radio only auto-adds contacts heard in
fewer hops than the limit; 0 means no limit. Shown only when the radio
reports the value. Review mode stores it like the firmware.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
celsoazevedoandClaude Opus 5.5 committed 2026-11-23 22:12:10 +00:00
1 parent fc7bbe9e02
commit 6a5d15209b
46 files changed
+628 -1

No files matched your search

+38
View File
@@ -5905,6 +5905,25 @@ class AppLocalizationsPt extends AppLocalizations {
String get contactsSettings_overwriteOldestSubtitle =>
'Quando a lista de contatos do rádio estiver cheia, substitui o contato mais antigo que não seja favorito.';
@override
String get contactsSettings_hopLimit => 'Limite de saltos';
@override
String contactsSettings_hopLimitOption(int hops) {
String _temp0 = intl.Intl.pluralLogic(
hops,
locale: localeName,
other: '$hops',
one: '1 (somente direto)',
zero: 'Sem limite',
);
return '$_temp0';
}
@override
String get contactsSettings_hopLimitSubtitle =>
'O rádio só adiciona automaticamente contatos com menos saltos que este valor. Todos continuam sendo salvos em Contatos Descobertos.';
@override
String get contactsSettings_evictDiscoveredContactsTitle =>
'Limitar contatos descobertos';
@@ -14151,6 +14170,25 @@ class AppLocalizationsPtPt extends AppLocalizationsPt {
String get contactsSettings_overwriteOldestSubtitle =>
'Quando a lista de contactos do rádio estiver cheia, substitui o contacto mais antigo que não seja favorito.';
@override
String get contactsSettings_hopLimit => 'Limite de hops';
@override
String contactsSettings_hopLimitOption(int hops) {
String _temp0 = intl.Intl.pluralLogic(
hops,
locale: localeName,
other: '$hops',
one: '1 (apenas direto)',
zero: 'Sem limite',
);
return '$_temp0';
}
@override
String get contactsSettings_hopLimitSubtitle =>
'O rádio só adiciona automaticamente contactos com menos hops do que este valor. Todos continuam a ser guardados em Contactos descobertos.';
@override
String get contactsSettings_evictDiscoveredContactsTitle =>
'Limitar contactos descobertos';