473,404 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Bluetooth and COM port emulation

Hello. I have a .net application that utilizes COM ports to
communicate with serial devices (namely a GPS).

This may not be the right group for this question, but bear with me as
I am not sure where else to ask. (I would appreciate any NG
pointers).

Anyway, my application uses CreateFile and ReadFile to setup a COM
port for the GPS, and then to read the data from the GPS.

I recently changed from an RS-232 based GPS to a bluetooth wireless
GPS. Using the bluetooth driver software on my tablet PC, I am able
to emulate a COM port and have the BT GPS appear as COM8 on my
machine.

This works fine, however it is cumbersome to setup the emulated COM
port and I wish my application could do it for the user (which is me).
For those not familiar with the BT COM port emulation process, each
time the PC boots and you want to use the COM port - you have to do
the following:

#1 View BT devices in range
#2 Select a device
#3 Pair the device (using a unique PIN assigned to that device)

This process requires me to scale several menus, and input data from a
stylus. It is cumbersome at best, and dangerous at worst (I am using
this software in an airplane, and should be spending time flying the
plane - not fumbing through menus on my tablet PC).

So getting to my question: Does anyone know how to use the .net
environment or win32 or whatever platform to view, select, and pair a
BT device. And then to configure it as a emulated COM port?

I have done a number of google searches on the subject, but cannot
find any code examples.

Thanks!
-Nathan

Nov 17 '05 #1
1 2028
"Nathan Young" <na****@needlescentered.com> wrote in message
news:8q********************************@4ax.com...
Hello. I have a .net application that utilizes COM ports to
communicate with serial devices (namely a GPS).

This may not be the right group for this question, but bear with me as
I am not sure where else to ask. (I would appreciate any NG
pointers).
...
This process requires me to scale several menus, and input data from a
stylus. It is cumbersome at best, and dangerous at worst (I am using
this software in an airplane, and should be spending time flying the
plane - not fumbing through menus on my tablet PC).

So getting to my question: Does anyone know how to use the .net
environment or win32 or whatever platform to view, select, and pair a
BT device. And then to configure it as a emulated COM port?


You may want to post again in the kernel group

microsoft.public.win32.programmer.kernel

If Win32 provides a way to map blue tooth devices to COM ports, somebody
there ought to know.

On the other hand, if the mapping is handled privately bu the GPS device's
driver you may be out of luck.

Regards,
Will
Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Alvin Lau | last post by:
Can I write pocket PC bluetooth program by using C# ? It seems so difficult to find the library? If it is possible , where can i find the reference of these kind of program ? *** Sent via...
1
by: henrycortezwu | last post by:
Hi All, I'm trying to connect to a virtual port (COM19, OUTGOING, "Bluetooth Serial Port") using VS2005 System.IO.Ports. When I ran the ff code below here's what happens. 1) VS2005 Compiles w/o...
4
by: Boki | last post by:
Hi All, I am going to use some Bluetotoh API, should I include some special DLL or just call it directly? Best regards, Boki.
2
by: colin | last post by:
Hi, Im having a tiresome amount of trouble with using a bluetooth serial link. The receiving end is a bluetooth-rs232 module conected to my embeded system. The PC has a little usb bluetooth...
2
by: Paul Sijben | last post by:
To automate/ease configuration in my app I am trying to find out to which serial port a certain bluetooth device is connected. With pybluez I can find out which bluetooth devices I have, but it...
6
by: jabslim | last post by:
excuse me, im a newbie programmer and i need a code on how to to be able to send files from a mobile phone to a pc through bluetooth in vb.net can anyone post a code here on how to detect a...
1
by: Z.K. | last post by:
I know this is probably not the correct newsgroup, but I can't find anywhere else that is appropriate to post it in. I need to figure out how to write a bluetooth program to access a bluetooth...
2
by: Dave Harry | last post by:
I'm using the following code to determine the available serial ports: ComboBoxPort.Items.Clear() For Each sp As String In My.Computer.Ports.SerialPortNames ComboBoxPort.Items.Add(sp) Next It...
0
by: lakshmiRam | last post by:
hi i have a code which was supposed to read data from serial com (bluetooth) and save in a file. but when i send a audio file from my mobile to pc the program will not read the port i have ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.