Modem responding with only 'OK' on AT+CMGS command?
Hi,
I have made an windows form application in C#. I am trying to send sms using my wireless modem. I executes AT+CMGS command, then it gives me '>' to enter PDU code. But after entering PDU code and giving <CTRL-Z>, my modem replies with 'OK' only. It should responed with CMGS+ something then OK......and it is also not sending my sms. What should I do?
By the way I am using\u000D\u000A\u001A\n for CTRL-Z....
Moved byeryangMSFT22 hours 52 minutes agoit is not bcl issue. (From:.NET Base Class Library)
Saad Khan
Well for a starter I don't think you can send CTRL-Z with the \u000D and \u000A in front of it when in PDU mode. It might not like that being in the data stream. I'd definitely try removing that first and have a pure CTRL-Z termination.