User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
19Internet protocol transport layer
Page 224 of 401
By default it is disabled for both TCP and UDP sockets.
The +UDCONF=7 command can configure the character trigger.
19.16.4.4Combined Triggers
The user can enable multiple triggers together. The triggers work with an OR logic. This means that the first
trigger reached fires the data transmission.
19.16.4.5About serial data chunks
A data chunk is the amount of data that SIO recognizes as a single data transmission.
If the baud rate is lower than 115200 b/s the time to receive 255 characters is always calculated with
timings for 115200 b/s.
19.16.4.6Data from the network
The data received from the network is immediately forwarded to the serial interface.
19.16.4.7Congestion timer
The congestion timer represents the time after which, in case of network congestion, the module exits from
direct link.
SARA-R4 / SARA-N4 - For TCP socket it is 30 s. The value varies depending on network behavior. For UDP
socket case the congestion timer is not used.
19.17UDP Direct Link Packet Size configuration +UDCONF=2
+UDCONF=2
Modules All products
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full No No No - +CME Error
19.17.1Description
Set the packet size for the UDP direct link packet.
19.17.2Syntax
Type Syntax Response Example
Set AT+UDCONF=2,<socket_id>,
<packet_size>
OK AT+UDCONF=2,1,1024
OK
Read AT+UDCONF=2,<socket_id> +UDCONF: 2,<socket_id>,<packet_
size>
OK
AT+UDCONF=2,1
+UDCONF: 2,1,1024
OK
19.17.3Defined values
Parameter Type Description
<socket_id> Number Socket identifier; used when changing the UDP Direct Link settings:
SARA-R4 / SARA-N4 - The range goes from 0 to 6.
<packet_size> Number Packet size (in bytes) for UDP direct link; valid range is 100-1472; the factory-
programmed value is 1024 bytes