cord_
Posts: 6
Joined: Tue Oct 11, 2005 5:36 pm
Location: Germany

Pairing and virtual COM ports

Tue Oct 11, 2005 5:52 pm

We want to autodetect and connect a Bluetooth GPS receiver from within a PocketPC application. The "FindAndConnect" sample application works fine with SDP on a Qtek 2020. Will the other functionality of the Bluetooth-Manager (Pairing, including exchange of PIN-numbers and determinig the virtual COM-port numbers) also be included in the SDK?

Cord Fahrenhorst
Hannover, Germany

User avatar
johan
GpsGate
Posts: 15145
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Pairing and virtual COM ports

Tue Oct 11, 2005 6:02 pm

Pairing must be made manually using the BT manager in BlueTools 1.00. But pairing is seldom necessary to connect and use a GPS device.

About COM-port number. When your application act as a BT serial client (using BlueTools) it is up to you what you want to do with the data coming in and out. You could for example create a virtual port yourself using SerialTools Pro. But there is no COM-port automatically "assigned".

Note that you act on a BlueTooth service level. One way of making a BT serial port service available to legacy applications is through a virtual port. But if your application is the only user of the GPS data, you should simply don't care about any COM ports, you simply read and write data directly to the GPS using BlueTools.

Regards,
Johan

Franson Support

User avatar
johan
GpsGate
Posts: 15145
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Pairing and virtual COM ports

Tue Oct 11, 2005 6:06 pm

Case without virtual COM port

Code: Select all

<font face="Courier New">     GPS               Pocket PC
BT Serial Server  <->  BT Serial Client  <-> Application</font id="Courier New">
Case with virtual COM port

Code: Select all

<font face="Courier New">     GPS               Pocket PC
BT Serial Server  <->  BT Serial Client  <-> Virtual Port <-> Application</font id="Courier New">

Regards,
Johan

Franson Support

Return to “BlueTools”