mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-06-11 01:04:56 +02:00
fecf8cdccb
The console treated 2-/3-byte hops as 1-byte: - change_path "<name>" d103 5e34 (space-separated) was joined into continuous hex with hash_size=1, producing four 1-byte hops instead of two 2-byte ones. - path <name> always rendered 1-byte hops because it decoded the hash-size mode from upper bits of out_path_len. In meshcore 2.x the library already masks out_path_len to the hop count and exposes the mode separately in out_path_hash_mode. Parser now splits on commas, whitespace, or arrow separators and requires consistent hop length. Display reads out_path_hash_mode and also shows the byte size, e.g. "D103,5E34 (2 hops, 2B)".