Update heapless to v0.8, embedded-nal-async to v0.7

This commit is contained in:
Dario Nieuwenhuis
2023-11-08 22:59:58 +01:00
parent b3367be9c8
commit 4647df14b1
31 changed files with 39 additions and 42 deletions

View File

@ -97,8 +97,8 @@ impl<'a> Control<'a> {
pub async fn connect(&mut self, ssid: &str, password: &str) -> Result<(), Error> {
let req = proto::CtrlMsgReqConnectAp {
ssid: String::from(ssid),
pwd: String::from(password),
ssid: unwrap!(String::try_from(ssid)),
pwd: unwrap!(String::try_from(password)),
bssid: String::new(),
listen_interval: 3,
is_wpa3_supported: false,