PC Review


Reply
Thread Tools Rate Thread

PDA connecting to device via serial port

 
 
Lonifasiko
Guest
Posts: n/a
 
      4th Oct 2005
I'm bound to buy a glucometer that can communicate with my iPAQ h5550
via Bluetooth and serial port. I think I need an adapter because my PDA
does not have any serial port. What exact adapter or cable do I need?
Is not enough with the PDA-PC synchronization cradle and cable? This
mechanism does also have a USB or serial connector, so I think this
serial connector could be used to coonect the future glucometer, is
this correct?

Then I wanted to ask you for serial port communication example, that
is, how to very basically read data from serial port. I would also like
to be able to read data from a bluetooth source.
I've read something in OpenNETCF, but also have heard that CF 2.0 comes
with managed classes to read data from different interfaces? Does it
worth start programming or better to wait for CF 2.0 release?

Thanks in advance.

 
Reply With Quote
 
 
 
 
Ginny Caughey [MVP]
Guest
Posts: n/a
 
      4th Oct 2005
Since we are so close to the November 7 release date for VS 2005, I'd be
tempted to wait or begin work with one of the betas, but the OpenNETCF
serial class and Dick Grier's CFSerial class are both well tested and
available in source code if you want to get going right away (and they
should still work with CF2.)

Something like this might work for you:
http://www.expansys-usa.com/product....-9M_USB-SERIAL but I haven't
tried it.

--
Ginny Caughey
..NET Compact Framework MVP


"Lonifasiko" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm bound to buy a glucometer that can communicate with my iPAQ h5550
> via Bluetooth and serial port. I think I need an adapter because my PDA
> does not have any serial port. What exact adapter or cable do I need?
> Is not enough with the PDA-PC synchronization cradle and cable? This
> mechanism does also have a USB or serial connector, so I think this
> serial connector could be used to coonect the future glucometer, is
> this correct?
>
> Then I wanted to ask you for serial port communication example, that
> is, how to very basically read data from serial port. I would also like
> to be able to read data from a bluetooth source.
> I've read something in OpenNETCF, but also have heard that CF 2.0 comes
> with managed classes to read data from different interfaces? Does it
> worth start programming or better to wait for CF 2.0 release?
>
> Thanks in advance.
>



 
Reply With Quote
 
Dick Grier
Guest
Posts: n/a
 
      4th Oct 2005
Hi,

What Ginny said, plus:

Does your glucometer have a Bluetooth port? Or, do you want to use a BT
adapter with it (Socket Communications and others have these for about
$150)?

If your glucometer has a built-in serial port, and if you can purchase a
serial ActiveSync cable for your PPC (or a "Y" serial/USB combo cable) then
all that you would need to connect this internal port to your glucometer are
two things, a cable for the glucometer itself (these usually have
non-standard connectors) AND a null modem adapter. The null modem adapter
is required because the ActiveSync serial cable is designed to connect to a
PC, not to another device, so you need the adapter to cross over the Tx and
Rx lines (and, perhaps the hardware handshaking lines), so that in and out
match up.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.


 
Reply With Quote
 
Lonifasiko
Guest
Posts: n/a
 
      6th Oct 2005
Thanks both for your replies.
Appart from hardware issues, I would also need a good link where I
could start with little examples related to reading data sent by a
bluettoth device, that is: discovery the device, establish a
communication and read data sent by the device.

I've seen Windows Mobile 5.0 SDK has multiple Bluetooth examples, but I
suppose they only will work on Windows Mobile 5.0 devices, which is not
my case! That is, examples use WM 5.0 routines, not CF 2.0 I
understand.

What a pain! I must target Windows Mobile 2003, WM2003 SE and Windows
Mobile 5.0 devices. I've read something about need to do P/Invoking for
using Bluetooth, but programming at such a low level scares me a little
bit.

Any good link or code snippet would be greatly appreciated. Thanks very
much.

 
Reply With Quote
 
Ginny Caughey [MVP]
Guest
Posts: n/a
 
      6th Oct 2005
Lonifasiko,

Peter Foot has done a lot of work with Bluetooth. You can find his products
at www.inthehand.com.

--
Ginny Caughey
..NET Compact Framework MVP


