pub struct GsmClient<C, CLK, RST, DTR, PWR, VINT, const N: usize, const L: usize> where
C: AtatClient,
CLK: 'static + Clock,
RST: OutputPin,
PWR: OutputPin,
DTR: OutputPin,
VINT: InputPin, { /* fields omitted */ }
impl<C, CLK, RST, DTR, PWR, VINT, const N: usize, const L: usize> Device<C, CLK, RST, DTR, PWR, VINT, N, L> where
C: AtatClient,
CLK: Clock,
RST: OutputPin,
PWR: OutputPin,
DTR: OutputPin,
VINT: InputPin,
impl<C, CLK, RST, DTR, PWR, VINT, const N: usize, const L: usize> Device<C, CLK, RST, DTR, PWR, VINT, N, L> where
C: AtatClient,
CLK: Clock,
RST: OutputPin,
PWR: OutputPin,
DTR: OutputPin,
VINT: InputPin,
Perform at full factory reset of the module, clearing all NVM sectors in the process
Reset the module by driving it’s RESET_N pin low for 50 ms
NOTE This function will reset NVM settings!
Check the power state of the module, by probing Vint
pin if available,
fallbacking to checking for AT responses through is_alive
impl<C, CLK, RST, DTR, PWR, VINT, const N: usize, const L: usize> Device<C, CLK, RST, DTR, PWR, VINT, N, L> where
C: AtatClient,
CLK: Clock,
RST: OutputPin,
PWR: OutputPin,
DTR: OutputPin,
VINT: InputPin,
impl<C, CLK, RST, DTR, PWR, VINT, const N: usize, const L: usize> Drop for Device<C, CLK, RST, DTR, PWR, VINT, N, L> where
C: AtatClient,
CLK: Clock,
RST: OutputPin,
PWR: OutputPin,
DTR: OutputPin,
VINT: InputPin,
Executes the destructor for this type. Read more
impl<C, CLK, RST, DTR, PWR, VINT, const N: usize, const L: usize> Send for Device<C, CLK, RST, DTR, PWR, VINT, N, L> where
C: Send,
CLK: Send,
DTR: Send,
PWR: Send,
RST: Send,
VINT: Send,
<CLK as Clock>::T: Send,
impl<C, CLK, RST, DTR, PWR, VINT, const N: usize, const L: usize> Sync for Device<C, CLK, RST, DTR, PWR, VINT, N, L> where
C: Sync,
CLK: Sync,
DTR: Sync,
PWR: Sync,
RST: Sync,
VINT: Sync,
<CLK as Clock>::T: Sync,
impl<C, CLK, RST, DTR, PWR, VINT, const N: usize, const L: usize> Unpin for Device<C, CLK, RST, DTR, PWR, VINT, N, L> where
C: Unpin,
CLK: Unpin,
DTR: Unpin,
PWR: Unpin,
RST: Unpin,
VINT: Unpin,
<CLK as Clock>::T: Unpin,
impl<C, CLK, RST, DTR, PWR, VINT, const N: usize, const L: usize> !UnwindSafe for Device<C, CLK, RST, DTR, PWR, VINT, N, L>
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.