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§
- Command
Response - Response from the engine either containing the response or an error.
- Stack
Buffer - Newtype for an array. This allows to own an redimentional vector-like structure
in a
no_std
andno_alloc
environment. - Telit
Http Request - HTTP data supported by the Telit driver
TelitMe310g1
. - Telit
Me310g1 - The Telit ME310G1 radio driver to perform high-level commands.
- Validate
Fn - Provides a validation function which implements
Default
andClone
to be used by theRecvFuture
.
Enums§
- Concatenator
Error - Errors for the internal
Concatenator
structure. - Receive
Response Error - Errors while receiving the response in the radio engine.
- Response
Error - Errors about command execution and parsing.
- RunEngine
Error - Errors for running the radio engine.
- Stack
Buffer Error - Errors for the
StackBuffer
structure. - Telit
Http Method - Implemented HTTP methods supported by the Telit driver
TelitMe310g1
. - Telit
Me310g1 Error - Errors for the
TelitMe310g1
structure. - Telit
Setup Tls - 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§
- Command
Serialize - Types that are serializable commands and able to be sent and executed on a Telit radio.
- Response
Parser - 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
.