SF7 LoRa Implicit Header and CRC Airtime
Compare fixed-length implicit and explicit LoRa airtime for 16 bytes at SF7 and 125 kHz, with payload CRC on or off.
Results
Preset estimateWithin airtime budget
- Hourly TX duty
- 0.0275 %
- Usable battery
- 13.824 Wh
- No-sun runtime
- 11.23 days
Modem timing
- Symbol duration
- 1.024 ms
- Preamble time
- 12.544 ms
- Payload time
- 28.672 ms
- Payload symbols
- 28
- Low data rate optimization
- Off
Regional airtime screen
- Local TX time
- 0.989 s / h
- Hourly TX duty
- 0.0275 %
- Nominal occupied channel
- Custom profile
- Airtime ceiling
- 36 s / h
- Whole packets at ceiling
- 873 / h
Path & sensitivity
- Receiver sensitivity
- -124.53 dBm
- Friis path loss
- 99.18 dB
- Friis received level
- -76.88 dBm
- Friis available margin
- 47.66 dB
- Friis margin after target
- 32.66 dB
- Friis range at target margin
- 214.66 km
Battery & solar
- Daily consumption
- 1.231 Wh
- Daily solar harvest
- 0 Wh
- Daily net energy
- -1.231 Wh
- Usable stored energy
- 13.824 Wh
- No-sun days
- 11.23 days
- Solar-assisted runtime
- 11.23 days
- Break-even panel rating
- 0.95 W
Driver-neutral C and Python settings
C99
/* Semtech SX1262 PHY values. Map them to your radio driver and match the peer. */
#include <stdbool.h>
#include <stdint.h>
static const struct {
uint32_t frequency_hz, bandwidth_hz;
uint16_t preamble_symbols;
uint8_t spreading_factor, coding_rate_denominator, payload_bytes;
bool implicit_header, crc_enabled, low_data_rate_optimize;
} lora_config = {
.frequency_hz = 433920000,
.bandwidth_hz = 125000,
.preamble_symbols = 8,
.spreading_factor = 7,
.coding_rate_denominator = 5,
.payload_bytes = 16,
.implicit_header = true,
.crc_enabled = false,
.low_data_rate_optimize = false,
};
Python
# Semtech SX1262 PHY values. Map them to your radio driver and match the peer.
lora_config = {
"frequency_hz": 433920000,
"bandwidth_hz": 125000,
"preamble_symbols": 8,
"spreading_factor": 7,
"coding_rate_denominator": 5,
"payload_bytes": 16,
"implicit_header": True,
"crc_enabled": False,
"low_data_rate_optimize": False,
}
Worked example
This is a raw fixed-length bench frame with 16 radio bytes and payload CRC off. Keep the receiver configured to the same packet length. Toggle back to explicit header and CRC on to compare the change at the symbol-block level.
Use this comparison to explain capture lengths when moving between two packet formats. The explicit header carries radio framing information, while application bytes still belong in the payload count. Disabling a CRC changes error detection as well as airtime.
- Packet time on air
- 41.216 ms
- Hourly TX duty
- 0.0275 %
- Usable battery
- 13.824 Wh
- No-sun runtime
- 11.23 days
Formulas & assumptions
- Tsymbol = 2^SF / BW. BW is in Hz for seconds per symbol.
- Npayload = 8 + CRden × max(ceil((8PL − 4SF + 28 + 16CRC − 20IH) / (4(SF − 2DE))), 0). PL is the radio payload bytes, CRC is 1 when enabled, IH is 1 for implicit header and DE is 1 for LDRO.
- Tpacket = (Npreamble + 4.25 + Npayload) × Tsymbol. SX1262 and SX1276 use the same symbol count for SF7–SF12 with identical settings.
- Duty = local transmissions per hour × Tpacket / 3,600. In the US FHSS screen, occupancy is Tpacket times the busiest-channel packet count in the listed window.
- Load (Wh/day) = V × Σ(state current in A × state hours). Harvest = panel W × peak sun hours × yield. No-sun runtime = usable Wh / daily load.
- Friis loss = 20 log₁₀(4πd/λ). Hata uses an environment-specific intercept plus (44.9 − 6.55 log₁₀(hbase)) log₁₀(dkm).
Use the actual radio payload, header and CRC setting. Confirm the radio’s LDRO register when matching captures. Host-to-radio delay and channel access time are outside time on air.
EU profiles screen nominal occupied band edges and the chosen duty budget. The US FHSS option checks the selected dwell and channel-count criteria only. Equipment approval, actual spectral occupancy, power and local rules need their own checks.
Hata is available for 150–1,500 MHz, a 30–200 m base, a 1–10 m mobile and 1–20 km. Friis range is an unobstructed algebraic estimate. Receiver sensitivity depends on the hardware and packet error criterion.
Enter currents measured at the same battery-side voltage, including MCU and regulator load. Use winter peak sun hours and check the pack’s permitted charging temperature.
References
- Semtech SX1262 and datasheet
- Semtech SX126x airtime reference
- Semtech SX1276 airtime reference
- Meshtastic radio settings
- Meshtastic packet format and preamble
- CEPT ERC Recommendation 70-03, Annex 1
- 47 CFR §15.247, US 902–928 MHz
- Hata’s original land-mobile propagation model
- ITU-R P.525 free-space attenuation
Questions & answers
Does a receiver learn the packet size from an implicit LoRa frame?
The receiver needs the fixed payload length set in advance, along with the matching framing and modulation options.
Does the airtime benefit of omitting CRC stay constant at SF7?
The symbol count changes in whole coding blocks, so a CRC toggle can save a full block or leave the duration unchanged at a particular length.