[Tracking] JP / ARIB STD-T108 compliance

Open
#12,441 10 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
cpp
Domain
embedded-iot

Research direction

This is a tracking issue for several interdependent ARIB STD-T108 compliance changes; the body names PRESETS_JP, PROFILE_JP, RegionProfile, RadioInterface::frequencySlotCount(), and src/mesh/regulatory/. Start by reading the linked PRs #11566, #11747, and #11559 and the dependency order in this issue. The work is complete when those changes and the listed follow-ups, including device UI and documentation, are resolved.

Written by the indexing model from the issue text.

Description

Tracks the work to bring the JP region in line with ARIB STD-T108. @t-miura owns all three PRs.

PRs

  • #11566: the JP preset list (PRESETS_JP / PROFILE_JP), and clamping an invalid preset to the region default at INFO with no critical error
  • #11747: carrier sense (LBT), the 50 ms pause between transmissions, the 4 s limit for custom settings, and src/mesh/regulatory/
  • #11559: centre frequencies on the ARIB 200 kHz unit-channel grid (breaking, 3.0)

Landing order

The three depend on each other in a circle, so this order breaks it:

  1. #11566 without NARROW_FAST/NARROW_SLOW: the clamp change, plus dropping LONG_SLOW and LONG_MODERATE (they can exceed 4 s)
  2. #11747 on top of that. Until the clamp change is in, clamping to LongFast shows Critical Fault #7.
  3. #11559 reworked onto #11747's layout: a unitChannelMHz field in RegionProfile, and one slot-plan function used by every caller, RadioInterface::frequencySlotCount() included (#12126 added it)
  4. NARROW_FAST/NARROW_SLOW added to the JP list with #11559 or after it. Before that they centre off the grid, at 920.53125 MHz.

Follow-ups

  • RSSI offset for carrier sense on boards whose FEM has an RX LNA, other than the M5Stack Unit C6L (Heltec V4.2 report in #11747)
  • Beacon mode switching to or from JP can disable the TX hooks or race (raised in #11747, out of its scope)
  • device-ui LoRaPresets.cpp: JP region info and slot display for the new grid
  • Docs for the JP channel plan and the migration steps for #11559
  • Release note for #11566: JP nodes on LongSlow or LongModerate move to LongFast on upgrade and keep their frequency slot
Dominant language
C++
Stars
8.4k
Forks
2.8k
Avg merge
3d 14h
Merged PRs (30d)
119

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from meshtastic/firmware

All issues in meshtastic/firmware

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.