
SARA-R4/N4 series - AT Commands Manual
UBX-17003787 - R09
C Appendix: UDP Direct Link workflow
Page 298 of 307
Event:
sending
timer expires
New data + data
into intermediate
buffer
is < than
max_packet_size
?
Reset sending timer
Put data into
intermediate
buffer and
wait sending
timer expires
or new data
YES
Send max_packet_size
of data to IP network
Remaining
data
is >= max
packet size?
YES
NO
Event: new
data from
external port
Is there any data
into the intermediate
buffer?
Is there
any
data?
Finish,
event
handled
YES
NO
Finish,
event
handled
Reschedule
timer
NO
YES
Send data to IP
network
NO
Figure 11: Workflow of data from the external port to the IP network