Table of Contents

Class LoraRadioWiring

Namespace
Pamoja.Radios
Assembly
Pamoja.Radios.dll

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

Spi string

The SPI device file, one per chip select, such as /dev/spidev0.0.

GpioChip string

The GPIO chip the lines are on, /dev/gpiochip0 for a Raspberry Pi's header.

ResetLine uint

The 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

string

ResetLine

The line the reset pin is on, the BCM GPIO number on a Raspberry Pi.

public uint ResetLine { get; init; }

Property Value

uint

Spi

The SPI device file, one per chip select, such as /dev/spidev0.0.

public string Spi { get; init; }

Property Value

string

SpiHz

The SPI clock in hertz, 2 MHz when left null.

public uint? SpiHz { get; init; }

Property Value

uint?