SMS PDU send error 304

I’m using EG-25G modem. I’m trying to send SMS with PDU mode. But i always got “CMS ERROR: 304” after entering

at+cmgf=0
at+cmgf=0
OK
at+cmgs=26
at+cmgs=26

0011000881214365870000A70FF4F29C0E6A97E7F3F0B90C8A3500
^Z11000881214365870000A70FF4F29C0E6A97E7F3F0B90C8A3500

+CMS ERROR: 304

I can send the SMS with text mode successfully. Could you please advise ?

Thanks.

Problem solved after using a Linux-based terminal. It seems Putty added another character before the ‘ctrl-z’ character when I press Ctrl-Z, causing the modem to return error.

Ok, got it. Thanks for your updating. Thanks!

hello dear, I have the same problem may I know which terminal did you use ?

Hi,
I’m using ‘minicom’ in Linux to get this working.

Your Ctrl-Z character needs to be on the same line as the PDU. There must be no new-line character between them.

Alternately, you can use ‘TeraTerm’