Device(String, Int32, Single, Int32, Int32, Int32, Int32, Int32) Constructor |
Constructor for a Wio-E5 LoRa Transceiver Module device object
instance.
Namespace: IO.Devices.WioE5.P2PAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2025.136.1
Syntaxpublic Device(
string portname,
int baudrate,
float freq,
int spreading = 7,
int bandwidth = 500,
int txpreamble = 12,
int rxpreamble = 15,
int power = 14
)
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).
- freq Single
- RF center frequency in MHz, 863.0 to 870.0
(European Union
ISM Band) or 902.0 to 928.0 (United States
ISM Band).
- 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