BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 11-29-2007, 03:41 PM   #1 (permalink)
New Member
Join Date: Nov 2007
Model: Pearl
Carrier: ATT
Posts: 8
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Bluetooth sample app requires reboot after pairing or getSerialPortInfo call fails

Please Login to Remove!

I have been running the RIM provided Bluetooth Sample application to communicate with a serial port dongle. My problem is that after I first pair the device to get the application to work I have to first power down my cell phone and remove the battery. If I do this, then the device list that I can connect to includes to Bluetooth serial port dongle to which I desire to connect. (In the RIM provided sample app this list is returned from the Java call _portInfo = BluetoothSerialPort.getSerialPortInfo();)

Here's the exact experiment I did:
1. Bluetooth Sample is working. I am able to type data on my Blackberry and have it come out on in Hyperterminal on the PC and vice versa.

2. Close the application. (Really closing it, by using the menu option and selecting close, not just leaving it run in the background.)

3. Go to options->Bluetooth on my phone and delete the device.

4. Add the device under options->Bluetooth. After a search the serial port dongle that I want communicate with comes up. I pair with it. It as me the numeric code and I give it. At this point the blue light on the phone flashes and the item appears bold in the list of devices (which I think means paired and connected). I believe a moment later the blue light goes away and it is not connected. (At some point it definitely is not flashing the blue, I'm just not sure when.)

5. I return to my BluetoothSample and start it up. Under the list of items that you can connect to the Bluetooth serial port dongle no longer appears. (As I noted earlier this list is returned in the provided sample by the Java call BluetoothSerialPort.getSerialPortInfo()). This is the failure. Eventhough I believe I am paired with this serial port Dongle, it does not show up in the list and I can't use the application.

6. If I power down my phone, disconnect the battery (which is necessary, powering down is not enough), and I start back up and go to my BluetoothSample app, now the dongle appears in the list of items I can connect to and I can get the application to work.
Closed Thread

Thread Tools

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

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

LOT OF 7 PCS DDR3 10600S HYNIX HMT351S6BFRC-H9 N0 4GB  LAPTOP MEMORY pictureSymbol CS1504-I100-0002 Consumer Memory Keychain Barcode Scanner
Symbol CS1504-I100-0002 Consumer Memory Keychain Barcode Scanner pictureOmron HMC-AP001 Memory Card Adapter NEW
Omron HMC-AP001 Memory Card Adapter  NEW pictureOmron HMC-EF183 Memory Card 128MB NEW
Omron HMC-EF183 Memory Card 128MB  NEW pictureIndramat FWC-DSM2.1-C11-03VRS Memory Module USED
Indramat FWC-DSM2.1-C11-03VRS Memory Module  USED picture

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.