Socket Sendto (Transmit Explicit Data): Ipv4 - 0X45 - Digi XBee 3 Cellular LTE-M User Manual

Smart modem
Table of Contents

Advertisement

API frames

Socket SendTo (Transmit Explicit Data): IPv4 - 0x45

Description
A Socket SendTo (Transmit Explicit Data) message causes the device to transmit data using an IPv4
address and port. For a non-zero frame ID, this will elicit a
If this frame is used with a TCP, SSL, or a connected UDP socket, the address and port fields are
ignored.
You must perform a
SendTo in order to assign a source port.
Format
The following table provides the contents of the frame. For details on frame structure, see
format.
Field name
Frame type
Frame ID
Socket ID
Destination address
Destination port
Transmit options
Payload
Digi XBee® 3 Cellular LTE-M/NB-IoT Global Smart Modem User Guide
Socket Bind/Listen - 0x46
Field
value
0x45
Socket SendTo (Transmit Explicit Data): IPv4 - 0x45
Transmit (TX) Status - 0x89
frame for a UDP connection before you attempt a
Data type
Byte
Byte
Byte
32-bit big endian
16-bit big endian
Byte bit-field
Variable
frame.
API frame
Description
A reference identifier
used to match status
responses. If set to 0,
the
Transmit
(TX) Status - 0x89
frame
is disabled.
ID of the socket to send
on.
Reserved
Data to be transferred
to the destination, up to
1500 bytes.
282

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xbee 3 cellular nb-iot

Table of Contents