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

+3
View File
@@ -2078,6 +2078,9 @@
}
},
"contactsSettings_overwriteOldestSubtitle": "无线电的联系人列表已满时,替换最旧的非收藏联系人。",
"contactsSettings_hopLimit": "跳数限制",
"contactsSettings_hopLimitOption": "{hops, plural, =0{不限} =1{1(仅直连)} other{{hops}}}",
"contactsSettings_hopLimitSubtitle": "无线电只会自动添加跳数少于此值的联系人。“已发现的联系人”中仍会保存全部。",
"contactsSettings_evictDiscoveredContactsTitle": "限制已发现的联系人",
"contactsSettings_evictDiscoveredContactsSubtitle": "应用将“已发现的联系人”列表限制为 {limit} 条。达到上限时会移除较旧的联系人。关闭后不限数量。",
"common_deleteAll": "删除全部",