from protobuf message Config.LoRaConfig
Bandwidth in MHz Certain bandwidth numbers are 'special' and will be converted to the appropriate floating point value: 31 -> 31.25MHz
from protobuf field: uint32 bandwidth = 3;
The denominator of the coding rate. ie for 4/8, the value is 8. 5/8 the value is 5.
from protobuf field: uint32 coding_rate = 5;
This parameter is for advanced users with advanced test equipment, we do not recommend most users use it. A frequency offset that is added to to the calculated band center frequency. Used to correct for crystal calibration errors.
from protobuf field: float frequency_offset = 6;
Overrides HOPS_RELIABLE and sets the maximum number of hops. This can't be greater than 7. 0 for default of 3
from protobuf field: uint32 hop_limit = 8;
For testing it is useful sometimes to force a node to never listen to particular other nodes (simulating radio out of range). All nodenums listed in ignore_incoming will have packets they send droped on receive (by router.cpp)
from protobuf field: repeated uint32 ignore_incoming = 103;
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.
from protobuf field: Config.LoRaConfig.ModemPreset modem_preset = 2;
The region code for the radio (US, CN, EU433, etc...)
from protobuf field: Config.LoRaConfig.RegionCode region = 7;
A number from 7 to 12. Indicates number of chirps per symbol as 1<<spread_factor.
from protobuf field: uint32 spread_factor = 4;
Disable TX from the LoRa radio. Useful for hot-swapping antennas and other tests. Defaults to false
from protobuf field: bool tx_disabled = 9;
If zero then, use default max legal continuous power (ie. something that won't burn out the radio hardware) In most cases you should use zero here. Units are in dBm.
from protobuf field: int32 tx_power = 1;
Generated using TypeDoc