nrf-modem icon indicating copy to clipboard operation
nrf-modem copied to clipboard

Modem library returns an error code of -1

Open dkhayes117 opened this issue 2 years ago • 4 comments

I'm using the DTLS Socket with LTE-M. It seems to connect to the cloud fine and send the data, but right after I see the drop() function called, I get an unwrap error.

10.717010 DEBUG Turning off LTE synchronously. Use async function `deactivate` to avoid blocking.
└─ nrf_modem::lte_link::{impl#2}::drop @ /home/dkhayes117/.cargo/registry/src/github.com-1ecc6299db9ec823/nrf-modem-0.2.0/src/lte_link.rs:168
12.492462 ERROR panicked at 'called `Result::unwrap()` on an `Err` value: NrfError(65536)', /home/dkhayes117/.cargo/registry/src/github.com-1ecc6299db9ec823/nrf-modem-0.2.0/src/lte_link.rs:177:60
└─ panic_probe::print_defmt::print @ /home/dkhayes117/.cargo/registry/src/github.com-1ecc6299db9ec823/panic-probe-0.3.0/src/lib.rs:91

dkhayes117 avatar Jan 30 '23 17:01 dkhayes117