Click or drag to resize

Device(String, Int32, String, Int32, Single, Int32, Int32, Int32, Int32, Int32) Constructor

Constructor for a Wio-E5 LoRa Transceiver Module device object instance.

Namespace: IO.Devices.WioE5.Ham1
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2025.136.1
Syntax
C#
public Device(
	string portname,
	int baudrate,
	string network,
	int node,
	float freq,
	int spreading = 7,
	int bandwidth = 500,
	int txpreamble = 12,
	int rxpreamble = 15,
	int power = 22
)

Parameters

portname  String
Serial Port device name e.g. "/dev/ttyAMA0" or "/dev/ttyUSB0" or "COM1".
baudrate  Int32
Serial port data rate in bits per second (9600, 19200, 38400, 57600, 115200, or 230400).
network  String
Network ID aka call sign, 10 ASCII characters, left justified and automatically space padded e.g. "WA7AAA" or "KL7/SA7AAA".
node  Int32
Node ID, ARCNET Style: 1 to 255.
freq  Single
RF center frequency in MHz, 902.0 to 928.0 (U.S. Amateur Radio Allocation).
spreading  Int32  (Optional)
Spreading Factor, 7 to 12.
bandwidth  Int32  (Optional)
Bandwidth in kHz, 125, 250, or 500.
txpreamble  Int32  (Optional)
Number of transmit preamble bits.
rxpreamble  Int32  (Optional)
Number of receive preamble bits.
power  Int32  (Optional)
Transmit power in dBm, -1 to 22.
See Also