mesh

Computes LoRa link SNR margin by comparing received power against the noise floor and the spreading-factor-dependent demodulation threshold from the Semtech SX1276 datasheet. Calculates receiver noise floor from thermal noise (-174 dBm/Hz), channel bandwidth, and receiver noise figure. Returns margin in dB and a boolean link-OK indicator. Use to validate whether a LoRa or Meshtastic link will reliably decode packets. Accepts rx_power from link_budget tool output for end-to-end chain analysis.

post/api/snr_margin

Request

  • Base URL: https://calc.engineer
  • URL: https://calc.engineer/api/snr_margin
  • Auth: none declared

Request body

rx_power_dbmnumber required

Received signal power in dBm (e.g., -110). Typically from a link budget calculation or field measurement.

sfnumber

LoRa spreading factor (7-12). Higher SF tolerates lower SNR.

bw_khzunknown
noise_figure_dbnumber

Receiver noise figure in dB. Typical LoRa radio NF is 6 dB (SX1276).

Response

Computed result for snr_margin

toolstring required
versionstring required
computed_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.