Re: CF2.0 WM5 Comms help required please



Chris

Sorry for any confusion - I'll try to explain it better!

I have a data capture application which has been written in VB6 to use a
"normal" modem connected to the serial port to dial out and connect to a
remote data logger. No problems there - been working fine for 3 years now...

During the development of this application I also connected a GSM modem to
my PC via cable and a GSM telephone with data capabilities via both
Bluetooth and ir. The latter two methods used a virtual serial port rather
than a physical one, but as all three could be addressed via a com port
number they all still operated in the same way and each simply replaced the
phone line with the cellular connection. Still with me?

In all these situations the *same* application would set the serial port as
required, open the port and dial the logger. When connected it would send
the trigger command and then capture the data sent by the data logger.

What I *now* want to do is develop the app further my using VB.Net 2005 to
create an app for the WM5 OS. This could be either a "Normal" PDA device, or
a device such as mine which is a phone/pda combined, but it still operates
WM5

Using the separate PDA, I am working on the assumption that the user will
pair up their mobile, and create a virtual serial port in much the same way
that I had previously. No problem there as I can quite easily use this port
number as I have before.

Using my "phone" is where I see the problem, in that (in laymen's terms) the
PDA part of the device is already "paired" to the phone part, and I want to
be able to access this actual/virtual "serial port" in order to make the app
dial out through the phone

Hope that makes sense now.

I would like to know about RAS please. Can you elucidate?

Tym

"<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote in message
news:ek8iORTHHHA.3616@xxxxxxxxxxxxxxxxxxxxxxx
You keep confusing me - I think you need to stick to one technology at a
time. Do you want to connect with Bluetooth or with GSM? They work in
completely different ways, so the code to do one (RAS for GSM) will be
completely different from the other (serial cooms for BT).

One app can certainly support both.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--




"Tym Huckin" <no_spam@xxxxxxxxx> wrote in message
news:457d6020$0$8731$ed2619ec@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Chris,

Thanks for that- I think I need to explore RAS to understand what you are
saying.

If I pair my laptop up to my old mobile via BlueTooth and have a virtual
serial port, I can access this port on the laptop to dial out through the
modem in the mobile

If I was using a PDA which connected via BT to a mobile via a virtual
serial port, I would expect to be able to do the same thing.

What I would like to be able to do is have one app which would work with
either a PDA and separate phone as described, or a combined device, such
as the SPV M5000 to achieve the same result. On the M5000, inder
programs>accessories I have the wireless modem setting, which enables me
to connect to it via BT or IR from a laptop and use the modem wirelesly.
I would hope (always a dangerous move!) that I could access the same
modem *internally* and operate it in the same way.

Are you saying this is not going to be possible? Will I need separate
apps?

Tym

"<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote in message
news:eCgFahSHHHA.1280@xxxxxxxxxxxxxxxxxxxxxxx
I'm confused how the BT stuff has bearing on this - if you want to
connect to a paired BT device, then yet, you use serial - but that has
nothing to do with modems or dialing.

If you want to dial with internal hardware, regardless of the modem
type, then you must use RAS, not a serial interface.


--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--


"Tym Huckin" <no_spam@xxxxxxxxx> wrote in message
news:457d1073$0$8720$ed2619ec@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Chris, thanks for your post.

Yes - 1,2 & 3 are correct.

However, the device does contain a "modem", which is available for
external connection via bt/ir to such as laptop or other PC. What I
anticipate being able to do it access this internally and achieve the
same results.

The previous GSM modem worked, as did previous attemtps to use a GSM
handset and accessing the serial port via BT to connect a laptop to the
said datalogger.

What I would like to is to be able to do is have this as a self
contained app in my device, instead of having to use a laptop to access
the serial port externally.

Being completely new to vb.net I know I'm probably cloud chasing, but
this is how I would like it to be able to work.

My device can make normal data calls, internally, (I speak of net
access, when if GPRS is not available, it makes a "WAP" dial and
connects to a modem at the other end) so I don't understand why I can't
write an app to do the self same thing....

Thanks for everyone's input on this

Tym


"<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote in message
news:uHs$y3LHHHA.420@xxxxxxxxxxxxxxxxxxxxxxx
Let's see if we understand. What I get from your post is that

1. In the past you used an external GSM modem in the past that was
external and emulated a telephony model, plikely with an internal
microcontroller.

2. Now you are not using that modem, but trying to use an internal GSM
modem of a new device to dial out.

3. The data logger is remote and has a modem that will answer a call.

If these are all true, then the case is still true that you cannot
just open the built-in GSM modem as a serial port and pass it AT
commands - it just doesn't work that way. You probably want the RAS
APIs to get it to call out, then you likely want to emulate something
like a VT100.










.


Loading