Expand description
Pointing a concentrator at the channels it listens on.
A concentrator that has been reset, identified and given firmware still hears nothing. Its receivers have not been told which intermediate frequencies to listen on, which radio each takes its samples from, which spreading factors to look for, or that they may run at all. This is what closes that gap.
There are ten receivers. Eight take any spreading factor and share a bandwidth fixed in hardware at 125 kHz. One more is fixed to a single spreading factor and bandwidth, which is what a network calls its service channel. The last hears frequency shift keying.
Every frequency here is an offset from the carrier a front end is tuned to, not a carrier of its own, which is why a plan is described relative to the radio it sits on.
Nothing here opens a bus. The order is data, so it can be checked against the reference with no hardware present.
Structs§
- Fsk
- The receiver that hears frequency shift keying rather than LoRa.
- Implicit
- What a receiver is told when the packets it hears carry no header of their own.
- Listener
- One of the receivers that takes any spreading factor.
- Plan
- What a concentrator is to listen for.
- Service
- The receiver fixed to one spreading factor, which is what a network calls its service channel.
Enums§
- Step
- A step in pointing a concentrator at its channels.
Constants§
- DFT_
PEAK_ AUTOMATIC - Peak selection left to the receiver.
- FSK_
BANDWIDTH_ CODE - How wide the FSK receiver listens, which is the setting for a 125 kHz channel.
- FSK_
CLOCK_ HZ - The clock the FSK bit rate is counted against, in hertz.
- FSK_
DEFAULT_ BITRATE - The bit rate a LoRaWAN network runs its frequency shift keying channel at.
- FSK_
MAX_ PAYLOAD - The longest packet the FSK receiver takes.
- FSK_
RSSI_ SAMPLES - How many samples the FSK receiver measures a signal level over.
- FSK_
SYNC_ WORD - The sync word that channel looks for.
- FSK_
SYNC_ WORD_ LEN - How many bytes of it there are.
- FSK_
TIMEOUT - How long it waits for one, as the receiver counts it.
- FSK_
TOLERANCE - How far the bit timing may drift before a packet is given up on.
- FSK_
WHITENING - Keeping the bits from settling at one level, which a LoRaWAN FSK channel whitens.
- MAX_
OFFSET_ HZ - How far from the carrier a channel can sit, in hertz.
- MAX_
SPREADING_ FACTOR - The highest.
- MIN_
SPREADING_ FACTOR - The lowest spreading factor a receiver can be asked for.
- MULTI_
BANDWIDTH_ HZ - The bandwidth every multi-spreading-factor receiver runs at, in hertz.
- MULTI_
CHANNELS - How many receivers take any spreading factor.
- PREAMBLE_
SYMBOLS - How many preamble symbols a receiver waits for.
- RSSI_
DEFAULT - What the channel power reading starts from.
- RSSI_
FILTER_ ALPHA - How heavily that reading is filtered.
- RX_
BANDWIDTH_ HZ - How much spectrum one radio hears in total, in hertz.
- SERVICE_
PEAK_ COUNT - How many peaks the fixed-rate receiver counts before it believes a preamble.
- SERVICE_
PEAK_ TO_ NOISE - How far above the noise a peak has to be for the fixed-rate receiver to take it.
- SERVICE_
PREAMBLE_ SYMBOLS - How many preamble symbols the fixed-rate receiver expects at the usual spreading factors.
- SERVICE_
PREAMBLE_ SYMBOLS_ FAST - How many it expects at the two fastest, which is what end device drivers send there.
- SERVICE_
SECOND_ PEAK_ COUNT - How many peaks it counts on the second pass.
- TIMING_
LINEAR - Fine timing that follows the drift in a straight line.
- TRACKING_
AUTOMATIC - Frequency tracking left to the receiver.
- TRACKING_
OFF - Frequency tracking switched off.
Functions§
- drift
- How fast a frequency error turns into a timing one, as a mantissa and a shift.
- every_
spreading_ factor - Every spreading factor, as the mask the chip takes.
- low_
rate_ optimize - Whether a rate is slow enough to need the low data rate optimization.
- offset_
bytes - Splits a channel offset into the two bytes its registers take.
- offset_
value - Turns an offset from the carrier into the value a channel register takes.
- reachable
- Whether a channel offset is one the radio can actually hear.
- steps
- The order a concentrator is pointed at its channels in.