Article for advanced users
Information on this page is intended for users with advanced technical knowledge.Treon Gateway - Gateway Buffering
Please note: This feature is fully supported as of release 7.3. It is recommended that you update your device before using it.
Enabling Offline Buffering
To follow this guide you will need to connect to the Gateway with SSH
To turn on data buffering you must create a configuration file in /opt/iotgw/conf.d
An example file would look like: (the name can be changed but it must end in .conf)
/opt/iotgw/conf.d/buffering.conf
[CloudAdapter]
EnableOfflineStorage: True
##Offline storage can be either FIFO or LIFO (default)
OfflineStorageType: LIFO
If you are using a different cloud adapter you will need to change the [CloudAdapter] part (for example [ConfigUI] for the ConfigUI generated file)
You can also change between FIFO and LIFO.