.NET Framework Bookmark and Share   
 index > .NET Base Class Library > Modem responding with only 'OK' on AT+CMGS command?
 

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.
SamCPP

You can use google to search for other answers

Custom Search

More Threads

• ArrayList.Add problem - values and references
• whats meant by (namespace)??? help me
• Custom Date Format Validation
• RSA Signatures
• Zipping support in .net class library
• read TIFF tags
• Read Uncode string form MSSQL to dataView
• WMI Class?
• Run console WinRAR program by C# ? Please help !
• Generics List.FindAll