Skip to content

MECP 1.4.0

Choose a tag to compare

@rinchen rinchen released this 17 Nov 23:03
· 28 commits to main since this release
840da0b

MECP 1.4.0

Canonical protocol minor release. Clients claim adherence as MECP 1.4.0 (git tag v1.4.0, this GitHub Release, and package.json version).

Protocol

  • Message envelope (#35): §6.1 defines wire limits, decoders strip one trailing CR/LF, encoders refuse or truncate to fit, decoders are lenient on size; \f is forbidden with the other line breaks and the message pattern excludes U+0085/U+2028/U+2029.
  • Callsign (#36): an AX.25/APRS SSID is outside the alphabet, so ~W1AW-9 stays freetext.
  • Rule 4 (#38): the explicit ASCII boundary list is restored; the MAY clause covers only non-ASCII space and punctuation.
  • Meaning change, rule 2: decoders MUST accept every encoded form and SHOULD accept anything matching the decoding pattern.
  • Meaning change to a field already in use: @HHMM is the sender's local time. Language packs previously said UTC and mecp-app sends UTC. The message carries no zone, so receivers display it as sent.
  • Meaning change, R03:
    • s (seconds) is no longer a unit; 30s is freetext. The value is a duration in min, h or d and must be greater than zero.
    • With several durations, the first by position wins; a bare number is used only when no unit-bearing value matches, and it can't have a decimal part (R03 47.3769,12.1048 no longer reads 47 minutes).
    • A match that fails Additional Validation counts as no match.
    • Code text is ETA [time] (was ETA [minutes]).
  • Appendix A and ADR 0002 drop the unused distance, weight and volume units.

Languages

  • R03 text and the timestamp UI strings say local time in all 21 packs and the template. These translations need native-speaker review.

Docs

  • README examples put P05 before the person count so it decodes as a code; glosses use en.json texts; restated rules and counts removed from the brief.
  • README notes mecp-app was built against pre-release spec items and is not yet compliant (tracked in mecp-org/mecp-app#4).

Infrastructure

  • check-freetext strips trailing CR/LF, reads the boundary set from rule 4, and pins the new R03 and boundary cases.
  • validate-spec checks inline and README examples, flags codes that land in freetext, and checks the brief version and §7 counts.

Full details in CHANGELOG.md.