Lorawan Payload - ADF Web HD67D02-2-B2-868MHz User Manual

Modbus slave / lorawan - converter
Table of Contents

Advertisement

Industrial Electronic Devices

LORAWAN PAYLOAD

The LoRAWAN messages in Uplink and Downlink are structured into a defined format in order to recognize them from LoRaWAN gateway
side and to understand to which Modbus registers they are associated.
The payload of the LoRaWAN messages is defined in Hex format:
The first byte refers to the row of the tables defined into "LoRaWAN Access" section of SW67D05: it can have a value between 0 and
255 (0xFF);
The following bytes will contain the data to be linked to the internal memory arrays of the converter (using "Start Byte" and "Num.
Byte" of "LoRaWAN Access" section of SW67D05);
Example 1:
the converter is sending a LoRaWAN message related to row 4 of "LoRaWAN Access  LoRaWAN Uplink" table of "LoRaWAN Access" section
of SW67D05 with a "Num. Byte" set of '4'. The data from these 4 bytes is "01 02 03 04" (hex).
The payload of the LoRaWAN message will look like "04 01 02 03 04" where:
04: index of the row of "LoRaWAN Access  LoRaWAN Uplink" table;
01 02 03 04: data taken from internal memory array of the converter.
Example 2:
The external LoRaWAN gateway needs to send a LoRaWAN message to the converter and link it to row 3 of "LoRaWAN Access  LoRaWAN
Downlink" table of "LoRaWAN Access" section of SW67D05. The "Num. Byte" set is '4' and the data to be written is "55 66 77 88" (hex).
The payload of the LoRaWAN message will look like "03 55 66 77 88" where:
03: index of the row of "LoRaWAN Access  LoRaWAN Downlink" table;
55 66 77 88: data to be written to the internal memory array of the converter.
ADFweb.com S.r.l.
User Manual Modbus Slave / LoRaWAN
Document code: MN67D02_ENG
Revision 1.000
Page 26 of 33

Advertisement

Table of Contents
loading

Table of Contents