BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-29-2007, 04:41 PM   #1 (permalink)
New Member
 
Join Date: Nov 2007
Model: Pearl
PIN: N/A
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.
Offline  
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

Cisco 7941G VoIP Phone CP7941G
$29.98
Cisco 7941G VoIP Phone CP7941G picture5 LOT POLYCOM OFFICE BUSINESS PHONES TELEPHONES IP 601 SIP VOIP ETHERNET
$89.99
5 LOT POLYCOM OFFICE BUSINESS PHONES TELEPHONES IP 601 SIP VOIP ETHERNET pictureCisco IP Conference Station CP-7936 VoIP Phone 2201-06652-002 W/07155-003 PH209
$44.99
Cisco IP Conference Station CP-7936 VoIP Phone 2201-06652-002 W/07155-003  PH209 picture5 x POLYCOM SoundPoint IP 335 VOIP Phone 2201-12375-001 Nice LOT OF 5
$150.0
5 x POLYCOM SoundPoint IP 335 VOIP Phone 2201-12375-001  Nice LOT OF 5 pictureCisco IP Conference Station CP-7936 VoIP Office Phone 2201-06652-002 / PH208
$34.99
Cisco IP Conference Station CP-7936 VoIP Office Phone 2201-06652-002 / PH208 picture






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