Click or drag to resize

libwioe5ham2wioe5ham2_receive Method

Receive a binary message frame, if available.

Namespace: IO.Bindings
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2025.136.1
Syntax
C#
public static void wioe5ham2_receive(
	int handle,
	byte[] msg,
	out int len,
	char[] srcnet,
	out int srcnode,
	char[] dstnet,
	out int dstnode,
	out int RSS,
	out int SNR,
	out int error
)

Parameters

handle  Int32
Wio-E5 device handle.
msg  Byte
Payload buffer (241 bytes).
len  Int32
Number of payload bytes received. Zero indicates queue empty, no RF frame available.
srcnet  Char
Destination network ID.
srcnode  Int32
Source node ID (ARCNET Style: 1 to 255).
dstnet  Char
Source network ID.
dstnode  Int32
Destination node ID (ARCNET Style: 0 for broadcast or 1 to 255 for unicast).
RSS  Int32
Received Signal Strength in dBm.
SNR  Int32
Signal to Noise Ratio in dB.
error  Int32
Error code. Zero upon success.
See Also