Missing bytes in UDP rx packet

Hello!

I am trying to use WIP command to receive data by UDP. When I send “12345689” to my GSM module, GSM module can only rx the first 4 bytes data, followed by a special character of “black heart”.

UDP server sent: 123456789
GSM module rx: 1234♥

Does anyone have idea on that?

If you send that as raw bytes it’s likely due to 4 being the EOT byte (End Of Transmission).

Hi tobias,

Whatever the UDP server tx, only the first 4 bytes are rx in the GSM module:

UDP server tx: abcdef
GSM module rx: abcd♥

Thus, I don’t think the character “4” is the EOT byte.

Judith

Could you describe what commands you use on the modem to set it up for UDP reception as well as what firmware version you use for both the modem and wipsoft. (ATI3 and AT+WIPCFG=3)

Only the commands from AT+WIPCREATE… are interesting.

Hi tobias,

firware version:
ati3
657_09gg.Q24PL001 1954500 102706 18:44

wipsoft version:
at+wipcfg=3
WIP Soft v201 on Open AT OS v312

Command I used to set up UDP reception in the GSM modem:
at+wipcfg=1
OK
at+wipbr=1,6
OK
at+wipbr=2,6,11,“peoples.net
OK
at+wipbr=4,6,0
OK
at+wipcreate=1,1,5000,“xxx.yyy.zzz.lll”,5000 // xxx.yyy.zzz.lll is the IP address of the UDP server
OK

+WIPREADY: 1, 1
AT+WIPDATA=1,1,1
CONNECT
abcd♥

I suggest that you first talk to your distributor so you can get a newer version of WIPSoft (the latest I know of is 3.01) and do the tests again.
And make sure your distributor gives you 3.10 when it is released (should be in december) as that fixes additional bugs when working with UDP.