pub struct SetSoftwareFlowControl {
pub value: SoftwareFlowControl,
}Expand description
15.8 Set flow control \Q
Controls the operation of the local flow control between DTE and DCE. It is used when the data are sent or received. When the software flow control (XON/XOFF) is used, the DC1 (XON, 0x11) and DC3 (XOFF, 0x13) characters are reserved and therefore filtered (e.g. in SMS text mode these two characters can not be input). Since the DTE-DCE communication relies on the correct reception of DC1/DC3 characters, the UART power saving should be disabled on the module when SW flow control is used. If the UART power saving is active, the DC1/DC3 characters could be used to wake up the module’s UART, and therefore lost. In case a DC3 character (XOFF) is correctly received by module’s UART and some data is waiting to be transmitted, the module is forced to stay awake until a subsequent DC1 character (XON) is received.
Fields§
§value: SoftwareFlowControlTrait Implementations§
Source§impl AtatCmd for SetSoftwareFlowControl
impl AtatCmd for SetSoftwareFlowControl
Source§type Response = NoResponse
type Response = NoResponse
AtatResp trait.Source§fn write(&self, buf: &mut [u8]) -> usize
fn write(&self, buf: &mut [u8]) -> usize
Source§fn parse(
&self,
res: Result<&[u8], InternalError<'_>>,
) -> Result<Self::Response, Error>
fn parse( &self, res: Result<&[u8], InternalError<'_>>, ) -> Result<Self::Response, Error>
Self::Response or Error instance.Source§const MAX_TIMEOUT_MS: u32 = 1000
const MAX_TIMEOUT_MS: u32 = 1000
Source§const ATTEMPTS: u8 = 1
const ATTEMPTS: u8 = 1
send_retry.Source§const REATTEMPT_ON_PARSE_ERR: bool = true
const REATTEMPT_ON_PARSE_ERR: bool = true
send_retry.