Commit Graph

13 Commits

Author SHA1 Message Date
Orne Brocaar
ac30f68d85 Update .gitignore + re-generate API. 2023-01-10 15:57:06 +00:00
Orne Brocaar
103e4298fb Add device-profile option to configure region configuration.
By selecting a region configuration, devices using the device-profile
will only stick to the selected region configuration, rather than the
configurations provided by the selected region common-name.

This change also renames the region 'name' option to 'id' in the region
configuration, as well it adds a 'description' to provide a human
readable description, which is used in the drop-down in the UI.

This also fixes the JS API generation. In a previous commit the the
protobuf package was updated, but the latest protobuf compiler no longer
supports generating JS code (this now requires an external plugin). This
has been fixed.

Please note that if you have implemented custom ADR algorithms that are
referring to the 'regionName' key, that you must change this to
'regionConfigId' (see the ADR code example).
2023-01-09 12:04:10 +00:00
Orne Brocaar
e917f8ea49 Remove default CA and MQTT cert gen. on install.
In case of mult-server deployments, this can be confusing as each VM
generates different certificate files by default, where all instances
must share the same certificate (or at least CA certificate + key).
The other issue is that the MQTT broker certificate must contain the
correct hostname, which can (most of the times) not automatically be
retrieved. Documentation to generate these certificates can be found
here:

https://www.chirpstack.io/docs/guides/mosquitto-tls-configuration.html
2022-08-21 19:56:49 +01:00
Orne Brocaar
5436582f03 Refactor testing and (cross)compile.
With the update to diesel 2.0.0-rc0, it is now possible to cross-compile
without emulation. Note that during each (cross)compile, we have to
install libpq-dev for the target platform, as only one version can be
installed at a time (e.g. libpq-dev:amd64 conflicts with libpq-dev:armhf).
2022-07-21 11:00:47 +01:00
Orne Brocaar
038614b44d Update Python SDK. 2022-07-18 14:25:32 +01:00
Orne Brocaar
1e6aad326c Implement building distributable binaries in ci workflow. 2022-04-28 22:57:01 +01:00
Orne Brocaar
f5de67a817 Add .rpm and .tar.gz builds. 2022-04-23 20:47:39 +01:00
Orne Brocaar
a2e4e0d8a2 Update Debian / Ubuntu packaging. 2022-04-23 11:31:54 +01:00
Orne Brocaar
8e5d7f760a CI related changes. 2022-04-18 21:19:24 +01:00
Orne Brocaar
7c66f13fc3 Ignore (auto generated) Bitbake recipes. 2022-04-12 10:22:39 +01:00
Orne Brocaar
a9a3c35797 Revert "Revert to 2018 edition to support older Rust versions."
This reverts commit ad49c29592.

Some dependencies require 2021 edition.
2022-04-11 15:08:07 +01:00
Orne Brocaar
ad49c29592 Revert to 2018 edition to support older Rust versions. 2022-04-11 14:55:36 +01:00
Orne Brocaar
96fe672fc7 Initial commit. 2022-04-06 21:18:32 +01:00