diff options
| author | Ulf Lilleengen <[email protected]> | 2022-04-26 18:37:46 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2022-04-26 19:06:15 +0200 |
| commit | 2c0e28aa0c9a1253d0450aee58274f4ae5d0dcd0 (patch) | |
| tree | d37d821de8192a37d0add5702a59b817b4b1165a | |
| parent | a39d796c3de9c96ea4df6b9da525cb0d5ef60fc0 (diff) | |
Update to released lorawan crates
| -rw-r--r-- | embassy-lora/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/stm32l0/Cargo.toml | 6 | ||||
| -rw-r--r-- | examples/stm32l0/src/bin/lorawan.rs | 2 | ||||
| -rw-r--r-- | examples/stm32wl/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/stm32wl/src/bin/lorawan.rs | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/embassy-lora/Cargo.toml b/embassy-lora/Cargo.toml index 9ce5d9af0..5ba2bdbce 100644 --- a/embassy-lora/Cargo.toml +++ b/embassy-lora/Cargo.toml | |||
| @@ -34,5 +34,5 @@ futures = { version = "0.3.17", default-features = false, features = [ "async-aw | |||
| 34 | embedded-hal = { version = "0.2", features = ["unproven"] } | 34 | embedded-hal = { version = "0.2", features = ["unproven"] } |
| 35 | bit_field = { version = "0.10" } | 35 | bit_field = { version = "0.10" } |
| 36 | 36 | ||
| 37 | lorawan-device = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["async"] } | 37 | lorawan-device = { version = "0.7.1", default-features = false, features = ["async"] } |
| 38 | lorawan-encoding = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false } | 38 | lorawan = { version = "0.7.1", default-features = false } |
diff --git a/examples/stm32l0/Cargo.toml b/examples/stm32l0/Cargo.toml index a8850677d..0b21f6742 100644 --- a/examples/stm32l0/Cargo.toml +++ b/examples/stm32l0/Cargo.toml | |||
| @@ -7,7 +7,7 @@ resolver = "2" | |||
| 7 | 7 | ||
| 8 | [features] | 8 | [features] |
| 9 | default = ["nightly"] | 9 | default = ["nightly"] |
| 10 | nightly = ["embassy-stm32/nightly", "embassy-lora", "lorawan-device", "lorawan-encoding"] | 10 | nightly = ["embassy-stm32/nightly", "embassy-lora", "lorawan-device", "lorawan"] |
| 11 | 11 | ||
| 12 | [dependencies] | 12 | [dependencies] |
| 13 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime"] } | 13 | embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "defmt-timestamp-uptime"] } |
| @@ -15,8 +15,8 @@ embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = [" | |||
| 15 | 15 | ||
| 16 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["sx127x", "time", "defmt"], optional = true} | 16 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["sx127x", "time", "defmt"], optional = true} |
| 17 | 17 | ||
| 18 | lorawan-device = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["async"], optional = true } | 18 | lorawan-device = { version = "0.7.1", default-features = false, features = ["async"], optional = true } |
| 19 | lorawan-encoding = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["default-crypto"], optional = true } | 19 | lorawan = { version = "0.7.1", default-features = false, features = ["default-crypto"], optional = true } |
| 20 | 20 | ||
| 21 | defmt = "0.3" | 21 | defmt = "0.3" |
| 22 | defmt-rtt = "0.3" | 22 | defmt-rtt = "0.3" |
diff --git a/examples/stm32l0/src/bin/lorawan.rs b/examples/stm32l0/src/bin/lorawan.rs index 93cdd1c9f..c3b97de53 100644 --- a/examples/stm32l0/src/bin/lorawan.rs +++ b/examples/stm32l0/src/bin/lorawan.rs | |||
| @@ -18,8 +18,8 @@ use embassy_stm32::{ | |||
| 18 | time::U32Ext, | 18 | time::U32Ext, |
| 19 | Peripherals, | 19 | Peripherals, |
| 20 | }; | 20 | }; |
| 21 | use lorawan::default_crypto::DefaultFactory as Crypto; | ||
| 21 | use lorawan_device::async_device::{region, Device, JoinMode}; | 22 | use lorawan_device::async_device::{region, Device, JoinMode}; |
| 22 | use lorawan_encoding::default_crypto::DefaultFactory as Crypto; | ||
| 23 | 23 | ||
| 24 | fn config() -> embassy_stm32::Config { | 24 | fn config() -> embassy_stm32::Config { |
| 25 | let mut config = embassy_stm32::Config::default(); | 25 | let mut config = embassy_stm32::Config::default(); |
diff --git a/examples/stm32wl/Cargo.toml b/examples/stm32wl/Cargo.toml index 1c2242f30..919104b01 100644 --- a/examples/stm32wl/Cargo.toml +++ b/examples/stm32wl/Cargo.toml | |||
| @@ -10,8 +10,8 @@ embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "def | |||
| 10 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32wl55jc-cm4", "time-driver-any", "memory-x", "subghz", "unstable-pac", "exti"] } | 10 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32wl55jc-cm4", "time-driver-any", "memory-x", "subghz", "unstable-pac", "exti"] } |
| 11 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time"] } | 11 | embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time"] } |
| 12 | 12 | ||
| 13 | lorawan-device = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["async"] } | 13 | lorawan-device = { version = "0.7.1", default-features = false, features = ["async"] } |
| 14 | lorawan-encoding = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["default-crypto"] } | 14 | lorawan = { version = "0.7.1", default-features = false, features = ["default-crypto"] } |
| 15 | 15 | ||
| 16 | defmt = "0.3" | 16 | defmt = "0.3" |
| 17 | defmt-rtt = "0.3" | 17 | defmt-rtt = "0.3" |
diff --git a/examples/stm32wl/src/bin/lorawan.rs b/examples/stm32wl/src/bin/lorawan.rs index 2e3221fcc..393828c85 100644 --- a/examples/stm32wl/src/bin/lorawan.rs +++ b/examples/stm32wl/src/bin/lorawan.rs | |||
| @@ -17,8 +17,8 @@ use embassy_stm32::{ | |||
| 17 | subghz::*, | 17 | subghz::*, |
| 18 | Peripherals, | 18 | Peripherals, |
| 19 | }; | 19 | }; |
| 20 | use lorawan::default_crypto::DefaultFactory as Crypto; | ||
| 20 | use lorawan_device::async_device::{region, Device, JoinMode}; | 21 | use lorawan_device::async_device::{region, Device, JoinMode}; |
| 21 | use lorawan_encoding::default_crypto::DefaultFactory as Crypto; | ||
| 22 | 22 | ||
| 23 | fn config() -> embassy_stm32::Config { | 23 | fn config() -> embassy_stm32::Config { |
| 24 | let mut config = embassy_stm32::Config::default(); | 24 | let mut config = embassy_stm32::Config::default(); |
