Nexto Logger
Nexto Series
NL717
CE117100 Rev. B
7.1.4. Received messages
Messages received by the LoRa device can be viewed via the PAYLOAD_RECEIVED output of the block, a data structure
of type PYLD_RECEIVED is used to report the received message data, these are:
PYLD_COUNTER: Informs the total number of messages received;
PYLD_LEN: Informs the size of the received message;
PYLD_BUFF: Buffer that contains the received message.
7.1.5. Block Diagnostics
Via the STATUS output from the LORA_MASTER main block, it is possible to check all the information regarding the
LoRa device, as well as the codes of the possible errors that might happen.
This output returns a data structure of type LORA_TOTAL_STATUS. This structure has three outputs (ERROR_CODE,
LORA_GET_PARAM and ERROR_STATUS).
A binary variable is associated with the ERROR_STATUS output, which returns TRUE when an error occurs. The struc-
tures associated with the other outputs are:
TOTAL_ERROR_LIST: Associated with the ERROR_CODE output, it contains a complete list of possible error
causes, plus the error code of the last occurrence;
LORA_GET_PARAM: Associated with the LORA_GET_PARAM output, it contains the activation information that
was read from the LoRa device.
Figure 15: LORA_TOTAL_STATUS
22