Hello,
I have a problem with UDP server mode on the Quectel M65, firmware M65MAR01A03
(ATI: Quectel_M65, Revision: M65MAR01A03; AT+CGMR: Revision: M65MAR01A03).
The same host program, the same AT command sequence, the same SIM card, APN and
remote server work correctly on the Quectel M12 (Revision: M12ER01A07W32).
AT sequence (identical on both modules):
AT+IFC=0,0
AT+CREG=1
AT+QIMUX=0
AT+QIMODE=0
AT+QIDNSIP=0
AT+QISDE=0
AT+QIHEAD=1
AT+QINDI=0
AT+QILPORT=“UDP”,3030
AT+QILPORT? → TCP: 2020 / UDP: 3030
AT+QIREGAPP=“”,“”,“”
AT+CGATT=1
AT+QIACT → OK
AT+QILOCIP → 10.10.6.233
AT+QIOPEN=“UDP”,“10.10.7.1”,3030 → OK, CONNECT OK
AT+QISERVER=1 → OK, SERVER OK
AT+QISERVER? → +QISERVER: 1, 0
AT+QISRVC=1
AT+QISEND=10 → > 0123456789 → SEND OK
Then the remote host sends a UDP packet to the module’s IP (10.10.6.233), port 3030.
M12 result:
REMOTE IP:10.10.7.1
IPD16:A2012A0100000078
(the packet sent by the M12 reaches the server from a dynamic source port,
e.g. 58710, IP 10.10.6.233)
M65 result:
REMOTE IP:
(hex: 52 45 4d 4f 54 45 20 49 50 3a 0d 0a) - no address and no data.
(the packet sent by the M65 also leaves from a dynamic source port, e.g. 49608,
so outgoing data reaches the server on both modules)
Additional details on the M65:
- The line appears only when the server sends a packet to the module
(control test: nothing is printed otherwise). - Afterwards AT+QISERVER? returns “+QISERVER: 1, 1” (a client is registered).
- AT+QISRVC=2 followed by AT+QISEND=5 returns ERROR (no peer address stored).
- AT+QIRD=0,1,0,1024 returns OK with no data.
- Same result with QINDI=1 (no +QIRDI notification), with QISHOWRA=1,
QISHOWLA=1, QISHOWPT=1, without a prior AT+QIOPEN (AT+QISERVER=1 only),
and in multi-IP mode (AT+QIMUX=1, AT+QISERVER=1,3): output “0, REMOTE IP:”. - AT+QISERVER (TCP server, without “=1”) was also tried for comparison, no output.
Questions:
- Is this a known issue in M65MAR01A03?
- Is there a newer M65 firmware that fixes UDP server reception? I see some
distributors list M65 with revisions R01A21/R01A22. Could you please provide
the firmware, the flashing tool (QFlash or DFOTA) and the upgrade instructions? - Is there any workaround on this firmware?
Thank you.