libwioe5ham2wioe5ham2_init Method |
Initialize the Wio-E5 driver shared library and transceiver module.
Namespace: IO.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2025.136.1
Syntaxpublic static void wioe5ham2_init(
string portname,
int baudrate,
string network,
int node,
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).
- network String
- Network ID e.g. call sign (10 ASCII
characters, left justified and blank padded).
- node Int32
- Network node ID
(ARCNET Style: 1 to 255).
- freqmhz Single
- RF center frequency in MHz, 902.0 to 928.0
(U.S.
Amateur Radio Allocation).
- 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