"Lonifasiko" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks both for your replies.
> Appart from hardware issues, I would also need a good link where I
> could start with little examples related to reading data sent by a
> bluettoth device, that is: discovery the device, establish a
> communication and read data sent by the device.
>
> I've seen Windows Mobile 5.0 SDK has multiple Bluetooth examples, but I
> suppose they only will work on Windows Mobile 5.0 devices, which is not
> my case! That is, examples use WM 5.0 routines, not CF 2.0 I
> understand.
>
> What a pain! I must target Windows Mobile 2003, WM2003 SE and Windows
> Mobile 5.0 devices. I've read something about need to do P/Invoking for
> using Bluetooth, but programming at such a low level scares me a little
> bit.
>
> Any good link or code snippet would be greatly appreciated. Thanks very
> much.
>



 
Reply With Quote
 
Lonifasiko
Guest
Posts: n/a
 
      6th Oct 2005
Hi again Ginny,

Yes, after a little research I finally landed at http://32feet.net/

I have a very basic problem because after downloading Peter's
librarties and trying a Bluetooth example, the first message was that
my iPAQ h5550 used an unsupported Bluetooth software stack! What a
dissapointment! I've read Peter uses Microsoft's Bluetooth stack and
that this is becoming almost in a standard.

In spite that in the future I'm going to buy another PDA supporting
this technology, nowadays I must develop for my "old" iPAQ, and I don't
find any documentation or examples around this issue. What kind of
Bluetooth Stack is using my iPAQ then? I need Peter's examples for my
iPAQ, but I would need something more global that would support both MS
and non MS Bluetooth Stack. Perhaps this global and opened approach
can't be achieved but would be the best solution for me ;-)

I've also tried infrarred communication between my iPAQ and my Nokia
6100 cell phone. File transfer seems to work but I cannot see the
transferred file in my phone. I've posted in Peter's forum. I hope he
replies me soon.

Although I'm having many problems due to my "special" iPAQ, Peter's
work with these libraries is awesome, wonderful!

Regards Ginny.

 
Reply With Quote
 
Ginny Caughey [MVP]
Guest
Posts: n/a
 
      6th Oct 2005
Lonifasiko,

Peter is definitely the Bluetooth expert around here.

--
Ginny Caughey
..NET Compact Framework MVP


"Lonifasiko" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi again Ginny,
>
> Yes, after a little research I finally landed at http://32feet.net/
>
> I have a very basic problem because after downloading Peter's
> librarties and trying a Bluetooth example, the first message was that
> my iPAQ h5550 used an unsupported Bluetooth software stack! What a
> dissapointment! I've read Peter uses Microsoft's Bluetooth stack and
> that this is becoming almost in a standard.
>
> In spite that in the future I'm going to buy another PDA supporting
> this technology, nowadays I must develop for my "old" iPAQ, and I don't
> find any documentation or examples around this issue. What kind of
> Bluetooth Stack is using my iPAQ then? I need Peter's examples for my
> iPAQ, but I would need something more global that would support both MS
> and non MS Bluetooth Stack. Perhaps this global and opened approach
> can't be achieved but would be the best solution for me ;-)
>
> I've also tried infrarred communication between my iPAQ and my Nokia
> 6100 cell phone. File transfer seems to work but I cannot see the
> transferred file in my phone. I've posted in Peter's forum. I hope he
> replies me soon.
>
> Although I'm having many problems due to my "special" iPAQ, Peter's
> work with these libraries is awesome, wonderful!
>
> Regards Ginny.
>



 
Reply With Quote
 
Lonifasiko
Guest
Posts: n/a
 
      6th Oct 2005
Thanks for all your help. I'll ask him then.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem connecting to Com1 serial port alice Windows XP General 4 9th May 2009 09:21 PM
Connecting to ADSL modem via Serial Port =?Utf-8?B?U3RlcGhlbl9k?= Windows XP General 0 14th Nov 2004 08:41 PM
connecting using serial port - connected but no data Neal Sheppard Windows XP Networking 0 29th Nov 2003 12:38 PM
Connecting a USB printer to an old laptop via the serial port Tom Printers 5 19th Oct 2003 04:09 AM
connecting to a serial port on a networked pc eddie Windows XP Customization 1 12th Sep 2003 12:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:25 AM.