151 Commits

Author SHA1 Message Date
Orne Brocaar
f02256245c lrwn: Align v2 fragmentation fec with LBM stack.
Some checks are pending
CI / tests (postgres) (push) Waiting to run
CI / tests (sqlite) (push) Waiting to run
CI / dist (postgres) (push) Blocked by required conditions
CI / dist (sqlite) (push) Blocked by required conditions
This aligns the forward-error-correction code with the LoRa Basics
Modem stack, which seems to be different from the TS004 MATLAB example
code in that it only calls the matrix_line function for the redundancy
frames and thus the n argument ranges from 1 until (and including) the
number of redundancy frames.

The TS004 MATLAB example calls the matrix_line function for every
fragment, thus the n argument ranges from 1 until (and including) m +
the number of redundancy frames. While n <= m, it returns early.
2025-03-18 13:32:14 +00:00
Orne Brocaar
a0f07b5303 Initial FUOTA v2 implementation.
This implements selecting the v2.0.0 app-layer package in the
device-profile and handling these payloads in the FUOTA flow.
2025-03-18 12:44:15 +00:00
Orne Brocaar
351406c363 lrwn: Implement v2 app layer fragmentation structs + encoding. 2025-03-13 15:09:03 +00:00
Orne Brocaar
8b59136942 lrwn: Implement v2 app layer multicast setup structs. 2025-03-13 15:09:03 +00:00
Orne Brocaar
b5e562aa64 lrwn: Implement v2 app layer clock sync structs.
These are the same as the v1 struct, buts re-exporting will make the
documentation confusing + will become inconsistent with other app layer
packages that do provide different struct implementations.
2025-03-13 15:09:03 +00:00
Orne Brocaar
5a7694a3a4 Bump version to 4.12.0-test.1 2025-03-13 15:09:03 +00:00
Orne Brocaar
e75b62f335 lrwn: Add function for encrypting McKey. 2025-03-13 15:09:03 +00:00
Orne Brocaar
cac682c245 Implement handling AppTimeReq / AppTimeAns. 2025-03-13 15:09:03 +00:00
Orne Brocaar
439a6b0542 lrwn: Fix clocksync time_correction type.
The correct type is i32 instead of u32, as the value can be negative.
2025-03-13 15:09:03 +00:00
Orne Brocaar
3c3c1f125d Refactor device-profile relay fields. 2025-03-13 15:09:03 +00:00
Orne Brocaar
f3d3262006 lrwn: Implement v1 applayer multicastsetup key functions. 2025-03-13 15:09:03 +00:00
Orne Brocaar
ffe01d387c lrwn: Implement applayer v1 fragmentation encoding func. 2025-03-13 15:09:03 +00:00
Orne Brocaar
d1f4f42a79 lrwn: Implement v1 applayer fragmentation structs. 2025-03-13 15:09:03 +00:00
Orne Brocaar
bf21297a42 lrwn: Replace Duration with u32 in applayer timesync. 2025-03-13 15:09:03 +00:00
Orne Brocaar
bcb8aaad4f lrwn: Implement v1 applayer multicast setup structs. 2025-03-13 15:09:03 +00:00
Orne Brocaar
f43c9154bc lrwn: Implement v1 applayer clock sync structs. 2025-03-13 15:09:03 +00:00
Orne Brocaar
2fc762d932 Bump version to 4.11.1 2025-02-10 11:41:05 +00:00
Orne Brocaar
24333f8b5d Bump version to 4.11.1-test.2 2025-02-10 11:10:11 +00:00
Orne Brocaar
2e0d034a6b Bump version to 4.11.1 2025-02-07 15:56:39 +00:00
Orne Brocaar
f6374f00f8 Bump version to 4.11.1-test.1
Some checks failed
CI / tests (postgres) (push) Has been cancelled
CI / tests (sqlite) (push) Has been cancelled
CI / dist (postgres) (push) Has been cancelled
CI / dist (sqlite) (push) Has been cancelled
2025-01-30 19:37:17 +00:00
Orne Brocaar
8cb2d4f383 Bump version to 4.11.0
Some checks failed
CI / tests (postgres) (push) Has been cancelled
CI / tests (sqlite) (push) Has been cancelled
CI / dist (postgres) (push) Has been cancelled
CI / dist (sqlite) (push) Has been cancelled
2025-01-15 12:13:04 +00:00
Orne Brocaar
96b544974e Bump version to 4.11.0-test.2
Some checks failed
CI / tests (postgres) (push) Has been cancelled
CI / tests (sqlite) (push) Has been cancelled
CI / dist (postgres) (push) Has been cancelled
CI / dist (sqlite) (push) Has been cancelled
2025-01-13 15:00:37 +00:00
Orne Brocaar
2e738e1f33 Bump version to 4.11.0 2025-01-10 13:44:11 +00:00
Orne Brocaar
64b2e82244 Bump version to 4.11.0-test.1
Some checks failed
CI / tests (postgres) (push) Has been cancelled
CI / tests (sqlite) (push) Has been cancelled
CI / dist (postgres) (push) Has been cancelled
CI / dist (sqlite) (push) Has been cancelled
2024-12-11 09:33:27 +00:00
Orne Brocaar
e50a1e3655 Bump version to 4.10.2 2024-12-10 13:01:17 +00:00
Orne Brocaar
8aff4490f9 Update dependencies. 2024-12-05 12:25:33 +00:00
Orne Brocaar
4b6391f57e Bump version to 4.10.1 2024-11-04 15:20:07 +00:00
Orne Brocaar
ed11c88307 Bump version to 4.10.1-test.1 2024-11-04 12:33:08 +00:00
Orne Brocaar
fdf168bd09 Bump version to 4.10.0 2024-11-04 09:09:44 +00:00
Orne Brocaar
f265a815a6 Bump version to 4.10.0-test.7 2024-10-30 14:20:21 +00:00
Orne Brocaar
2b5b54a7b7 Bump version to 4.10.0-test.6 2024-10-29 16:04:44 +00:00
Orne Brocaar
1245386f38 Bump version to 4.10.0-test.5 2024-10-29 12:27:29 +00:00
Orne Brocaar
eafda74526 Bump version to 4.10.0-test.4 2024-10-29 11:06:48 +00:00
Orne Brocaar
04e676cad6 Bump version to 4.10.0-test.3 2024-10-29 10:52:37 +00:00
Orne Brocaar
dcf6ea14bd Bump version to 4.10.0-test.2 2024-10-29 09:30:29 +00:00
Orne Brocaar
11fdd33139 Bump version to 4.10.0-test.1 2024-09-19 12:19:22 +01:00
Orne Brocaar
190d977bf5 lrwn: Update Deserialize trait implementation. 2024-09-12 14:20:59 +01:00
Orne Brocaar
e63296573b
Implement support for SQLite database backend. (#418) (#500)
This feature makes it possible to select between PostgreSQL and SQLite as database backend using a compile feature-flag. It is not possible to enable both at the same time.

---------

Co-authored-by: Momo Bel <plopyomomo@gmail.com>
2024-08-26 13:22:35 +01:00
Orne Brocaar
489a35e0ec Bump version to 4.9.0 2024-08-15 09:06:19 +01:00
Orne Brocaar
a811ec5c80 Bump version to 4.9.0-test.6 2024-08-07 15:11:09 +01:00
Orne Brocaar
5794f41324 Fix clippy feedback (cargo clippy --fix). 2024-08-07 14:59:25 +01:00
Orne Brocaar
ebc4065ca2 Bump version to 4.9.0-test.5 2024-07-23 11:03:39 +01:00
Orne Brocaar
8fabfd925e Bump version to 4.9.0-test.4 2024-07-22 14:40:01 +01:00
Orne Brocaar
a22ed43883 Update dependencies.
There are still a few dependencies left to update, but these updates
require additional code changes.
2024-07-22 11:48:08 +01:00
Orne Brocaar
f76a4b7f83 lrwn: Allow empty string for AES128Key, DevAddr, EUI64 and NetID.
In case an empty string is provided, the default "null" value will be
used.

Fixes #453.
2024-07-11 10:05:23 +01:00
Orne Brocaar
f153eb8ca0 lrwn: Fix typo in snr clamp. 2024-07-09 11:57:20 +01:00
Orne Brocaar
4a33f67ed6 lrwn: Fix cargo clippy feedback. 2024-07-09 11:39:32 +01:00
Orne Brocaar
f854236b79 Bump version to 4.9.0-test.3 2024-06-26 14:57:17 +01:00
Orne Brocaar
68473906c9 Bump version to 4.9.0-test.2 2024-06-25 12:27:28 +01:00
Orne Brocaar
3f1a47e1e2 Integrate Gateway Mesh feature.
This adds a Gateway Mesh section to the web-interface (+ API endpoints)
to see the status op each Relay Gateway within the Gateway Mesh.

The Gateway Mesh (https://github.com/chirpstack/chirpstack-gateway-mesh)
is an experimental feature to extend LoRaWAN coverage throug Relay
Gateways.
2024-06-25 11:37:57 +01:00