Struct ublox_cellular::command::ip_transport_layer::ReadSocketData [−][src]
pub struct ReadSocketData {
pub socket: SocketHandle,
pub length: usize,
}
Expand description
25.12 Read Socket Data +USORD
Reads the specified amount of data from the specified socket, like the BSD read routine. This command can be used to know the total amount of unread data.
For the TCP socket type the URC +UUSORD:
For the UDP socket type the URC +UUSORD:
In case of a partial read of a UDP packet +UUSORD:
Fields
socket: SocketHandle
length: usize
Trait Implementations
type Response = SocketData
type Response = SocketData
The type of the response. Must implement the AtatResp
trait.
type Error = GenericError
type Error = GenericError
The type of the error.
Return the command as a heapless Vec
of bytes.
Parse the response into a Self::Response
or Error<Self::Error>
instance.
The max timeout in milliseconds.
Force the ingress manager into receive state immediately after sending the command. Read more
Force client to look for a response. Empty slice is then passed to parse by client. Implemented to enhance expandability fo ATAT Read more