ThingsIXFoundation / packet-handling

This repository contains the code that handles LoRa packets for the ThingsIX network
Apache License 2.0
2 stars 5 forks source link

Create empty gateway store if not exists #37

Closed bas-vk closed 1 year ago

bas-vk commented 1 year ago

Currently the check to verify if the file based gateway store is read is incorrect. As a result the forwarder will use an empty store that doesn't exist.

With this PR the forwarder will try to create an empty store if it doesn't exist. If that fails, or the existing store could not be read it returns an error.