Commit Graph

392 Commits

Author SHA1 Message Date
Orne Brocaar
1430c30ab3 Make using gateway location optional (LoRa Cloud). 2023-03-28 13:11:49 +01:00
Orne Brocaar
cb49afeb01 Update LoRa Cloud form label. 2023-03-23 11:38:34 +00:00
Orne Brocaar
9ba826963c Let serde use defaults for LoraCloudModemGeolocationServices.
This lets serde use default values in case a field is missing.
Specifically, this fixes the 'missing field `forward_f_ports`'
if migrating from an older LoRa Cloud configuration where the
`forward_f_ports` field was not yet present.
2023-03-23 11:01:35 +00:00
h-shimomichi
1f7fcc139d
Update application.proto (#143) 2023-03-16 14:58:27 +00:00
Orne Brocaar
8a496d9019 Fix Python README.
Closes #141.
2023-03-09 09:32:11 +00:00
Orne Brocaar
ef97eccf62 Update LoRa Cloud integration. 2023-03-08 17:01:11 +00:00
Orne Brocaar
50f8093c07 Bump version to 4.3.0 2023-03-08 09:20:50 +00:00
Orne Brocaar
eaad8586a1 Bump version to 4.3.0-test.3 2023-03-02 14:32:56 +00:00
Orne Brocaar
43567ccfd2 Show fcnt in event log.
Closes #121.
2023-03-02 13:40:06 +00:00
Orne Brocaar
ddea09d9d4 Decode frm_payload mac-commands in device frame log. 2023-03-02 12:21:42 +00:00
Orne Brocaar
9ab059a552 Fix disabling mac-commands. 2023-03-02 09:19:36 +00:00
Orne Brocaar
4b41893f42 Bump version to 4.3.0-test.2 2023-02-28 12:07:16 +00:00
dependabot[bot]
1d9caaef46
Bump golang.org/x/net in /examples/frame_log/go (#130)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20210428140749-89ef3d95e781 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 11:50:31 +00:00
dependabot[bot]
c5fc87e29b
Bump golang.org/x/net in /examples/request_log/go (#129)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20210428140749-89ef3d95e781 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 11:50:21 +00:00
dependabot[bot]
e60aafc553
Bump golang.org/x/text from 0.3.6 to 0.3.8 in /examples/frame_log/go (#126)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.6 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.6...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 11:47:34 +00:00
dependabot[bot]
40e22647d5
Bump golang.org/x/text from 0.3.6 to 0.3.8 in /examples/request_log/go (#127)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.6 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.6...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 11:47:15 +00:00
Orne Brocaar
1d4de3bd7f Update dependencies (cargo update). 2023-02-28 11:45:39 +00:00
Orne Brocaar
de6054c45a Remove tls_enabled as this config option is not actually used.
Closes #128.
2023-02-28 11:45:39 +00:00
dependabot[bot]
0dd67702aa
Bump golang.org/x/sys in /examples/frame_log/go (#131)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20211216021012-1d35b9e2eb4e to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 11:38:43 +00:00
dependabot[bot]
3a851abf3b
Bump golang.org/x/sys in /examples/request_log/go (#132)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20211216021012-1d35b9e2eb4e to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 11:38:37 +00:00
Orne Brocaar
ed1c84e0f1 To not log stats handing NotFound error if allow_unknown_gateways.
In this case it is expected that (some) gateways can't be found in the
database.
2023-02-28 11:33:58 +00:00
Orne Brocaar
a76a198ec6 Do not overwrite RxInfo location if it is already set. 2023-02-28 10:39:25 +00:00
Orne Brocaar
3db01e66c0 Bump version to 4.3.0-test.1 2023-02-24 11:59:12 +00:00
Fabio De Simone
f71cea7716
Fix configfile command template (#124)
The template was not rendering integration.mqtt.client.ca_key  and  integration.mqtt.client.ca_cert correctly.
2023-02-22 13:19:47 +00:00
Orne Brocaar
a3c1638c75 Fix region config defaults + use region id if description is missing.
In case the region description was missing, EU868 was set as default. As
well the default configuration (in case no regions were set) would
always fallback to EU868 which was used for testing. This removes the
default EU868 configuration and moves this configuration to tests.

This updates the region API methods to use the region id as description,
in case the description is not configured.

Closes #120.
2023-02-20 11:01:08 +00:00
Orne Brocaar
c568586281 Fix test after adding f_port validation. 2023-02-15 12:19:32 +00:00
Orne Brocaar
6f10bd907e Add missing validation to avoid multicast enqueue on fPort=0. 2023-02-15 12:15:04 +00:00
Orne Brocaar
0126286f75 Add missing validation to avoid enqueue on fPort=0. 2023-02-15 12:04:11 +00:00
Orne Brocaar
ce0df4b723 Run cargo update. 2023-02-14 14:47:59 +00:00
Tim Cooijmans
fcdc432812
Update US902-928 to right Downlink MinDR according to RP2-1.0.3 (#115)
RP2-1.0.3 defines that the MinDR for US902-928 is 8 (SF12BW500) not 10 (SF10BW500)
2023-02-14 14:37:23 +00:00
Orne Brocaar
eda5753bb9 Improve error messages. Fix gateway_id is missing ... errors.
The error would occur when the uplink was also received by an unknown
gateway. In this case fetching the metadata for this gateway would fail,
causing the gateway_private_up and _down not to be populated with the
gateway_id.
2023-02-14 14:32:49 +00:00
Orne Brocaar
f776dd3898 Split private gateways under tenant in uplink / downlink.
This makes it possible to share uplink data with other tenants, but do
not allow other tenants to use these gateways for downlinks.
2023-02-14 13:41:22 +00:00
Orne Brocaar
d3defb7dff Fix auth when listing adr algorithms using api key.
Closes #112.
2023-02-10 11:23:35 +00:00
Orne Brocaar
154c4cde38 Commit generated C# API code. 2023-02-09 15:29:40 +00:00
Orne Brocaar
f657c3e971 Implement adding gws to multicast-group + Class-C scheduling config.
This makes it possible to add gateways to a multicast-group, which in
case configured will always be used for transmitting the multicast
downlinks.

This also moves the multicast class-c scheduling to the multicast-group
configuration. Options are delay between multiple gateways, or GPS time
synchronized transmission.
2023-02-09 15:29:23 +00:00
Orne Brocaar
8d34bb0d0c Remove usage of deprecated date() method.
As the date_naive() method (recommended replacement for date()) does not
contain tz information, we need to add it back using
and_local_timezone().
2023-02-06 12:34:15 +00:00
Orne Brocaar
5953542a72 Update dependencies. 2023-02-06 12:23:44 +00:00
dependabot[bot]
38e79563ca
Bump handlebars from 4.3.4 to 4.3.6 (#102)
Bumps [handlebars](https://github.com/sunng87/handlebars-rust) from 4.3.4 to 4.3.6.
- [Release notes](https://github.com/sunng87/handlebars-rust/releases)
- [Changelog](https://github.com/sunng87/handlebars-rust/blob/v4.3.6/CHANGELOG.md)
- [Commits](https://github.com/sunng87/handlebars-rust/compare/v4.3.4...v4.3.6)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 11:07:58 +00:00
dependabot[bot]
7ebd930324
Bump tower-http from 0.3.4 to 0.3.5 (#103)
Bumps [tower-http](https://github.com/tower-rs/tower-http) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/tower-rs/tower-http/releases)
- [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.3.4...tower-http-0.3.5)

---
updated-dependencies:
- dependency-name: tower-http
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 11:07:43 +00:00
dependabot[bot]
3cb4f3d7f2
Bump redis from 0.21.6 to 0.22.3 (#104)
Bumps [redis](https://github.com/redis-rs/redis-rs) from 0.21.6 to 0.22.3.
- [Release notes](https://github.com/redis-rs/redis-rs/releases)
- [Commits](https://github.com/redis-rs/redis-rs/compare/0.21.6...redis-0.22.3)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 11:07:30 +00:00
dependabot[bot]
22d2cc3f20
Bump serde_yaml from 0.9.13 to 0.9.17 (#105)
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.13 to 0.9.17.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.13...0.9.17)

---
updated-dependencies:
- dependency-name: serde_yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 11:06:41 +00:00
dependabot[bot]
256cde5b14
Bump warp from 0.3.2 to 0.3.3 (#106)
Bumps [warp](https://github.com/seanmonstar/warp) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/seanmonstar/warp/releases)
- [Changelog](https://github.com/seanmonstar/warp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/warp/compare/v0.3.2...v0.3.3)

---
updated-dependencies:
- dependency-name: warp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 11:06:22 +00:00
Max Reble
837e13a586
Adds C# builds and namespaces (#100)
Co-authored-by: Max Reble <max.reble@aco.com>
2023-01-31 18:29:21 +00:00
Orne Brocaar
81ce56a9a0 Implement get_downlink_data_delay config.
This config option was present in v3 to set a delay before starting the
downlink flow (Class-A) so that an end-application can enqueue a
downlink to be used within the same uplink / downlink transaction.
However, this option was still missing in v4.
2023-01-31 11:28:18 +00:00
Orne Brocaar
7c35fff849 Fix multcast > multicast typo. 2023-01-31 08:41:31 +00:00
Orne Brocaar
66290b9eeb Update README. 2023-01-26 15:32:01 +00:00
Orne Brocaar
aa09d23492
Create FUNDING.yml 2023-01-24 15:11:28 +00:00
Orne Brocaar
1d2f627bbb Bump version to 4.2.0 2023-01-24 12:23:44 +00:00
Orne Brocaar
54815f03ca Reset channels to default on AdrAckReq uplink.
As part of the ADR back-off, the device will eventually revert to the
default channel-plan but there is no explicit signalling if this
happened.

This might cause some small overhead in case the device did not (yet)
revert to the default channel-mask, but it avoids scenarios where the
device and NS are out-of-sync.
2023-01-24 09:46:31 +00:00
Orne Brocaar
20b454d519 Fix not recording device-metrics if auto-detect is disabled.
Fixes #94.
2023-01-23 15:28:31 +00:00