I'm programming with gsm modem...
and when I do the code:
Delphi-Quellcode:
xmodem1.SendCommand('AT+CMGS=50');
xmodem1.WaitForAT(0);
the program stop because the comand AT+CMGS wait for a user input...
using a code like this:
Delphi-Quellcode:
xmodem1.SendCommand('AT+CMGS=50');
xmodem1.WaitForAT(50);
xmodem1.SendString(FpduString + char(26));
the program dont stop but I cant get the "onHayesAT" event and cant get important information like at.command, at.Result, at.Data and at.ME
So, how i make to send a sms in pdu mode and get the information returnet by modem (onHayesAT) ?