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

+10
View File
@@ -3287,6 +3287,16 @@
"contactsSettings_autoAddSensorsTitle": "Sensors",
"contactsSettings_overwriteOldestTitle": "Overwrite oldest",
"contactsSettings_overwriteOldestSubtitle": "Replace the oldest non-favorited contact when the radio's contact list is full.",
"contactsSettings_hopLimit": "Hop limit",
"contactsSettings_hopLimitOption": "{hops, plural, =0{No limit} =1{1 (direct only)} other{{hops}}}",
"@contactsSettings_hopLimitOption": {
"placeholders": {
"hops": {
"type": "int"
}
}
},
"contactsSettings_hopLimitSubtitle": "The radio only auto-adds contacts under this many hops. Discovered Contacts still saves them all.",
"contactsSettings_evictDiscoveredContactsTitle": "Limit discovered contacts",
"contactsSettings_evictDiscoveredContactsSubtitle": "The app sets a {limit} entry limit to the discovered contacts list, older contacts are evicted when the limit is reached. Disable to have no limits.",
"@contactsSettings_evictDiscoveredContactsSubtitle": {