[Hilo] What will happen if I read part of the UDP data?


#1

Answer: If you only read part of the UDP data, than the left data will be discarded. For example:
+KUDP_DATA: 1,10 ==> Income 10 bytes of UDP data.
AT+KUDPRCV=1,5 ==> Partial data are received (5/10).
CONNECT
11111–EOF–Pattern–
OK
+KUDP_RCV: “192.129.135.187”,6983
+KUDP_DATA_MISSED: 1,5 ==> The other 5 bytes are missed and lost!