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

(2 pack) Dataproducts R5110 IBM 1299845 Compatible Typewriter Ribbon Sealed OEM
$8.99
(2 pack) Dataproducts R5110 IBM 1299845 Compatible Typewriter Ribbon Sealed OEM pictureIBM 1337765 Lift-Off CorrectionTape - Genuine OEM for IBM Wheelwriter
$9.99
IBM 1337765 Lift-Off CorrectionTape - Genuine OEM for IBM Wheelwriter  pictureIBM OEM DPES-31080 DPES31080 Drive Disk 1080MB
$160.3
IBM OEM DPES-31080 DPES31080 Drive Disk 1080MB pictureIBM Lenovo THINKPAD LAPTOP AC POWER ADAPTER 20V 3.2.5A OEM 92P1156 42T5282
$11.0
IBM Lenovo THINKPAD LAPTOP AC POWER ADAPTER 20V 3.2.5A OEM 92P1156 42T5282 pictureIBM #4 Y Cable Genuine OEM Long POS Cash Register 4A to 4B 10N1002 J96367
$24.99
IBM #4 Y Cable Genuine OEM Long POS Cash Register 4A to 4B 10N1002 J96367 picture






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