Hi allI don't know if this list is still active but I am in urgent need of help 
with unit synaser. I am trying to develop an application that exchanges AT 
commands with an external GSM modem through a COM port. So far I have been 
using the demo application that came with the SYNASER.ZIP file to test the 
operation of the code. The problem I am facing is that the AT commands I send 
down the COM port do not seem to reach the modem. I know my COM port config is 
correct (baud=>19200, data bits=8,parity =N, stopbits=0(i.e. 1 bit),flow 
control=None). I also know that the modem functions properly because it works 
perfectly with other ready-made software in the above config. Also, when using 
Synaser I have noticed the following: a) the code works great with my built-in, 
standard dial-up modem but NOT with the external GSM one, b) the code appears 
to connect correctly to the port where the GSM modem is connected because when 
I run TBlockSerial.Connect & TBlockSerial.Config I can then check from other 
applications that the particular COM port is in use, c) if I then try to send 
an AT command (e.g. AT or ATI) it times out and returns error 9997 ErrTimeout 
"Timeout during operation". d) If I dig in a bit deeper into 
procedureTBlockSerial.ATcommand which is the one that times out, I find that 
Function Sendstring(value + #$0d) in line 1945 does not execute properly (I can 
check so on the modem using other software). I suspect that the command does 
not reach the modem at all and as result the modem does not send back a 
response, which is why the code times out shortly afterwards. Presumably if the 
the command DID reach the modem but was, say, in the wrong format, the modem 
would return ERROR and the code wouldn't time out. Now Sendstring simply calls 
SendBuffer, so I tend to think that there is something wrong with SendBuffer 
but I am not familiar with the code in that function to start fiddling.Please 
helpthanks
_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
-------------------------------------------------------------------------
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

Reply via email to