Can not send a SMS
Posted on 2003-11-24
I have written an application which communicate with a GSM modem. I have problems to send 'CTRL+Z' to finish the sms text.
When I use the GSM-Modem testsoftware it works fine. I mean I can send a sms. My software works fine when I am using a Edit field to input the text and copy the text from the testsoftware to the Edit field. But it does not work when I input the data in the programme to send the text including 'CTRL+Z' to the modem.
'CTRL+Z' is a Windows keyboard shortcut for undo and this is exactly what my programme is doing. For example it copies some text to it but do not send the 'CTRL+Z'.
I tried quite a lot to solve the problem. I have sent the hex code such as (1A='CRTL+Z')
It does not work.
When I use the testsoftware it sends a sms with the following text: '> Test-SMS '. '' seems to be 'CTRL+Z'. I have written my programme with the Borland C++ Builder 6 and it does not compile '' with the error message 'Unterminated string or character constant
Is there anybody who had similar problems and can help me?