AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Sonstige Fragen zu Delphi Delphi (Xmodem ) "Modem command state not present" problem
Thema durchsuchen
Ansicht
Themen-Optionen

(Xmodem ) "Modem command state not present" problem

Ein Thema von mr_fahrrad · begonnen am 2. Feb 2007 · letzter Beitrag vom 2. Feb 2007
Antwort Antwort
mr_fahrrad

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

(Xmodem ) "Modem command state not present" proble

  Alt 2. Feb 2007, 14:12
Delphi-Quellcode:
xModem1.OpenDevice;
xModem1.EntercommandState;
I got the error: "Modem command state not present"

how I fix this?

I'm using a gsm modem
  Mit Zitat antworten Zitat
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
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:14 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