pub fn encode_submit(
req: &SubmitRequest,
) -> Result<Vec<(usize, String)>, PduError>Expand description
Encode an SMS-SUBMIT, splitting into concatenated parts when needed (which requires
SubmitRequest::concat_ref).
Returns (tpdu_len, hex) per part: tpdu_len is the <length> for AT+CMGS
(TPDU octets, SMSC prefix excluded); hex is the full PDU to send after the prompt.