diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-11-08 22:59:58 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-11-10 16:43:53 +0100 |
| commit | 4647df14b16c95ef56bf2e6cc4303583be3b4846 (patch) | |
| tree | 69c591be4841ab1c8fd5046bee0d399133c4577c /embassy-net-esp-hosted | |
| parent | b3367be9c8f0eb54d500dc2e6f652ade05859088 (diff) | |
Update heapless to v0.8, embedded-nal-async to v0.7
Diffstat (limited to 'embassy-net-esp-hosted')
| -rw-r--r-- | embassy-net-esp-hosted/Cargo.toml | 4 | ||||
| -rw-r--r-- | embassy-net-esp-hosted/src/control.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/embassy-net-esp-hosted/Cargo.toml b/embassy-net-esp-hosted/Cargo.toml index 2a8c2857d..e86be4455 100644 --- a/embassy-net-esp-hosted/Cargo.toml +++ b/embassy-net-esp-hosted/Cargo.toml | |||
| @@ -15,9 +15,9 @@ embassy-net-driver-channel = { version = "0.2.0", path = "../embassy-net-driver- | |||
| 15 | embedded-hal = { version = "1.0.0-rc.1" } | 15 | embedded-hal = { version = "1.0.0-rc.1" } |
| 16 | embedded-hal-async = { version = "=1.0.0-rc.1" } | 16 | embedded-hal-async = { version = "=1.0.0-rc.1" } |
| 17 | 17 | ||
| 18 | noproto = { git="https://github.com/embassy-rs/noproto", rev = "c90f3a78d7b5642415e0a07af401320b84d8ab6f", default-features = false, features = ["derive"] } | 18 | noproto = { git="https://github.com/embassy-rs/noproto", rev = "f5e6d1f325b6ad4e344f60452b09576e24671f62", default-features = false, features = ["derive"] } |
| 19 | #noproto = { version = "0.1", path = "/home/dirbaio/noproto", default-features = false, features = ["derive"] } | 19 | #noproto = { version = "0.1", path = "/home/dirbaio/noproto", default-features = false, features = ["derive"] } |
| 20 | heapless = "0.7.16" | 20 | heapless = "0.8" |
| 21 | 21 | ||
| 22 | [package.metadata.embassy_docs] | 22 | [package.metadata.embassy_docs] |
| 23 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-esp-hosted-v$VERSION/embassy-net-esp-hosted/src/" | 23 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-esp-hosted-v$VERSION/embassy-net-esp-hosted/src/" |
diff --git a/embassy-net-esp-hosted/src/control.rs b/embassy-net-esp-hosted/src/control.rs index 50030f431..c86891bc3 100644 --- a/embassy-net-esp-hosted/src/control.rs +++ b/embassy-net-esp-hosted/src/control.rs | |||
| @@ -97,8 +97,8 @@ impl<'a> Control<'a> { | |||
| 97 | 97 | ||
| 98 | pub async fn connect(&mut self, ssid: &str, password: &str) -> Result<(), Error> { | 98 | pub async fn connect(&mut self, ssid: &str, password: &str) -> Result<(), Error> { |
| 99 | let req = proto::CtrlMsgReqConnectAp { | 99 | let req = proto::CtrlMsgReqConnectAp { |
| 100 | ssid: String::from(ssid), | 100 | ssid: unwrap!(String::try_from(ssid)), |
| 101 | pwd: String::from(password), | 101 | pwd: unwrap!(String::try_from(password)), |
| 102 | bssid: String::new(), | 102 | bssid: String::new(), |
| 103 | listen_interval: 3, | 103 | listen_interval: 3, |
| 104 | is_wpa3_supported: false, | 104 | is_wpa3_supported: false, |
