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
16
use crate::at_command::{AtRequest, BufferType};

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

pub struct ProductInformation {}

impl AtRequest for AtI {
    type Response = ProductInformation;

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