MeshCore icon

MeshCore

Interact with a MeshCore device over TCP/WiFi

Device → Set Radio Parameters

AI-generated

Summary

Set the device’s LoRa radio frequency, bandwidth, spreading factor, coding rate, and client-repeat flag. The node sends these values to the device as one radio-parameter update; the mesh requires its nodes to use matching radio settings.

Inputs

  • Frequency (MHz) (required) — LoRa centre frequency, from 150 to 2500 MHz; default 869.525 MHz. All nodes on the mesh must agree on the frequency.
  • Bandwidth (kHz) (required) — LoRa bandwidth, from 7 to 500 kHz; default 250 kHz.
  • Spreading Factor (required) — LoRa spreading factor from 5 to 12; default 11. Higher values increase range but reduce speed.
  • Coding Rate (required) — Coding-rate denominator from 5 to 8, representing rates 4/5 through 4/8; default 5.
  • Client Repeat — Whether the companion device also repeats traffic; defaults to false. This flag is rewritten on every radio-parameter update, so read the current value with Get Device Info and set it deliberately. If enabled, the frequency must be within a range returned by Get Allowed Repeat Frequencies or the device rejects the update.

Output shape

a single result from the device confirming or rejecting the update

The source pack identifies the device command used but does not show the operation handler’s returned result shape.

Links

Discussion