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 4X handheld multi gas/methane detector
$300.0
MSA Altair 4X handheld multi gas/methane detector pictureMSA Steel ALTAIR(R) Pro Carbon Monoxide Monitor
$684.84
MSA Steel ALTAIR(R) Pro Carbon Monoxide Monitor pictureMsa Altair 4x
$50.0
Msa Altair 4x pictureNew & Sealed MSA 10106722 Altair 4X/5X Xcell Combustible Lel Sensor 2015
$157.0
New & Sealed MSA 10106722 Altair 4X/5X Xcell Combustible Lel Sensor 2015 pictureLot Of (2)MSA ALTAIR2X 10153984C Multi-Gas Detector Monitor, H2S , Charcoal Gray
$150.0
Lot Of (2)MSA ALTAIR2X 10153984C Multi-Gas Detector Monitor, H2S , Charcoal Gray picture






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