User Tools

Site Tools


Sidebar

WMC v3.x wiki


Introduction


Quick Start


System Management


Network Management


SNMP


Push


LoRa features


GMS API


Troubleshooting


Gateway software resources

WMC 3.2:

Previous version

Server software resources

WMC 3.2:

Previous version


FAQ

WMC 3.x:

WMC 3.0:

WMC 3.1:

>= WMC 3.2:

>= WMC 3.1:

wiki:wiki3:faq_message_buffering

This is an old revision of the document!


FAQ: Message Buffering

How to activate the message buffering on my gateway?

To activate message buffering, issue the following command:

/usr/bin/lorafwdctl database.enable true
You can verify that the feature is enabled by reading the database.enable variable in the configuration file specified in /etc/default/lorafwd

root@klk-lpbs-050792:~ # cat /etc/default/lorafwd
# Configuration file for lorafwd.

# The configuration file.
# The configuration files can be found in: /user/etc/lorafwd
CONFIGURATION_FILE="/user/etc/lorafwd/lorafwd.toml"

# The extra arguments.
EXTRA_ARGS="-v"

root@klk-lpbs-050792:/etc/default # grep -i -A10 "\[ database \]" /user/etc/lorafwd/lorafwd.toml
[ database ]

# Whether or not a persistent database will store the incoming messages until
# they will be sent and acknowledged.
#
# Type:    boolean
# Example: true
# Default: false
#
enable = true


How to deactivate the message buffering on my gateway?

To deactivate message buffering, issue the following command:

lorafwdctl database.enable false
You can verify that the feature is enabled by reading the database.enable variable in the configuration file specified in /etc/default/lorafwd

root@klk-lpbs-050792:~ # cat /etc/default/lorafwd
# Configuration file for lorafwd.

# The configuration file.
# The configuration files can be found in: /user/etc/lorafwd
CONFIGURATION_FILE="/user/etc/lorafwd/lorafwd.toml"

# The extra arguments.
EXTRA_ARGS="-v"

root@klk-lpbs-050792:/etc/default # grep -i -A10 "\[ database \]" /user/etc/lorafwd/lorafwd.toml
[ database ]

# Whether or not a persistent database will store the incoming messages until
# they will be sent and acknowledged.
#
# Type:    boolean
# Example: true
# Default: false
#
enable = false

wiki/wiki3/faq_message_buffering.1597754655.txt.gz · Last modified: 2020/08/18 14:44 by bdu