Struct atat::Client

source · []
pub struct Client<Tx, CLK, const TIMER_HZ: u32, const RES_CAPACITY: usize, const URC_CAPACITY: usize> where
    Tx: Write<u8>,
    CLK: Timer<TIMER_HZ>, 
{ /* private fields */ }
Expand description

Client responsible for handling send, receive and timeout from the userfacing side. The client is decoupled from the ingress-manager through some spsc queue consumers, where any received responses can be dequeued. The Client also has an spsc producer, to allow signaling commands like reset to the ingress-manager.

Implementations

Trait Implementations

Send an AT command. Read more

Check if there are any responses enqueued from the ingress manager. Read more

Get the configured mode of the client. Read more

Reset the client, queues and ingress buffer, discarding any contents

Checks if there are any URC’s (Unsolicited Response Code) in queue from the ingress manager. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.