BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-24-2010, 09:00 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Oct 2008
Model: 9000
PIN: N/A
Carrier: rogers
Posts: 26
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to determine error Bluetooth deviceDisconnected

Please Login to Remove!

I am using the Blackberry bluetooth api
and am getting a deviceDisconnected.
Is there any way of determining what the error might be.

I am using an 8830 and also a 9700 (no difference in output)

how can I figure out , i wish there was an error message.

My service id is printing out at this
btspp://00054FADF187:3
In my listener the deviceDisconnected() is firing and disables the connection.


_listener = new BtListener() ;
_port = new BluetoothSerialPort(_info[index],
BluetoothSerialPort.BAUD_115200,
BluetoothSerialPort.DATA_FORMAT_PARITY_NONE |
BluetoothSerialPort.DATA_FORMAT_STOP_BITS_1 |
BluetoothSerialPort.DATA_FORMAT_DATA_BITS_8,
BluetoothSerialPort.FLOW_CONTROL_NONE, 1024, 1024, _listener);


No other methods get executed but this one.


public void deviceDisconnected() {
System.out.println("------device disconnecte");


}
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

Similar Threads for: How to determine error Bluetooth deviceDisconnected
Thread Thread Starter Forum Replies Last Post
Trying to determine Mystery Icon huckleberry General BlackBerry Discussion 2 09-15-2009 04:18 PM
How to determine a device's carrier kenjkelly Developer Forum 2 07-01-2009 03:12 PM
How do I determine if my BlackBerry is "unlocked jelope80 BlackBerryFAQ Article Discussion 0 04-04-2008 11:52 PM
How to determine version jlinden7 General BlackBerry Discussion 1 03-28-2006 10:32 AM
How to determine which button is clicked? timinator Developer Forum 3 07-26-2005 01:33 PM

Roller Vacuum RF Ultrasonic Cavitation Radio Frequency Photon Slimming Machine 5
$660.0
Roller Vacuum RF Ultrasonic Cavitation Radio Frequency Photon Slimming Machine 5 picture40K+Vacuum Suction+Multipolar 3D RF Radio Frequency Slimming Skin Tightening Spa
$390.0
40K+Vacuum Suction+Multipolar 3D RF Radio Frequency Slimming Skin Tightening Spa pictureUltrasonic Cavitation Slimming Radio Frequency Anti Cellulite Ultrasonic Gift
$0.99
Ultrasonic Cavitation Slimming Radio Frequency Anti Cellulite Ultrasonic Gift  pictureDual Handles Fat Freezing Cavitation Radio Frequency Body Slimming Machine Weigh
$1419.0
Dual Handles Fat Freezing Cavitation Radio Frequency Body Slimming Machine Weigh pictureCavitation Slim Machine Radio Frequency Anti Freckle Frozen Freeze Cooling Syste
$995.0
Cavitation Slim Machine Radio Frequency Anti Freckle Frozen Freeze Cooling Syste picture






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