Einzelnen Beitrag anzeigen

mr_fahrrad

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

Re: (Xmodem ) "Modem command state not present" pr

  Alt 2. Feb 2007, 18:11
A change de FlowControl property from fcNone to fcDtrDsr and the problem has fixed...

BUT now I cant get the response of command. I send a command and the state is forever msATSent ... forever waiting a response for modem

code:
Delphi-Quellcode:

   xModem1.OpenDevice;
   xModem1.EntercommandState;
   xmodem1.SendCommand('ATDT1234');
   showMessage('before start wait');
   at:=xmodem1.WaitForAT(0);
   showMessage('after wait'); //NEVER execute code at this point. apear that never get a response for modem
   xmodem1.exitcommandstate;
   xmodem1.closedevice;

anybody have an idea?
  Mit Zitat antworten Zitat