Introduces a new auto-implemented send_retry() function to AtatClient, and a new associated const ATTEMPTS: u8 to AtatCmd.
When send_retry() is used instead of send(), it will automatically retry a command ATTEMPTS times, if the result is Err(Error::Timeout) | Err(Error::Parse)
Introduces a new auto-implemented
send_retry()
function toAtatClient
, and a new associatedconst ATTEMPTS: u8
toAtatCmd
.When
send_retry()
is used instead ofsend()
, it will automatically retry a commandATTEMPTS
times, if the result isErr(Error::Timeout) | Err(Error::Parse)
Fixes #123