Skip to content

One node ends a seeded cell on 10.4 kHz bandwidth instead of 62.5 kHz #748

Open

Description

@A13xB0

What was seen

In the end-to-end runs for #746 (native MeshCore 1.16.0 and 1.17.0, scotland-strict, five seeds), every node reported sf 8 and bandwidth_hz 62500 at the end of each cell, except one: in seed 4417, AngusOutlaw1 reported bandwidth_hz 10420. It did so in every arm run with that seed, on both firmware versions.

What it is not

10420 is not a decode error. It is the SX126x's 10.4 kHz bandwidth setting (0x08 in SetModulationParams), a value the chip accepts and the bridge reads back as reported (internal/firmware/bridge.go, the BandwidthHz field of the radio stats record).

Why it looks like traffic, not the node

The reading depends on the seed and not on the arm: it appears in seed 4417 only, and in every arm with that seed. That points at something the seed decides, the traffic or the timing, retuning that one node, or a stats record caught while the modem was mid-reconfiguration, rather than at the node's configuration or the firmware build.

To find out

  • Reproduce with seed 4417 and watch AngusOutlaw1's radio stats over the cell, not only at the end, to see when the bandwidth changes and whether it changes back.
  • Check what the node received just before: a command or packet that alters radio parameters would explain a seed-dependent retune.
  • Check whether a node on a different bandwidth for part of a cell is visible anywhere else in the results, since it would hear nothing and be heard by nothing while it is.

Activity

  1. added
    bug
    on Oct 24, 2026
  2. A13xB0 commented on Oct 24, 2026

    @A13xB0
    CollaboratorAuthor

    Tried to reproduce on main (5cdf9d7) and could not.

    Runs, all scotland-strict, 90 s cells, burst at 30 s from Scott Mesh 2, PeterB and Jazzy under #sco:

    builds seed nodes on 62.5 kHz
    repeater/companion v1.17.1 4417 159 of 159
    repeater/companion v1.17.1 9001 159 of 159
    vsx133 v1.16.0 (meshcore-native#26) 4417 159 of 159
    vsx133 v1.17.0 (meshcore-native#26) 4417 159 of 159

    AngusOutlaw1 reads 62500 in every cell.

    Two things worth knowing for the next attempt:

    • AngusOutlaw1 is a companion, not a repeater. Its modem is set over the companion protocol (CMD_SET_RADIO_PARAMS, bandwidth in Hz), and every path in MeshBench that sends that command sends 62500. So 10420 most likely came from the firmware's own state rather than from anything MeshBench told it. Candidates are prefs loaded from storage (_prefs.bw is only clamped to 7.8–500 kHz on load) or a malformed frame landing on the command parser.
    • The senders Record each node's radio counters in every experiment cell #746 used are not recorded, and the traffic is the obvious seed-dependent input. If the original senders are known, rerunning with them is the next step.

    Leaving this open until it reproduces or the original setup is known.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2bugrequires refinement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions