Commit Graph

116 Commits

Author SHA1 Message Date
Orne Brocaar
407ebd2d3f Bump version to 4.4.0 2023-06-26 12:05:45 +00:00
Orne Brocaar
318f097344 Fix CN470 ping-slot frequencies + add comments.
The frequency-hopping ping-slots are equal to the beacon frequencys.
With the US915 and AU915 channels using the Class-A downlink
channels as beacon-frequencies, this was wrongly implemented in the
same way, but in case of CN470 the beacon-frequencies are not equal
to the Class-A downlink frequencies.
2023-06-09 09:24:06 +01:00
Orne Brocaar
3f77203516 Bump version to 4.4.0-test.1 2023-05-30 14:08:45 +00:00
Orne Brocaar
b89221a932 Update dependencies + Diesel related changes. 2023-05-30 12:42:42 +00:00
Orne Brocaar
cefe61072d Initial Relay support implementation (TS011).
Closes #59.
2023-05-22 11:04:13 +01:00
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
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
0a3fcaeb2d Bump version to 4.3.1 2023-04-10 12:24:52 +01: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
Tim Cooijmans
fcdc432812
Update US902-928 to right Downlink MinDR according to RP2-1.0.3 (#115)
RP2-1.0.3 defines that the MinDR for US902-928 is 8 (SF12BW500) not 10 (SF10BW500)
2023-02-14 14:37:23 +00:00
Orne Brocaar
5953542a72 Update dependencies. 2023-02-06 12:23:44 +00:00
Orne Brocaar
1d2f627bbb Bump version to 4.2.0 2023-01-24 12:23:44 +00:00
Orne Brocaar
b6209d760e Bump version to 4.2.0-test.1 2023-01-16 11:14:05 +00:00
dependabot[bot]
5b6d5c00e2
Bump diesel from 2.0.0 to 2.0.2 (#84)
Bumps [diesel](https://github.com/diesel-rs/diesel) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/diesel-rs/diesel/releases)
- [Changelog](https://github.com/diesel-rs/diesel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/diesel-rs/diesel/compare/v2.0.0...v2.0.2)

---
updated-dependencies:
- dependency-name: diesel
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 12:11:56 +00:00
Orne Brocaar
cee3dd8d9c Fix clippy feedback in lrwn crate. 2023-01-07 19:56:07 +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
c874c97c96 Bump version to 4.1.0 2022-12-06 09:36:55 +00:00
Orne Brocaar
c1c89d06f8 Bump version to 4.1.0-test.1 2022-11-28 15:17:53 +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
e2214f9485 Add coding_rate field to LoraDataRate (+ fix 2.4GHz coding-rate).
Per Regional Parameters Specification, the LoRa modulation always uses
coding-rate 4/5, however this is not the case for ISM2400 (which is
currently not covered by the reg. params) in which case coding-rate
4/8LI must be used.

Closes #51.
2022-11-08 15:19:45 +00:00
Orne Brocaar
0ac4ef51e2 Bump version to 4.0.3 2022-11-07 11:40:11 +00:00
Orne Brocaar
d6cc9d4fd6 Bump version to 4.0.3-test.1 2022-10-21 07:37:25 +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
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
bb188949df Update dependencies + fix clippy warnings. 2022-09-26 12:58:01 +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
Orne Brocaar
ca2961c7b6 Bump version to 4.0.0-rc.3 2022-08-23 08:59:05 +01:00
Orne Brocaar
d97da8ed50 Fix c > 64 to c >= 64 typo in channel-mask calculation.
Depending the channel-configuration, this would send three LinkADRReq
mac-commands while the same configuration could be send to the device in
two LinkADRReq mac-commands.
2022-08-21 21:48:27 +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
92a710fd1e Fix NewChannelReq for LoRaWAN 2.4GHz freqs. 2022-08-08 11:49:47 +01:00
Orne Brocaar
e680db3be0 Bump version to 4.0.0-test.18 2022-08-04 17:11:45 +01:00
Orne Brocaar
a14adfe20b Bump version to 4.0.0-test.17 2022-08-04 10:27:03 +01:00
Orne Brocaar
7890dc7539 Also match 1.0 and 1.1 strings for MacVersion. 2022-08-01 14:45:43 +01:00
Orne Brocaar
341ac828b0 Bump version to 4.0.0-test.16 2022-08-01 12:59:57 +01:00
Orne Brocaar
54d582504f Fix clippy warnings. 2022-08-01 10:24:15 +01:00
Orne Brocaar
edff985ad8 Bump version to 4.0.0-test.15 2022-08-01 10:20:57 +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
3bfb7d577f Fix coding_rate string in test.
The CodeRate type (in Rust) will decode both "1/3" and "2/6" as
CodeRate::Cr26. To string, this type is always encoded to "2/6".
2022-07-25 10:29:46 +01:00
Orne Brocaar
4612f84045 Update to diesel 2.0.0-rc.1. 2022-07-22 13:05:45 +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
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
634aea6a71 Update diesel to 2.0.0-rc.0.
Diesel 1.4.x makes it impossible to properly cross-compile when using
PostgreSQL and thus having a dependency on libpq. On compile and I
believe when using the diesel_migrations crate, there is a dependency on
both the host and target libpq. Unfortunately, only one can be installed
at a time, because of conflicts. See also:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995768

Until now the cross-compile solution is based on docker buildx, which
uses qemu to emulate the different targets. This works, but is very,
very slow.

Diesel 2.0.0-rc.0 no longer depends on both the host and target libpq on
compile and makes it possible to implement proper cross-compiling (using
the rust --target flag in combination with the cross-compile
toolchains).
2022-07-20 10:55:59 +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
4fa9341139 Bump version. 2022-06-10 12:32:09 +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
0fe1ff10b4 Update lrwn/Cargo.toml. 2022-04-06 22:13:16 +01:00
Orne Brocaar
1817651e78 Remove unused dependency. Remove publish = false. 2022-04-06 22:08:35 +01:00
Orne Brocaar
96fe672fc7 Initial commit. 2022-04-06 21:18:32 +01:00