PR review modif + packet aware

This commit is contained in:
PacoX
2026-05-17 15:50:25 +02:00
parent 87b0fd6fc7
commit d6647f4701
17 changed files with 200 additions and 100 deletions
+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;