Einzelnen Beitrag anzeigen

mr_fahrrad

Registriert seit: 28. Dez 2006
46 Beiträge
 
#1

Xmodem + sendCommand(AT+CMGS=.... Input of user trouble

  Alt 2. Feb 2007, 20:18
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) ?
  Mit Zitat antworten Zitat