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
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
In my listener the deviceDisconnected() is firing and disables the connection.

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

No other methods get executed but this one.

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

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 05:18 PM
How to determine a device's carrier kenjkelly Developer Forum 2 07-01-2009 04:12 PM
How do I determine if my BlackBerry is "unlocked jelope80 BlackBerryFAQ Article Discussion 0 04-05-2008 12:52 AM
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 02:33 PM

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