Crate telit_me310g1

Source
Expand description

Telit ME310G1 LTE-M radio driver.

Re-exports§

pub use command_status::CommandStatus;

Modules§

command_status
Module defining the command status of a radio’s command response and the parsers.
commands
Set of supported commands for Telit radios.
common_parsers
Module containing the common parsers used across this library’s several radio commands.

Macros§

generate_engine
Generate the engine to communicate with the radio. This creates two new functions:

Structs§

CommandResponse
Response from the engine either containing the response or an error.
StackBuffer
Newtype for an array. This allows to own an redimentional vector-like structure in a no_std and no_alloc environment.
TelitHttpRequest
HTTP data supported by the Telit driver TelitMe310g1.
TelitMe310g1
The Telit ME310G1 radio driver to perform high-level commands.
ValidateFn
Provides a validation function which implements Default and Clone to be used by the RecvFuture.

Enums§

ConcatenatorError
Errors for the internal Concatenator structure.
ReceiveResponseError
Errors while receiving the response in the radio engine.
ResponseError
Errors about command execution and parsing.
RunEngineError
Errors for running the radio engine.
StackBufferError
Errors for the StackBuffer structure.
TelitHttpMethod
Implemented HTTP methods supported by the Telit driver TelitMe310g1.
TelitMe310g1Error
Errors for the TelitMe310g1 structure.
TelitSetupTls
Identify if we use TLS or not when performing a HTTP request.

Constants§

COMMAND_ISSUING_TIMING
80617ST10991A rev 15 page 33:
COMMAND_SIZE_MAX
80617ST10991A rev 15 page 20:
MAX_EVENT_COUNT
Maximum number of concurrent events received by the radio and handled by this engine. There are no specific reason for it to be 2, except for space constraints.
MAX_PUBLISHER_COUNT
Maximum number of publishers to broadcast events. The only task that should be able to broadcast events is the engine. Thus, it is set to 1.

Traits§

CommandSerialize
Types that are serializable commands and able to be sent and executed on a Telit radio.
ResponseParser
Types that are commands which, once executed on a Telit radio, returns a parsable response.

Functions§

_run_engine
Run the engine to manage the transfer to and from a specific communication B.