Commit Graph

156 Commits

Author SHA1 Message Date
Orne Brocaar
77051e8956 Update Rust API Cargo.lock. 2023-04-10 12:08:12 +01:00
Orne Brocaar
101b155d91 Update dependencies. 2023-04-10 11:10:52 +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
1430c30ab3 Make using gateway location optional (LoRa Cloud). 2023-03-28 13:11:49 +01: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
ddea09d9d4 Decode frm_payload mac-commands in device frame log. 2023-03-02 12:21:42 +00:00
Orne Brocaar
4b41893f42 Bump version to 4.3.0-test.2 2023-02-28 12:07:16 +00:00
Orne Brocaar
3db01e66c0 Bump version to 4.3.0-test.1 2023-02-24 11:59:12 +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
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
5953542a72 Update dependencies. 2023-02-06 12:23:44 +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
7c35fff849 Fix multcast > multicast typo. 2023-01-31 08:41:31 +00:00
Orne Brocaar
1d2f627bbb Bump version to 4.2.0 2023-01-24 12:23:44 +00:00
dependabot[bot]
25f1b224f7
Bump tokio from 1.23.1 to 1.24.2 (#97)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 09:49:56 +00:00
Orne Brocaar
b6209d760e Bump version to 4.2.0-test.1 2023-01-16 11:14:05 +00:00
Orne Brocaar
24d9b6db54 Add Class-B ping-slot parameters back to device-profile UI.
The device might not always send its periodicity to the network-server
(using mac-commands). As well there is some ambiguity about the default
ping-slot data-rates. While the Regional Parameters Specification
defines the default beacon data-rates, it only defines the default
ping-slot frequency for Class-B.

This also changes the API field from class_b_ping_slot_period to
class_b_ping_slot_nb_k, where ..._k must be between 0 - 7 as defined by
the LoRaWAN Specification. This removes some ambiguity as 'period' could
mean different things in different contexts.
2023-01-12 14:41:42 +00:00
Orne Brocaar
e57748087c Add back crc_status to UplinkRxInfo.
This is needed for implementing
https://github.com/chirpstack/chirpstack-concentratord/issues/29.
2023-01-11 11:13:47 +00:00
dependabot[bot]
1ebf5e7179
Bump tokio from 1.21.1 to 1.23.1 in /api/rust (#81)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.1 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.1...tokio-1.23.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 11:07:34 +00:00
Orne Brocaar
9f3a76f5fb Add --pyi_out flag to generate Python type information.
Closes #68.
2023-01-11 11:01:55 +00:00
Orne Brocaar
438d120fb0 Make gateway state consistent + make stats interval configurable.
This:

* Makes the gateway stats interval configurable (default 30 sec)
* Adds GatewayState type (NEVER_SEEN, OFFLINE, ONLINE)
* Adds gateway state to gateway lists
* Fixes dashboard inconsistencies

Closes #76.
2023-01-11 10:51:53 +00:00
dependabot[bot]
85a064ea5b
Bump tokio from 1.21.1 to 1.23.1 (#78)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.1 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.1...tokio-1.23.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 10:49:32 +00:00
Orne Brocaar
ac30f68d85 Update .gitignore + re-generate API. 2023-01-10 15:57:06 +00:00
Stian
74b5d1a7ca
Protobuf Java and Kotlin code generation. (#64)
Co-authored-by: Stian Brandt <stian.brandt@it-smurfan.no>
2023-01-10 15:46:04 +00:00
Orne Brocaar
b24ca28adb Fix java_outer_classname for request_log.proto.
See #64.
2023-01-10 15:43:21 +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
927a68a436 Bump version to 4.1.3 2022-12-27 11:14:43 +00:00
Orne Brocaar
e2682db6e2 Bump version to 4.1.2 2022-12-16 09:44:47 +00:00
Orne Brocaar
fd061d4657 Bump version to 4.1.1 2022-12-13 13:48:42 +00:00
Orne Brocaar
07d4e89a92 Update JS API dependencies to latest versions. 2022-12-13 10:57:54 +00:00
arctic-alpaca
8e7f321e93
[Rust API] Replace relative paths to .proto files with absolute paths (#69) 2022-12-13 10:37:56 +00:00
Orne Brocaar
c874c97c96 Bump version to 4.1.0 2022-12-06 09:36:55 +00:00
TomSievers
8d0c4bf6a8
Emit all fields for json even if they are their default values (#63) 2022-12-06 09:19:40 +00:00
Orne Brocaar
fe3d6d3fdf Re-generate API + update code. 2022-12-05 11:46:36 +00:00
Orne Brocaar
abee88712c Make metadata consistent in protobuf messages. 2022-12-05 11:45:58 +00:00
Orne Brocaar
b130953e31 Update API docker files. 2022-12-05 10:44:46 +00:00
Orne Brocaar
c1c89d06f8 Bump version to 4.1.0-test.1 2022-11-28 15:17:53 +00:00
Orne Brocaar
963842ef55 Implement api request logging to Redis Streams.
This makes it possible for external services to subscribe (through
Redis) for realtime events. E.g. a create, update or delete device event
could trigger an external synchronization.
2022-11-28 10:59:28 +00:00
Orne Brocaar
84dc8fd333 Bump version to 4.0.5 2022-11-28 10:23:54 +00:00
Orne Brocaar
bfcff17f34 Bump version to 4.0.4 2022-11-15 10:13:35 +00:00
Orne Brocaar
0ac4ef51e2 Bump version to 4.0.3 2022-11-07 11:40:11 +00:00
Orne Brocaar
a864bd2e5d Add gateway metadata tab and make naming consistent. 2022-11-04 11:51:24 +00:00
Joseph Grech
ee38c88a7e
Fix java_outer_classname in tenant.proto. (#55) 2022-11-02 10:27:20 +00:00
Orne Brocaar
0a23c71641 Add option for auto-detect measurements.
In case the decoded payload contains random keys the auto-detect
measurements feature will add new measurements for each uplink. With
this option it is possible to turn auto-detection off to avoid
polluting the database with many measurements.

Closes #42.
2022-11-02 10:19:38 +00:00
Orne Brocaar
d6cc9d4fd6 Bump version to 4.0.3-test.1 2022-10-21 07:37:25 +01:00
Orne Brocaar
a91fb1f73e Bump version to 4.0.2 2022-09-28 13:05:13 +01:00
Orne Brocaar
ea0f84b93d Bump version to 4.0.1 2022-09-28 09:14:53 +01:00
Orne Brocaar
700a7de19f Run cargo update for rust api crate. 2022-09-26 13:19:18 +01:00
Orne Brocaar
bb188949df Update dependencies + fix clippy warnings. 2022-09-26 12:58:01 +01:00
Orne Brocaar
f17250c37f Show region information in UI. 2022-09-15 10:58:37 +01:00
Orne Brocaar
69b3d4a38e Regenerate API files. 2022-09-14 09:46:17 +01:00
Orne Brocaar
84a1c6e1be Bump version to 4.0.0 2022-09-14 09:43:05 +01:00
Orne Brocaar
cba8da2d05 Bump version to 4.0.0-rc.4 2022-09-05 22:47:47 +01:00
Alejandra Buznego
4f08f7ddcb
Add user_id filter when listing tenants with global API key. (#34) 2022-08-31 08:48:11 +01:00
Orne Brocaar
ca2961c7b6 Bump version to 4.0.0-rc.3 2022-08-23 08:59:05 +01:00
Orne Brocaar
d4337b10ab Bump version to 4.0.0-rc.2 2022-08-11 12:04:21 +01:00
Orne Brocaar
ca567ca562 Bump version to 4.0.0-rc.1 2022-08-10 12:36:43 +01:00
Orne Brocaar
fd62076e02 Add plaintext_mac_commands field to up/down frame-log. 2022-08-09 15:28:37 +01:00
Orne Brocaar
6d62cdb27c Fix generating gRPC documentation (md). 2022-08-08 15:56:01 +01:00
Orne Brocaar
e680db3be0 Bump version to 4.0.0-test.18 2022-08-04 17:11:45 +01:00
Orne Brocaar
620ff1a8f9 Add missing channel and rf_chain fields.
This is not used by ChirpStack, but the chirpstack-udp-bridge expects to
receive this information from the ChirpStack Concentratord.
2022-08-04 16:52:01 +01:00
Orne Brocaar
a14adfe20b Bump version to 4.0.0-test.17 2022-08-04 10:27:03 +01:00
Orne Brocaar
341ac828b0 Bump version to 4.0.0-test.16 2022-08-01 12:59:57 +01:00
Orne Brocaar
d7a4334b77 Fix missing GatewayStats v4_migrate.
This is needed as the gateway_id field has changed from bytes to string
(as the Protobuf JSON mapping encodes bytes to base64).
2022-08-01 12:08:08 +01:00
Orne Brocaar
edff985ad8 Bump version to 4.0.0-test.15 2022-08-01 10:20:57 +01:00
Orne Brocaar
eee1c4b4b0 Show counter value as rate per aggregation interval. 2022-07-31 13:10:16 +01:00
Orne Brocaar
f58e39e503 Bump version to 4.0.0-test.14 2022-07-28 09:02:54 +01:00
Orne Brocaar
7a7d3dbd4e Add missing LoRa 2.4 gHz code-rates to enum. 2022-07-27 10:06:14 +01:00
Orne Brocaar
73d581fc4c Update version. 2022-07-26 15:29:01 +01:00
Orne Brocaar
d10551bce1 Change command exec_id to uint32. 2022-07-22 20:29:07 +01:00
Orne Brocaar
c0a450c8f8 Change LR-FHSS code_rate to CodeRate type. 2022-07-22 12:19:36 +01:00
Orne Brocaar
e7432986cd Bump version to v4.0.0-test.11. 2022-07-21 16:17:41 +01:00
Orne Brocaar
69e3b672ac Fix field types for GatewayStats and GatewayConfiguration.
The gateway_id field now has type string and bandwidth is in Hz, which
is consistent with the other messages.
2022-07-21 15:28:09 +01:00
Orne Brocaar
067869e4f0 Bump version to v4.0.0-test.10. 2022-07-21 13:49:51 +01:00
Orne Brocaar
cbb1449868 Bump version. 2022-07-20 13:27:34 +01:00
Orne Brocaar
038614b44d Update Python SDK. 2022-07-18 14:25:32 +01:00
Orne Brocaar
36ec11d175 Annotate gRPC methods for REST interface gen.
The option(google.api.http) annotations can be used by for example
https://github.com/grpc-ecosystem/grpc-gateway to generate a gRPC to
REST proxy.
2022-07-13 12:18:46 +01:00
Orne Brocaar
96ab49944c Add IFTTT integration. 2022-07-06 15:43:00 +01:00
Orne Brocaar
9eeee3759c Rename f_cnt_up to f_cnt. 2022-07-01 15:09:50 +01:00
Orne Brocaar
a46b0a9469 Move deduplication_id in LogEvent to context field. 2022-06-30 19:30:56 +01:00
Orne Brocaar
f27b8da38d Re-implement passive-roaming. 2022-06-30 11:17:26 +01:00
Orne Brocaar
3fd821ebdf Update version to v4.0.0-test.7. 2022-06-29 14:10:50 +01:00
Orne Brocaar
a01f8565fd Implement support for quick device measurement metrics. 2022-06-28 15:05:42 +01:00
Orne Brocaar
4fa9341139 Bump version. 2022-06-10 12:32:09 +01:00
dependabot[bot]
8594c14c24
Bump protobufjs from 6.11.2 to 6.11.3 in /api/js (#24)
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 6.11.2 to 6.11.3.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/v6.11.3/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/v6.11.2...v6.11.3)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 19:30:33 +01:00
Orne Brocaar
d9d3f14e80 Implement support for device-profile templates + TTN importer. 2022-06-07 19:29:59 +01:00
Orne Brocaar
2e1c907df0 Add generate api docs in Markdown. 2022-06-05 08:25:13 +01:00
Orne Brocaar
f964314a4f Update packaging + bump (test) version. 2022-05-04 11:34:18 +01:00
Orne Brocaar
c7056d84d6 Bump versions. 2022-05-02 15:14:59 +01:00
Orne Brocaar
eec9b1891d Update Makefiles. 2022-04-29 11:13:57 +01:00
Orne Brocaar
d974423aab Re-implement enqueue through MQTT. 2022-04-28 15:41:54 +01:00
Orne Brocaar
b159436dd0 Make flush queue on activate configurable through dev-profile. 2022-04-28 08:52:14 +01:00
Orne Brocaar
d69ff895b6 Update JS payload codec configuration and templates. 2022-04-27 09:49:33 +01:00
Orne Brocaar
c4e6e8f369 Update js api version. 2022-04-21 21:45:41 +01:00
Orne Brocaar
22face1a79 Fix Go api packages. 2022-04-21 15:19:27 +01:00