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

MSA Altair 5X 5XIR MULTI-GAS DETECTOR LEL,O2,CO,H2S, SO2
$1299.0
MSA Altair 5X 5XIR MULTI-GAS DETECTOR LEL,O2,CO,H2S, SO2 pictureH2S Monitor MSA ALTAIR Hydrogen Sulfide Single Gas Detector NEW IN BOX #10092521
$83.0
H2S Monitor MSA ALTAIR Hydrogen Sulfide Single Gas Detector NEW IN BOX #10092521 pictureMsa Altair Probe Water Stop Filter, 2 Pack, 801582
$5.99
Msa Altair Probe Water Stop Filter, 2 Pack, 801582 pictureMsa Altair 5 And 5 X Sensor Cover Upper Case Assembly
$6.99
Msa Altair 5 And 5 X Sensor Cover Upper Case Assembly  pictureMsa Altair gas monitors
$700.0
Msa Altair gas monitors picture






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