Commit Graph

624 Commits

Author SHA1 Message Date
Orne Brocaar
5146c87940 Fix netid_type method.
It would panic in case all bits are set (which would be
an invalid DevAddr prefix type).
2023-05-17 15:12:19 +01:00
Orne Brocaar
e3383baa02 Add rust-toolchain.toml + shell.nix files.
This makes it easier to start a devshell without using Docker.
2023-05-17 14:46:13 +01:00
Orne Brocaar
f32c5eb5af Bump lrwn_filters version. 2023-04-27 16:00:49 +01:00
Orne Brocaar
f513cacab5 Add Clone and Copy derive to Prefix types. 2023-04-27 15:58:57 +01:00
Orne Brocaar
cfadb9c78a Validate prefix size. 2023-04-27 14:25:35 +01:00
Orne Brocaar
21896e65d7 Add crate for PhyPayload filtering.
This can be used by the ChirpStack UDP and MQTT Forwarder.

See also:
https://github.com/chirpstack/chirpstack-mqtt-forwarder/issues/25
2023-04-27 12:51:33 +01:00
Orne Brocaar
0679f10fad Add feature flags to lrwn crate.
This avoids pulling and building unnecessary dependencies for simple
use-cases.
2023-04-27 10:37:34 +01:00
Orne Brocaar
08d69502de Bump version to 4.3.2 2023-04-26 13:02:10 +01:00
Orne Brocaar
683f59c063 Update Rust API dependencies. 2023-04-26 12:36:10 +01:00
Orne Brocaar
0ef9f16f40 Re-enable v4_migrate option for now. 2023-04-26 12:27:12 +01:00
Orne Brocaar
a5dd650510 Update dependencies. 2023-04-26 12:04:54 +01:00
Orne Brocaar
de90b7d284 Enable redis tls-rustls feature.
Fixes #170.
2023-04-26 11:58:59 +01:00
Orne Brocaar
fe0ef398ec Format Cargo.toml 2023-04-26 11:56:27 +01:00
Orne Brocaar
58bd8eb5b4 Fix Rust fmt error. 2023-04-26 11:52:50 +01:00
Orne Brocaar
0a294e41b5 Fix clippy feedback. 2023-04-13 22:06:44 +01:00
Orne Brocaar
f71d30ca83 Re-implement frame and event download option. 2023-04-12 14:50:33 +01:00
Orne Brocaar
ef0a97ab3d Log .send() error, rather than returning.
Closes https://github.com/chirpstack/chirpstack-docker/issues/80.
2023-04-11 15:10:08 +01:00
Orne Brocaar
e93d3bc534 Update AWS SNS SDK crate. 2023-04-11 14:57:03 +01:00
Orne Brocaar
31e359b314 Disable v3-v4 GW<>NS message migration and make config option.
By making this opt-in, we can reduce the overhead of supporting both v3
and v4 gateway messages. In case of v3 to v4 migration, one would
upgrade all ChirpStack Gateway Bridge instances to the latest v3
version, migrate ChirpStack as described here + enable this config flag:
https://www.chirpstack.io/docs/v3-v4-migration.html

Then upgrade ChirpStack Gateway Bridge to the latest v4 version followed
by disabling / removing this config flag (`v4_migrate`) again.
2023-04-11 14:19:07 +01:00
Orne Brocaar
0a3fcaeb2d Bump version to 4.3.1 2023-04-10 12:24:52 +01:00
Orne Brocaar
77051e8956 Update Rust API Cargo.lock. 2023-04-10 12:08:12 +01:00
Orne Brocaar
3a9cb20c03 Update Dockerfiles. 2023-04-10 11:32:18 +01:00
Orne Brocaar
1b96b4f91f Update caniuse-lite (ui). 2023-04-10 11:31:44 +01:00
Orne Brocaar
101b155d91 Update dependencies. 2023-04-10 11:10:52 +01:00
dependabot[bot]
3f4c262267
Bump webpack from 5.72.0 to 5.76.3 in /ui (#150)
Bumps [webpack](https://github.com/webpack/webpack) from 5.72.0 to 5.76.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.72.0...v5.76.3)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 10:14:19 +01:00
Orne Brocaar
88939d4396 Update LoRa Cloud integration logo. 2023-04-06 16:27:43 +01:00
Orne Brocaar
269b7f4d9d Fix gnss_assist_position enable toggle for gnss msg. 2023-04-06 16:26:45 +01:00
Orne Brocaar
0ce60b789f Remove unused dependencies. 2023-03-28 22:11:06 +01:00
Orne Brocaar
8fe0c7c6c2 Improve Rust SDK build flags / reduce dependencies.
This reduces the amount of dependencies in case not all features are
being used. E.g. tonic is only needed if using gRPC and pbjson,
pbjson-types and serde are only needed if using the JSON serialization.
2023-03-28 21:11:54 +01:00
Orne Brocaar
4917de2b32 Earlier db initialization + change unwrap for error.
Closes #147.
2023-03-28 14:05:39 +01:00
dependabot[bot]
d81af6b607
Bump dns-packet from 5.3.1 to 5.4.0 in /ui (#136)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v5.3.1...5.4.0)

---
updated-dependencies:
- dependency-name: dns-packet
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 13:43:18 +01:00
Orne Brocaar
cb6ac27ba4 Update dependencies. 2023-03-28 13:41:20 +01:00
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