Commit Graph

565 Commits

Author SHA1 Message Date
Orne Brocaar
8c557da076 Add Go example to read meta-data log. 2022-11-02 16:17:27 +00:00
Orne Brocaar
39a9455972 Add downlink meta-data logging. 2022-11-02 16:15:53 +00:00
Orne Brocaar
0d14bb1ac7 Add uplink meta-data logging. 2022-11-02 14:42:25 +00:00
Orne Brocaar
937f12d4e8 Add Redis config examples for username and password.
Closes #54.
2022-11-02 10:39:42 +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
577a33ec9a Run yarn format. 2022-11-01 10:28:57 +00:00
Orne Brocaar
5b3b44bce4 Fix OIDC logout URL in UI. 2022-11-01 10:28:35 +00:00
Orne Brocaar
d6cc9d4fd6 Bump version to 4.0.3-test.1 2022-10-21 07:37:25 +01:00
Orne Brocaar
289d97f258 Implement dev_addr_prefixes configuration.
This makes it possible to configure one or multiple DevAddr sub-ranges
instead of using the whole DevAddr range provided by the configured
NetID.

Closes #49.
2022-10-19 12:53:34 +01:00
Orne Brocaar
6cc813aed1 Implement DevAddrPrefix type.
This type defines the (NetID derived) prefix that must be used when
generating device addresses. This can be retrieved from the NetID, but
it is also possible to define a prefix that defines a smaller address
range within the NetID.

See also #49.
2022-10-19 12:03:55 +01:00
Orne Brocaar
e04f991e76 Fix 'Cannot serialize NaN as google.protobuf.Value.number_value'.
In case the codec returns a NaN float, this is converted to None to
avoid Protobuf serialization error. This also fixes the eventlog such
that it does not break out of the loop (unless it is a channel error).
Messages that can't be processed will be ignored and an error is
printed.

Fixes https://github.com/chirpstack/chirpstack-v3-to-v4/issues/4.
2022-10-06 12:31:11 +01:00
Orne Brocaar
5f4d03f3e4 Add example for reading frame-logs from Redis Streams. 2022-10-04 15:50:20 +01:00
Orne Brocaar
94455ffe35 Fix typo (:: > :). 2022-10-04 15:50:20 +01:00
John Dyer
601d3f9aa1
Use trust_store instead of ca_path for mqtt integration. (#47) 2022-10-04 15:44:59 +01:00
Orne Brocaar
4282d3aedc Update clap to v4. 2022-10-03 15:11:53 +01:00
Orne Brocaar
a91fb1f73e Bump version to 4.0.2 2022-09-28 13:05:13 +01:00
Orne Brocaar
b19038e664 Update README. 2022-09-28 12:55:48 +01:00
Orne Brocaar
0940260541 Fix client_cert_lifetime value in configfile template. 2022-09-28 12:38:37 +01:00
Orne Brocaar
51b622e8e2 Fix terminating stream loop on client disconnect.
As the spawn_blocking thread is not terminated when the frame_log_future
is dropped, it would keep the Redis connection open. By closing the
redis_rx channel on client-disconnect, we can check if the channel has
been closed inside the spawn_blocking thread, and return if this is the
case.

Closes #40.
2022-09-28 12:25:33 +01:00
Orne Brocaar
ea0f84b93d Bump version to 4.0.1 2022-09-28 09:14:53 +01:00
Orne Brocaar
091e3b0f97 Remove bandwidth * 1000 as it is already in Hz.
This fixes the missing per DR stats in the gateway dashboard.
2022-09-27 15:56:04 +01:00
Orne Brocaar
4d000b92e9 Fix PositionSolution decoding from JSON.
Depending the algorithm type, some fields might or might not be present.
This change updates these fields to Option<T>.
2022-09-27 11:28:35 +01:00
Orne Brocaar
2abc85afa6 Revert "LoRa Cloud: use default if value is not present."
This reverts commit 1867140272.
2022-09-27 11:15:53 +01:00
Orne Brocaar
1867140272 LoRa Cloud: use default if value is not present. 2022-09-27 11:03:49 +01:00
Orne Brocaar
e81e57a020 Fix clippy warnings. 2022-09-27 11:02:55 +01:00
Orne Brocaar
709731ab6e Fix reading arguments after clap update. 2022-09-27 10:45:46 +01:00
Orne Brocaar
700a7de19f Run cargo update for rust api crate. 2022-09-26 13:19:18 +01:00
Orne Brocaar
3466ec47df Run cargo update. 2022-09-26 13:10:33 +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
a43ef72fb2 Fix chart tooltip date format. 2022-09-13 10:15:21 +01:00
Orne Brocaar
331f4bce40 Fix "Error converting from js 'float' into type 'i32'" error. 2022-09-12 12:28:23 +01:00
Orne Brocaar
90c5af20df Update encodeDownlink code template. 2022-09-12 11:52:51 +01:00
Orne Brocaar
b0e61b50d2 Remove old commented-out code. 2022-09-12 11:48:59 +01:00
Orne Brocaar
0fc548d6b4 Fix object > data error in template.
Closes #39.
2022-09-10 12:42:50 +01:00
Cecile Thiebaut
62f981fefe
Use trust_store instead of ca_path. (#37) 2022-09-10 12:32:01 +01:00
Orne Brocaar
cba8da2d05 Bump version to 4.0.0-rc.4 2022-09-05 22:47:47 +01:00
Orne Brocaar
97a235cc80 Remove duplicate code.
This is already handled by the filter_mac_commands function.
2022-09-05 22:38:48 +01:00
Orne Brocaar
8a4b537645 Fix filtering on mac-command conflict and error count. 2022-09-05 14:07:16 +01:00
Orne Brocaar
32889d7052 Make UI proxy work within Compose for development. 2022-09-01 14:50:46 +01:00
Orne Brocaar
4dd441e85d Cleanup DevEUI from DevAddr > DevEUI set, if DS does not exist. 2022-08-31 11:13:51 +01:00
Orne Brocaar
0fa40717e8 Add missing CN470 configuration.
Closes #36.
2022-08-31 09:48:55 +01:00
Orne Brocaar
7e6552df5e Fix missing Kafka key. 2022-08-31 08:49:53 +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
0a5c38d322 Also log txack errors for mac-only downlinks. 2022-08-30 14:02:21 +01:00
Orne Brocaar
3cf05e8fb9 Fix passive-roaming tx ack and save device-session order.
We first need to save the device-session and then handle the tx ack, as
else we are overwriting the frame-counter increment.
2022-08-26 12:54:46 +01:00
Orne Brocaar
46bc4d6038 Use rf_region_encode module for rf_region in ULMetaData. 2022-08-25 10:43:36 +01:00