Update to released lorawan crates

This commit is contained in:
Ulf Lilleengen
2022-04-26 18:37:46 +02:00
parent a39d796c3d
commit 2c0e28aa0c
5 changed files with 9 additions and 9 deletions

View File

@ -10,8 +10,8 @@ embassy = { version = "0.1.0", path = "../../embassy", features = ["defmt", "def
embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32wl55jc-cm4", "time-driver-any", "memory-x", "subghz", "unstable-pac", "exti"] }
embassy-lora = { version = "0.1.0", path = "../../embassy-lora", features = ["stm32wl", "time"] }
lorawan-device = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["async"] }
lorawan-encoding = { git = "https://github.com/ivajloip/rust-lorawan.git", rev = "607d7ee4917e26998b5f130304becde969b6b434", default-features = false, features = ["default-crypto"] }
lorawan-device = { version = "0.7.1", default-features = false, features = ["async"] }
lorawan = { version = "0.7.1", default-features = false, features = ["default-crypto"] }
defmt = "0.3"
defmt-rtt = "0.3"

View File

@ -17,8 +17,8 @@ use embassy_stm32::{
subghz::*,
Peripherals,
};
use lorawan::default_crypto::DefaultFactory as Crypto;
use lorawan_device::async_device::{region, Device, JoinMode};
use lorawan_encoding::default_crypto::DefaultFactory as Crypto;
fn config() -> embassy_stm32::Config {
let mut config = embassy_stm32::Config::default();