Click or drag to resize

libwioe5p2pwioe5p2p_init Method

Initialize the Wio-E5 driver shared library and transceiver module.

Namespace: IO.Bindings
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2025.136.1
Syntax
C#
public static void wioe5p2p_init(
	string portname,
	int baudrate,
	float freqmhz,
	int spreading,
	int bandwidth,
	int txpreamble,
	int rxpreamble,
	int txpower,
	out int handle,
	out int error
)

Parameters

portname  String
Serial port device name e.g./dev/ttyAMA0 or /dev/ttyUSB0.
baudrate  Int32
Serial port baud rate in bits per second (9600, 19200, 38400, 57600, 115200, or 230400).
freqmhz  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
Spreading factor (7 to 12).
bandwidth  Int32
Spread spectrum chirp bandwidth in kHz (125, 250, or 500).
txpreamble  Int32
Number of transmit preamble bits (12 is recommended).
rxpreamble  Int32
Number of receive preamble bits (15 is recommended).
txpower  Int32
Transmit power in dBm (0 to 22).
handle  Int32
Wio-E5 device handle.
error  Int32
Error code. Zero upon success.
See Also