meshcore_us_params

Function meshcore_us_params 

Source
pub fn meshcore_us_params<RK, DLY>(
    lora: &mut LoRa<RK, DLY>,
) -> Result<(ModulationParams, PacketParams, PacketParams), RadioError>
where RK: RadioKind, DLY: DelayNs,
Expand description

Build modulation + packet parameters matching MeshCore US (915 MHz band).

Sourced from MeshCore’s CustomSX1262.h and platformio.ini:

  • 910.525 MHz / SF7 / BW62.5 kHz / CR4/5
  • 16-symbol TX preamble (matched against MeshCore nodes in the field)
  • Private sync word 0x1424 (via enable_public_network = false in LoRa::new)
  • CRC enabled, IQ normal

Returns (ModulationParams, rx_PacketParams, tx_PacketParams).