![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi,
I have developed an application which uses the serial port oon a pda via appropriate cable. However, the client now wants to use bluetooth with a different make of pda (as yet unknown). My question is what do I need to do to use bluetooth instaed of a cable as I have never used bluetooth before. I was told that I need SPP (Serial Port Profile) software installed. What is this and where do I get it. Thanks again for any help. Regards Paul ![]()
__________________
Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 2Gb SD + 2Gb CF |
|
||||
|
This post: Reading com ports information from the registry
includes code that lists the available ports and their description. |
|
||||
|
You should first pair your mobile device with the "unknown device". And then make an "outgoing serial port" if your "unknown device" supports such a service. Until then no virtual serial port exists.
I've tested this approach with various bluetooth GPS receivers, bluetooth printers and mobile phones with bluetooth capability with success. |
|
|||
|
Help,
I can't figure out how to set up seperate inbound and outbound comm ports for use with bluetooth. Could someone show me an example, please?. Thanks, Paul
__________________
Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 2Gb SD + 2Gb CF |
|
||||
|
Quote:
Examine the Bluetooth setup parameters - for me this goes Start -> Settings -> Connections -> Bluetooth -> Services -> Serial Port Make sure the service is enabled then -> Advanced The inbound and outbound Com port numbers are displayed and can be changed if required. I note the Outbound Com port number (in this case Com7 is the default). I confess to not having researched the reason for having an inbound and an outbound port but I know, by experiment, that my GPS uses an outbound port. Start the GPS application, in my case either Anquet Maps or Pocket Streets. In their GPS setup menu make sure the Com port number is the outbound number noted above. Pocket Streets allows you to select only a Com port number, Anquet gives you a baud rate selection option as well and I leave that at the default of 4800. Turn on the Bluetooth device and then in the application turn on GPS tracking. Depending upon the device Bluetooth stack settings a selection screen showing the GPS device may or may not appear - if it doesn't the connection is made automatically, if it does then I select the device and it all works. The applications don't care if the Com port is real or a Bluetooth one. For example on my laptop using Autoroute or Anquet Maps I can connect to either a real serial port GPS and a Bluetooth GPS just by selecting the correct Com port. I have a GPS test program and that doesn't care either (although another GPS test program that I had DID care - don't know why, trying to access the (non-existent) hardware I guess). I seem to remember also connecting in Hyperterminal with the the Com port number noted above to see the data stream coming from the GPS and that worked fine too. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Serial port handling | mjcoon | Questions & Help Needed | 5 | 06-26-2008 11:48 AM |
| Send data to serial port for other application | schimanski | Questions & Help Needed | 6 | 04-08-2008 06:45 PM |
| Serial Port won't open | djmrozinski | Questions & Help Needed | 6 | 03-16-2008 05:25 PM |
| Use Basic4ppc to send serial data from a PDA to a BlueSMiRF Bluetooth module. | pdablue | Share Your Creations | 3 | 11-19-2007 10:58 PM |
| GPS and Virtual Serial Port | alfcen | Questions & Help Needed | 2 | 10-05-2007 02:56 PM |