LoRa Gateway Config periodically reads channel-configuration from LoRa Server, updates the packet-forwarder configuration in case of updates, and restarts the packet-forwarder process in case of any changes.
At configured intervals it calls the LoRa Server API
to fetch the channel-configuration for a given gateway MAC. In case of an
update, it reads a base configuration, updates the channel related keys
gateway_ID key and writes this as a new JSON file.
After writing the new JSON configuration file, it will issue the configured
packet-forwarder restart command.