The LUG application is configured through a file containing all the parameters necessary to the execution.
The file uses a simple "Name=Value" syntax.
Comments can be added by setting a ';' character in the first column of a line.
Empty lines are not interpreted.
The file must contain the following parameters (names are case sensitive) :
- UDPRemoteAddress : The IP address of the central processing facility (can be a multicast address)
- UDPRemotePort : The UDP port where the central processing facility receives the data
- UDPLocalPort : The local UDP port used to receive the data sent by the central processing facility
- UDPMulticastAddress : The multicast address used to receive the data sent by the central processing facility (facultative). Must be set only for multicast. Normally the processing facility shall use the IP address of the gateway platform.
- LoRaSerialPort : The serial port where is connected the Semtech LoRa module
- LoRaSerialBaudRate : The baudrate used to communicate with the LoRa module
- LoRaSerialDataBits : The data bits configuration of the serial port (facultative)
Here is a example of configuration file for the Meshlium platform :
; This is the configuration file of the LoRa/UDP Gateway application
; ==================================================================; Characteristics of the UDP socket
UDPRemoteAddress = 192.168.128.89
UDPRemotePort = 12345
UDPLocalPort = 23456; Characteristics of the serial port with LoRa module
LoRaSerialPort = /dev/ttyUSB1
LoRaSerialBaudRate = 38400
LoRaSerialDataBits = 8