A central service that runs on (Linux) devices for collecting and delivering messages from N apps using 1 MQTT connection to Astarte.
The Astarte Message Hub is configured through message-hub-config.toml
in the current working
directory, otherwise the system wide /etc/message-hub/config.toml
can be used. In alternative, you
can specify the path to the configuration file with the -t/--toml
cli option.
The format for the configuration file is the following:
```toml
#
realm = "
# interfacesdirectory = "[INTERFACESDIRECTORY]"
io.edgehog.Device
dbus-servicedeviceid = "[DEVICEID]"
credentials_secret
pairingtoken = "[PAIRINGTOKEN]"
pairing_token
is requiredcredentialssecret = "[CREDENTIALSSECRET]"
astarteignoressl = false
store_directory = "
An example configuration file can be found in the examples direction.
Have a look at the examples for an usage example showing how to send and receive data.