Commit Graph

52 Commits

Author SHA1 Message Date
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
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
9f3a76f5fb Add --pyi_out flag to generate Python type information.
Closes #68.
2023-01-11 11:01:55 +00:00
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
ac30f68d85 Update .gitignore + re-generate API. 2023-01-10 15:57:06 +00:00
b24ca28adb Fix java_outer_classname for request_log.proto.
See #64.
2023-01-10 15:43:21 +00:00
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
927a68a436 Bump version to 4.1.3 2022-12-27 11:14:43 +00:00
e2682db6e2 Bump version to 4.1.2 2022-12-16 09:44:47 +00:00
fd061d4657 Bump version to 4.1.1 2022-12-13 13:48:42 +00:00
c874c97c96 Bump version to 4.1.0 2022-12-06 09:36:55 +00:00
fe3d6d3fdf Re-generate API + update code. 2022-12-05 11:46:36 +00:00
c1c89d06f8 Bump version to 4.1.0-test.1 2022-11-28 15:17:53 +00:00
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
84dc8fd333 Bump version to 4.0.5 2022-11-28 10:23:54 +00:00
bfcff17f34 Bump version to 4.0.4 2022-11-15 10:13:35 +00:00
0ac4ef51e2 Bump version to 4.0.3 2022-11-07 11:40:11 +00:00
a864bd2e5d Add gateway metadata tab and make naming consistent. 2022-11-04 11:51:24 +00:00
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
d6cc9d4fd6 Bump version to 4.0.3-test.1 2022-10-21 07:37:25 +01:00
a91fb1f73e Bump version to 4.0.2 2022-09-28 13:05:13 +01:00
ea0f84b93d Bump version to 4.0.1 2022-09-28 09:14:53 +01:00
f17250c37f Show region information in UI. 2022-09-15 10:58:37 +01:00
69b3d4a38e Regenerate API files. 2022-09-14 09:46:17 +01:00
84a1c6e1be Bump version to 4.0.0 2022-09-14 09:43:05 +01:00
cba8da2d05 Bump version to 4.0.0-rc.4 2022-09-05 22:47:47 +01:00
ca2961c7b6 Bump version to 4.0.0-rc.3 2022-08-23 08:59:05 +01:00
d4337b10ab Bump version to 4.0.0-rc.2 2022-08-11 12:04:21 +01:00
ca567ca562 Bump version to 4.0.0-rc.1 2022-08-10 12:36:43 +01:00
fd62076e02 Add plaintext_mac_commands field to up/down frame-log. 2022-08-09 15:28:37 +01:00
e680db3be0 Bump version to 4.0.0-test.18 2022-08-04 17:11:45 +01:00
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
a14adfe20b Bump version to 4.0.0-test.17 2022-08-04 10:27:03 +01:00
341ac828b0 Bump version to 4.0.0-test.16 2022-08-01 12:59:57 +01:00
edff985ad8 Bump version to 4.0.0-test.15 2022-08-01 10:20:57 +01:00
eee1c4b4b0 Show counter value as rate per aggregation interval. 2022-07-31 13:10:16 +01:00
f58e39e503 Bump version to 4.0.0-test.14 2022-07-28 09:02:54 +01:00
7a7d3dbd4e Add missing LoRa 2.4 gHz code-rates to enum. 2022-07-27 10:06:14 +01:00
73d581fc4c Update version. 2022-07-26 15:29:01 +01:00
d10551bce1 Change command exec_id to uint32. 2022-07-22 20:29:07 +01:00
c0a450c8f8 Change LR-FHSS code_rate to CodeRate type. 2022-07-22 12:19:36 +01:00
e7432986cd Bump version to v4.0.0-test.11. 2022-07-21 16:17:41 +01:00
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
067869e4f0 Bump version to v4.0.0-test.10. 2022-07-21 13:49:51 +01:00
cbb1449868 Bump version. 2022-07-20 13:27:34 +01:00
038614b44d Update Python SDK. 2022-07-18 14:25:32 +01:00
3fd821ebdf Update version to v4.0.0-test.7. 2022-06-29 14:10:50 +01:00
4fa9341139 Bump version. 2022-06-10 12:32:09 +01:00
f964314a4f Update packaging + bump (test) version. 2022-05-04 11:34:18 +01:00
c7056d84d6 Bump versions. 2022-05-02 15:14:59 +01:00