PR review modif + packet aware

This commit is contained in:
PacoX committed 2026-05-17 15:50:25 +02:00
1 parent 87b0fd6fc7
commit d6647f4701
17 files changed
+200 -100

No files matched your search

+1 -1
View File
@@ -3854,7 +3854,7 @@ class MeshCoreConnector extends ChangeNotifier {
}
// Path hash mode v10+ (byte 81): width = mode + 1 byte(s) per hop
if (frame.length >= 82) {
final mode = (frame[81] & 0xFF).clamp(0, 2);
final mode = (frame[81] & 0xFF).clamp(0, 3);
_pathHashByteWidth = mode + 1;
} else {
_pathHashByteWidth = 1;