Dne Mon, 02 Apr 2007 09:53:16 +0200 Petros Tavridis <[EMAIL PROTECTED]> napsal/-a:
> Presumably if the the command DID reach the modem but was,say, in the > wrong format, the modem would return ERRORand the code wouldn't time > out. This is not an exact presumption: - Modem has to be Hayes compatible device (not all GSM modems are) - Hayes compatible device needs to be synchronized using AT prefix first - Modem has to recognize end of command (CR) - To respond with ERROR, it has to be set in VERBOSE mode (command V1), otherwise it responds by single digit --- Anyway, did you try to communicate with your modem via terminal manually (switching echo ON by E1 command)? If not, it should be your first step before you start programming, because of some modems use voltage on handshake output signals to supply V.28 drivers built in the cable hence you have to preset them to correct levels. HTH, pf ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
