Class LoraRadioWiring
Where a radio module is wired on a Linux board.
public sealed record LoraRadioWiring : IEquatable<LoraRadioWiring>
- Inheritance
-
LoraRadioWiring
- Implements
- Inherited Members
Constructors
LoraRadioWiring(string, string, uint)
Where a radio module is wired on a Linux board.
public LoraRadioWiring(string Spi, string GpioChip, uint ResetLine)
Parameters
SpistringThe SPI device file, one per chip select, such as
/dev/spidev0.0.GpioChipstringThe GPIO chip the lines are on,
/dev/gpiochip0for a Raspberry Pi's header.ResetLineuintThe line the reset pin is on, the BCM GPIO number on a Raspberry Pi.
Properties
BusyLine
The line an SX126x's BUSY pin is on. The SX127x has no BUSY pin.
public uint? BusyLine { get; init; }
Property Value
- uint?
GpioChip
The GPIO chip the lines are on, /dev/gpiochip0 for a Raspberry Pi's header.
public string GpioChip { get; init; }
Property Value
ResetLine
The line the reset pin is on, the BCM GPIO number on a Raspberry Pi.
public uint ResetLine { get; init; }
Property Value
Spi
The SPI device file, one per chip select, such as /dev/spidev0.0.
public string Spi { get; init; }
Property Value
SpiHz
The SPI clock in hertz, 2 MHz when left null.
public uint? SpiHz { get; init; }
Property Value
- uint?