For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > January 2005 > SmartPhone and serial port connection









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SmartPhone and serial port connection
SSI

2005-01-23, 4:03 pm


Hello. I have a custom-made device that outputs data over the serial
port. I would like to hook this up to a motorola Mpx220. Has anyone
done something like this successfully?

One approach would be to use a direct connection if the skn6311b
connector actually has serial port pins. I can't find a pinout for this
connector, however. Anyone know where to look?

An alternative (and actually preferred) approach would be took up a
serial-to-bluetooth device to our data generator and use bluetooth to
read the data on the phone. Is this possible using a device such as the
Socket bluetooth Serial Adaptor
(http://www.socketcom.com/product/CS0400-479.asp) or the BL-521 (
http://www.brainboxes.com/products/...t.asp?id=BL-521)?
Will the phone connect with these devices and allow standard serial
port code to read a com port? I see that people have gotten Bluetooth
GPS units to work with other phones, which is a good sign, but there is
less info out there on making them work with the Mpx line.
Thanks for any pointers.

Dick Grier

2005-01-23, 4:03 pm

Hi,
[color=darkred]
Will the phone connect with these devices and allow standard serial
port code to read a com port? I see that people have gotten Bluetooth
GPS units to work with other phones, which is a good sign, but there is
less info out there on making them work with the Mpx line.
<<

Perhaps. You are dependent on the implementation of the bluetooth driver.
I cannot say, since I don't have your phone. I'd be interested in what you
find out. You can use either the CFSerialIO dll from my homepage, or the
Serial class from www.opennetcf.org to see if it will work.

Good luck.

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.


SSI

2005-01-23, 4:04 pm


Does anyone with an mpx220 have an example .net project/code for
reading serial data off com6 from a device such as a bluetooth GPS?

Although I have followed the registry hack
(http://www.smartphonethoughts.com/f...der=asc&start=0)
and I am using the exact same code and bluetooth transmitter device
that I have working with a PocketPC, I can't get the smartphone to
actually receive any data once it opens the port. The device is
connected, the registry values are correct, etc. I'm hoping someone has
a simple example that does work I can work from.

SSI

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com