modemPreset property

  1. @TagNumber(2)
Config_LoRaConfig_ModemPreset get modemPreset

Either modem_config or bandwidth/spreading/coding will be specified - NOT BOTH. As a heuristic: If bandwidth is specified, do not use modem_config. Because protobufs take ZERO space when the value is zero this works out nicely. This value is replaced by bandwidth/spread_factor/coding_rate. If you'd like to experiment with other options add them to MeshRadio.cpp in the device code.

Implementation

@$pb.TagNumber(2)
Config_LoRaConfig_ModemPreset get modemPreset => $_getN(1);
  1. @TagNumber(2)
set modemPreset (Config_LoRaConfig_ModemPreset value)

Implementation

@$pb.TagNumber(2)
set modemPreset(Config_LoRaConfig_ModemPreset value) => $_setField(2, value);