Discussion:
On Mobile, how to know which com port is GSM?
(too old to reply)
flyfrogs
2010-03-12 12:33:25 UTC
Permalink
Hi guys,
I want to send AT-commands via COM port,
so I use CreateFile to open the COM port,
but how to know which com port is GSM?

thank you for any help.

flyfrogs
***@yahoo.com.cn

url:http://www.ureader.com/gp/1485-1.aspx
Paul G. Tobey [eMVP]
2010-03-12 18:06:02 UTC
Permalink
Please read this page and make sure to provide enough information for us to
help you:

http://guruce.com/blogpost/howtoaskquestionsonnewsgroups

This is a Windows CE newsgroup, not Windows Mobile. If you are building
your own device or targeting an embedded, not Windows Mobile, device, then it
seems to me that you should figure out the port number because you set up the
operating system yourself or because you read it in the manual for your
device. If the questions is Windows Mobile, then there is not necessarily a
GSM modem "serial port".

Paul T.
Post by flyfrogs
Hi guys,
I want to send AT-commands via COM port,
so I use CreateFile to open the COM port,
but how to know which com port is GSM?
thank you for any help.
flyfrogs
url:http://www.ureader.com/gp/1485-1.aspx
.
flyfrogs
2010-03-13 13:06:21 UTC
Permalink
Thank you, Paul.

BTW, Where can I post my Mobile question?

url:http://www.ureader.com/msg/14851003.aspx
Anonymous
2010-03-17 19:12:20 UTC
Permalink
You can get the settings on the registry. However, it may not that simple
cause the port may be used by other program (so you cannot use them), or
need additional step to enable them, like power it on/off. And it is vendor
specific. For eg, once I used a windowce with build-in GSM (Intermec/Norand
600), however, first need to enable it power-supply, wait till it ready and
only then open it port.

Anyway, try to browse the registry value using registry enum API and see got
any luck.

(I did use this method to enum and discovered the virtual IrDA and bluetooh
port and use them to send SMS and printing respectively few year ago using
few vendor device, include HP, Dolphin and Casio.).

Rgds
anonymous

5425
Post by flyfrogs
Hi guys,
I want to send AT-commands via COM port,
so I use CreateFile to open the COM port,
but how to know which com port is GSM?
thank you for any help.
flyfrogs
url:http://www.ureader.com/gp/1485-1.aspx
Continue reading on narkive:
Loading...