sim7020 2.2.0

driver for sim7020E NB IoT modem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::at_command::{AtRequest, BufferType};
use crate::AtError;

#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct StartWirelessConnection;

impl AtRequest for StartWirelessConnection {
    type Response = Result<(), AtError>;

    fn get_command<'a>(&'a self, buffer: &'a mut BufferType) -> Result<&'a [u8], usize> {
        at_commands::builder::CommandBuilder::create_execute(buffer, true)
            .named("+CIICR")
            .finish()
    }
}