Merge pull request #1071 from meshtastic/rcarteraz-patch-2

Channel Number to Frequency Slot
This commit is contained in:
Ben Meadors 2024-03-01 17:34:21 -06:00 committed by GitHub
commit 3eafce5ece
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 10 deletions

View file

@ -17,7 +17,7 @@ Meshtastic is **not** LoRaWAN, Helium or TTN (TheThingsNetwork). Meshtastic uses
Power limits will generally be lifted in the software if `is_licensed` is set to `true`. See [HAM Mode](/docs/faq#amateur-radio-ham) for more information.
:::
## Channel Frequency Calculator
## Frequency Slot Calculator
<FrequencyCalculator />

View file

@ -100,13 +100,9 @@ Allows you to enable and disable transmit (TX) from the LoRa radio. Useful for h
Defaults to true
### Channel Number
### Frequency Slot
This is controlling the actual hardware frequency the radio is transmitting on. A channel number between 1 and NUM_CHANNELS (whatever the max is in the current region). If this is ZERO/UNSET then the rule is "use the old channel name hash based algorithm to derive the channel number".
:::info
LoRa Channel Configuration should not to be confused with messaging [Channel Configuration](/docs/configuration/radio/channels). See [Chat Channels VS Lora Modem Channels](/docs/configuration/tips#chat-channels-vs-lora-modem-channels) for further clarification.
:::
This setting controls the actual hardware frequency at which the radio transmits, represented by a frequency slot between 1 and NUM_SLOTS (the maximum for the current region and modem preset). If set to `0`/UNSET, the device reverts to the older channel name hash-based algorithm for determining the frequency slot.
### Ignore Incoming Array

View file

@ -356,12 +356,12 @@ export const FrequencyCalculator = (): JSX.Element => {
</div>
<div className="flex gap-2 mb-4">
<label className="font-semibold">Number of channels:</label>
<label className="font-semibold">Number of slots:</label>
<input type="number" disabled={true} value={numChannels} />
</div>
<div className="flex gap-2">
<label>Channel:</label>
<label>Frequency Slot:</label>
<select
value={channel}
onChange={(e) => setChannel(Number.parseInt(e.target.value))}
@ -375,7 +375,7 @@ export const FrequencyCalculator = (): JSX.Element => {
</div>
<div className="flex gap-2">
<label className="font-semibold">Channel Frequency:</label>
<label className="font-semibold">Frequency of slot:</label>
<input type="number" disabled={true} value={channelFrequency} />
</div>
</div>