General discussion

Locked

MsComm (VB) and GSM modem problems

By tym-techrepublic ·
I have an application using MSComm in VB6. This application is used to connect to a remote unit to download data from its datalogger. Once connected, I send a command to it to trigger the sending of the data. OK? With me so far? thought so....

Well... using a "normal" modem, I get ComEents 1 and 2 occuring quite normally. However, when using my Nokia 6310i modem, it triggers other events... this is causing a problem.

The Remote unit requires 2400,7,e,1 (re-arrange if necessary!) and Handshake = 2 port settings

Using the Nokia modem I get a CommEvent 4 as soon as the Remote Unit Answers then CommEvent 3 when the connection is made "CONNECT 2400"

Then when I send my command - nothing happens...

Why?

How can I correct this please - its driving me bats!!!

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

More Info:

by tym-techrepublic In reply to MsComm (VB) and GSM modem ...

FURTHER INFO:

After testing a number of events I can elaborate futher thus...

Once the remote unit answers the call, CTS and DSR are set to true.

However, when the handshake is complete. the CTS is then set to FALSE

What does this mean? Do I have to wait for it to return to TRUE before I can send my command? Is there a way to force it to TRUE?

Back to Desktop Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums