Skip to content

MeshCore: device-control + firmware management API #159

Description

@M0LTE

Parent: #137. Radio settings and firmware must be DAPPS-controllable, not hand-provisioned.

  • Device-control API: region presets (localisation), TX power (region-capped), channel management (name + 16-byte PSK) — these map 1:1 to companion opcodes already implemented in the PoC (SET_RADIO_PARAMS 0x0B, SET_RADIO_TX_POWER 0x0C, SET_CHANNEL 0x20, GET_CHANNEL 0x1F, SET_ADVERT_NAME 0x08, APP_STARTSELF_INFO). Persist in SystemOptions, apply on startup/change.
  • Firmware flash/upgrade wrapping esptool: detect board, fetch+verify the per-board merged bin (sha256), release the serial port, flash @ 0x0, verify, restart. Deliberate operator action, not auto-update.

Radio liveness watchdog + reset/recovery is tracked separately. See README "Device-control & firmware API".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions