Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Xmodem + sendCommand(AT+CMGS=.... Input of user trouble (https://www.delphipraxis.net/85660-xmodem-sendcommand-cmgs%3D-input-user-trouble.html)

mr_fahrrad 2. Feb 2007 20:18


Xmodem + sendCommand(AT+CMGS=.... Input of user trouble
 
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) ?


Alle Zeitangaben in WEZ +1. Es ist jetzt 07:53 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz