Address review: trace request size and contact-share translation

- Manual path trace validates the request that will actually be sent
  (round trips become 2n-1 hops, 3-byte hops go out as 4-byte prefixes)
  against the 172-byte frame and 64-hop firmware limits, and disables Run
  with an explanation when it does not fit. PathTraceMapScreen also refuses
  to send an oversized request.
- Contact-share tokens are never passed through message translation, so
  the share cannot be mangled before sending.
This commit is contained in:
zjs81 committed 2026-11-07 22:53:42 -07:00
1 parent c939f7a29c
commit 80ead2fc2d
45 files changed
+210 -2

No files matched your search

+6
View File
@@ -5166,6 +5166,12 @@ abstract class AppLocalizations {
/// **'Path is too long (maximum {max} bytes)'**
String manualTrace_errorTooManyHops(int max);
/// No description provided for @manualTrace_errorTraceTooLong.
///
/// In en, this message translates to:
/// **'Too many hops to trace in one request. Remove some hops or choose As entered.'**
String get manualTrace_errorTraceTooLong;
/// No description provided for @mapCache_title.
///
/// In en, this message translates to: