SitePlannerParams
data class SitePlannerParams(val name: String, val latitude: Double, val longitude: Double, val txPowerWatts: Double = DEFAULT_TX_POWER_WATTS, val txFreqMhz: Double = DEFAULT_TX_FREQ_MHZ, val txHeightMeters: Double = DEFAULT_TX_HEIGHT_METERS, val txGainDbi: Double = DEFAULT_TX_GAIN_DBI, val colorScale: String = DEFAULT_COLOR_SCALE, val rxSensitivityDbm: Double = DEFAULT_RX_SENSITIVITY_DBM, val rxHeightMeters: Double = DEFAULT_RX_HEIGHT_METERS, val maxRangeKm: Double = DEFAULT_MAX_RANGE_KM, val highResolution: Boolean = false, val minDbm: Double = DEFAULT_MIN_DBM, val maxDbm: Double = DEFAULT_MAX_DBM, val overlayTransparency: Int = DEFAULT_OVERLAY_TRANSPARENCY)(source)
Transmitter parameters for a Meshtastic Site Planner coverage estimate. Maps onto the planner's flat query contract (?lat=&lon=&name=&tx_power=&tx_freq=&tx_height=&tx_gain=), so toQueryUrl can hand a configured, auto-running view to the planner without knowing its internal parameter schema.
Constructors
Link copied to clipboard
constructor(name: String, latitude: Double, longitude: Double, txPowerWatts: Double = DEFAULT_TX_POWER_WATTS, txFreqMhz: Double = DEFAULT_TX_FREQ_MHZ, txHeightMeters: Double = DEFAULT_TX_HEIGHT_METERS, txGainDbi: Double = DEFAULT_TX_GAIN_DBI, colorScale: String = DEFAULT_COLOR_SCALE, rxSensitivityDbm: Double = DEFAULT_RX_SENSITIVITY_DBM, rxHeightMeters: Double = DEFAULT_RX_HEIGHT_METERS, maxRangeKm: Double = DEFAULT_MAX_RANGE_KM, highResolution: Boolean = false, minDbm: Double = DEFAULT_MIN_DBM, maxDbm: Double = DEFAULT_MAX_DBM, overlayTransparency: Int = DEFAULT_OVERLAY_TRANSPARENCY)
Properties
Functions
Link copied to clipboard
Build the planner URL that prefills these params and auto-runs the simulation (run=1), asking the planner to hand the result to a native host bridge (bridge=1) rather than the share sheet. Advanced params map onto the planner's flat query contract (receiver / simulation / display sections).