Bluetooth DeviceClass does not work on 8703e

I don't get the major and minor device on an 8703e class. No idea why?

Here is the result of the code below run on 3 different phone:

8703e v4.2.1.110 (Platform 2.3.0.22)Found: 001641D886FB, Major:0, Minor:0Found: 001CCCBA3F0F, Major:0, Minor:0Found: 0019A1EDD64A, Major:0, Minor:0Found: 008098D4BB48, Major:0, Minor:0

8700 v4.2.1.101 (Platform 2.3.0.81)Found: 001641D886FB, Major:0, Minor:0Found: 001CCCBA3F0F, Major:0, Minor:0Found: 0019A1EDD64A, Major:0, Minor:0Found: 008098D4BB48, Major:1f00, Minor:0

8330 v4.3.0.124 (Platform 3.1.0.71)Found: 001641D886FB, Major:100, Minor:cFound: 001CCCBA3F0F, Major:200, Minor:cFound: 0019A1EDD64A, Major:200, Minor:4Found: 008098D4BB48, Major:1f00, Minor:0

The first 3 found device are other phone around the Office (I don't like for those). The 4th is the one that I am interested in (it's our device based on an Azuro Bluetooth OEM module).

Here is the code:

package pascal;

import net.rim.device.api.ui.UiApplication;

public class BTDeviceClass extends UiApplication {  public static BTDeviceClass app;

  public static void main(String[] args) {      try {         app = new BTDeviceClass();            app.pushScreen(BTDeviceClassScreen.getInstance());            app.enterEventDispatcher();       } catch (Throwable t) {           t.printStackTrace();      } }}
package pascal;

import net.rim.device.api.ui.*;import net.rim.device.api.ui.component.*;import net.rim.device.api.ui.container.*;

import javax.bluetooth.*;

public class BTDeviceClassScreen extends MainScreen implements DiscoveryListener {    static final String NEWLINE = "\n";   private RichTextField resultField;    private MenuItem searchMenu;  private StringBuffer sbuf;    DiscoveryAgent agent;

   BTDeviceClassScreen() {       sbuf = new StringBuffer();    }

  public static BTDeviceClassScreen getInstance() throws BluetoothStateException {      BTDeviceClassScreen instance = new BTDeviceClassScreen();     instance.initUI();        instance.agent = LocalDevice.getLocalDevice().getDiscoveryAgent();        return instance;  }

   void doSearchMenu() throws BluetoothStateException {      sbuf.setLength(0);        agent.startInquiry(DiscoveryAgent.GIAC, this);    }

   private void appendLine(String string) {      sbuf.append(string).append(NEWLINE);      synchronized (UiApplication.getEventLock()) {         resultField.setText(sbuf.toString());     } }

   private void initUI() {       add(getResultField());    }

   private Field getResultField() {      if (resultField==null)            resultField = new RichTextField();        return resultField;   }

  protected void makeMenu(Menu menu, int instance) {        menu.add(getSearchMenu());    }

   private MenuItem getSearchMenu() {        if (searchMenu==null) {           searchMenu = new MenuItem("Search", 1, 10) {              public void run() {                   try {                     doSearchMenu();                   } catch (BluetoothStateException e) {                     e.printStackTrace();                      appendLine(e.toString());                 }             }         };        }     return searchMenu;    }

   public void deviceDiscovered(RemoteDevice device, DeviceClass deviceClass) {        appendLine("Found: " + device.getBluetoothAddress()                 + ", Major:" + Integer.toHexString(deviceClass.getMajorDeviceClass())                + ", Minor:" + Integer.toHexString(deviceClass.getMinorDeviceClass()));    }

   public void inquiryCompleted(int discType) {      appendLine("Search Completed: " + discType);  }

   public void servicesDiscovered(int transID, ServiceRecord[] servRecord) { }

   public void serviceSearchCompleted(int transID, int respCode) {   }}

Have you tried matching first your device?  I ran into a problem where the device class numbers are zero if the device is not paired.  This has been confirmed by RIM as a bug in 4.2.1

http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&thread.ID=1065

I had to work around this problem, implement the logic that checks the friendly name as a return to the top.

Tags: BlackBerry Developers

Similar Questions

  • Bluetooth headset does not work with Windows 7 - device is detected.

    I have a Dell XPS 1530, which had Vista 32 bit running. I have recently upgraded to Windows 7 Ultimate. Ever after that the Bluetooth of DELL BH 200 headset does not work with my laptop.

    The bluetooth adapter and the device is fine since I'm able to search and find all bluetooth devices, including my helmet. However, I get a yellow exclamation on the headset under devices. The headset can be paired with other devices such as my mobile and works very well.

    I tried to update the drivers and reinstall the device and the adapter from the Device Manager. We have a similar setup on my brother's computer and it works fine.

    Another thing to watch, would be what battery is used.  I know from personal exp some devices work with Toshiba stack, vs the MSFT pile up.  Do a search and see if anyone else uses a different battery with these devices. Network systems engineer * Zvetco biometrics * Windows Server 2008 R2 * Core 2 6600 @ 3.30 GHz * 16 GIGS RAM * NVIDIA 9400GT * * > please VOTE MESSAGES ALSO USEFUL TO HELP OTHER USERS

  • Bluetooth mouse does not work up to this that deleted and added after Windows startup

    After you have added a device, namely my mouse Logitech V470 Bluetooth, it works fine until I turned off my laptop.

    The next day when I have power to the top of the mouse is no longer my Dell Vostro 1500, moves the cursor. But it is still displayed in the list of devices.

    The only way I can get it to again control must "remove hardware". Then I 'add device', it is discovered, and the driver is loaded.

    The bluetooth mouse works normally.

    What can I do to have the mouse early control after turning on the laptop?

    Hi John,.

    Thanks for the reply.

    Are you able to connect other Bluetooth devices to your computer properly?

    V470 works not

    http://forums.Logitech.com/T5/mice-and-pointing-devices/V470-not-working/TD-p/551070

    My V470 Mouse Laser wireless Bluetooth does not work

    http://Logitech-en-AMR.custhelp.com/app/answers/detail/A_ID/20491/kW/connection%20V470

    If you still experience this issue I suggest you to post the question on the Logitech forums. You can contact them on the link below.

    Logitech forums

    http://forums.Logitech.com/

    Feel free to write us if you have any other questions about Windows.

  • my bluetooth application does not work

    I would like to ask how to run my application bluetooth in my acer netbook.  I had been through the msg will appear on the screen saying RUN... but still does not work. I wanted to send music from my phone to my netbook but its not working... pls hepl me I do not know how to handle fixing it... Thank you and looking forward to hear from you.

    Hello

    Thanks for posting the request in the Microsoft community!

    I imagine the inconvenience that you are experiencing. I will certainly help the question of fixing.

    1. what happens when you try to send music from a mobile phone?
    2. you receive an error message?

    Method 1:
    To do this, you must control how pairs with the computer (which connects to) Bluetooth devices. To control how your computer pairs with Bluetooth devices

    a. open Control Panel by clicking the Start button, then Control Panel.

    b. in the search panel box command, type Bluetooth, and then click change Bluetooth settings.

    (c) in the Bluetooth settings dialog box, click the Options tab and do one of the following:

    · Pour rendre make your computer discoverable to Bluetooth devices, select the check box for Allow Bluetooth devices to find this computer.

    When a computer active Bluetooth device is in discoverable mode, it broadcasts a wireless signal that allows it to be detected by other Bluetooth compatible computers or devices. This is sometimes called pairing mode.

    · To allow Bluetooth devices to connect to your computer, select the check box for Allow Bluetooth to connect to this computer devices.

    · To be notified when a Bluetooth device is trying to connect to your computer, check the box for warn me when a new Bluetooth device wants to connect.

    See the link to add the Bluetooth on the computer.

    http://Windows.Microsoft.com/en-us/Windows7/add-a-Bluetooth-or-other-wireless-or-network-device-frequently-asked-questions

    http://Windows.Microsoft.com/en-us/Windows7/add-a-Bluetooth-enabled-device-to-your-computer

    Method 2:
    You can update the latest drivers for Bluetooth and the software on the manufacturer's Web site and check.

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Check out the link:
    http://support.Acer.com/product/default.aspx

    Please post if the problem persists, we will be happy to help.

  • Bluetooth headset does not work in Windows 8

    I've just upgraded in Windows 8 and my bluetooth headset does not connect (worked well on Windows 7), he could be detected with the mating, but always appear "offline" after having been matched, both headphones are having the same problem, while mice bluetooh work well, is there whatever it might be do?

    I solved the problem.  I upgraded my Lenovo E530 to Windows 8 and the helmet worked.

    I made a copy of the Broadcom Bluetooth 4.0 driver and installed on my HP LPTOP.
    The Voyager Pro + headset now works on the P and Lenovo
  • Qosmio F20: Bluetooth connectivity does not work with my phone

    Good day it

    I've had one laptop to another in the past and I didn't have this problem with this computer, but then 3 weeks ago I bought myself this Qosmio F20 and try to send the info to my Sony-Ericsson K600i.
    He worked with my other laptop. On my laptop I don't see devices in the Control Panel, but it doesn't seem to be any information for any active or visible Bluetooth to my phone.

    Could you help me please or tell me where to get the program?

    Concerning
    Jürgens

    Hello

    It would be very useful to know the name of your unit. Qosmio F20 - xxx.
    I ask because the Bluetooth module is not available on several units of Qosmio F20.
    In my opinion you should first check if the laptop supports Bluetooth.

  • Bluetooth mouse does not work after the mode 'sleep'.

    My Logitech bluetooth mouse Mouse loses communication after coming out of sleep mode.  The mouse does not appear in the devices Panel and will not resync.  To retrieve it, I have to restart, and then remove the bluetooth devices control panel mouse and then add the device again.

    When installing Win7, he acknowledged the mouse without having to manually provide the drivers.  I checked the Logitech website, which doesn't have to download disponibilitepour drivers win7.

    The question is not limited to the mouse as a bluetooth speaker system has similar problems with sleep mode.

    Someone knows how to solve the problems of Eve Win7 bluetooth?

    John
    System: Computer laptop Dell M1330, mouse Logitech V470 bluetooth, Win7-64 Edition home premium

    For the mouse in the right mouse click Device Manager, select properties then power management and disable the setting allow turns off to save power.

    For other devices, check the equivalent power management settings.

  • Bluetooth mouse does not work on my Satellite A300-1ND

    Hello
    I am pleased for the installation of double sys XP operating after Oem Vista over two days.
    anyway thanks for the help here.
    After you have installed all the drivers, BlueTooth mouse is not recognized by the internal bluetooth.
    I tried to install a dongle bluetooth - without much success - no recognizion.
    is Vista sp1 and xp sp3

    Satellite A300-1ND

    any help will do
    Thanks in advance

    If the mouse has own adapter BT then, this issue has nothing to do with laptop manufacturers and you should contact the manufacturer of the mouse and ask for help.
    Installation and configuration for this mouse is generally calm.
    Simply follow the instructions to facilities and install given driver if necessary.

  • Bluetooth keyboard does not work

    Actual title: keyboard problems

    My dell wireless keyboard won't work. Bud batteries.  Desktop appear bluetooth icon but wireless mouse works and his bluetooth.

    Hello

    -What is the model of the keyboard?
    -What is the operating system installed on your computer?
    -Did you do changes on the computer before this problem?
     
    I suggest you follow the steps from the links below and check if it helps.
    Difficulty, to connect to and learn more about Bluetooth
    http://support.Dell.com/support/topics/global.aspx/support/KCS/document?docid=266310
     
    Mouse, keyboard or the Touchpad works not properly
     
    Hope this information helps.
  • NB100-127: Bluetooth Module does not work

    Hey all. I had an old netbook to my dad nb100 - 127 model No. PLL10e-00Y007AR. I installed a larger hard drive and also within the 2 GB of ram. Also, I installed windows 7 spinning round. During the installation of the hard disk, I noticed a place and a connector to connect an internal bluetooth module. I bought a part of the bluetooth module online no. PA3608U-1BTM.

    After that I had installed and loaded windows its not detected by windows 7. I tried looking for the bios to see if there is any possibility of Monte sound but can't find.

    If it is a defective module?
    The module might not be compatible with the motherboard?
    The feature is locked by the bios for this model was not delivered with this feature?

    Any help would be appreciated.
    Thank you

    Hello

    As far as I know only certain NB100 units where equipped with a module BT.
    You you connected the BT module internal an internal antenna?
    Was an antenna (I know it was a Brown wire for BT) available?

    As far as I know there are some BT the NB100 compatible modules:
    Example: BT-MAP-TAIYO-YUDEN part number: V000120750

    However, as far as I know the BT card should be detected during installation of BT stack.
    THEN download http://aps2.toshiba-tro.de/bluetooth/ here BT stack and install it.
    Check if the BT module would be recognized during installation.

  • Leapmotion Envy 17: my bluetooth driver does not work

    bluetooth cannot match, send or receive files

    Hello @MohamedKhairy,

    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the Forums of HP, I would like to draw your attention to the Guide of the Forums HP first time here? Learn how to publish and more.

    I understand that your notebook is not able to pair with Bluetooth devices, and I'd be happy to help you in this case!

    To make sure that the Bluetooth radio on your computer is set up correctly, please follow the steps below:

    Step 1. Go to Device Manager

    Step 2. Right click on "Bluetooth device" you want

    Step 3. Select "update driver software... »

    Step 4. Choose "Browse my computer for driver software".

    Step 5. Choose "Let Me pick from a list of drivers for devices on my computer.

    Step 6. Select "Ports (COM and LPT).

    Step 7. Select "Microsoft" to the list of "manufacturers".

    Step 8. Finally select "Standard series via a Bluetooth connection.

    If you are unable to connect to a Bluetooth device, try the following:

    Step 1. Search for 'Change device' in the start menu in Windows 8.

    Step 2. Click on where it says change device installation settings.

    Step 3. Select No, let me choose what to do option.

    Step 4. Check the automatically get the device app option

    Step 5. Click on save changes to save the settings that you select

    So, you can try this

    Step 1: Go to RUN (Windows Logo + R) and type "services.msc" and Enter

    Step 2: Now find 'Bluetooth Support Service' and double click it

    Step 3: Now click on the Log on tab and type "Local Service" without the quotes

    Step 4. Click on "account".

    Step 5: Now remove any authorization of passwords the password field blank

    Step 6: Below the upper left title should be a hyperlink 'Start' click

    You can also check:

    If you're still having problems, you can also see this thread about how @IstvanKovacs resolved his problem with the Compatibility Bluetooth 4.0 with Windows 8.1.

    I also encourage you to display the number of your product to your computer. Below is one is a HP Support document that will show you how to find the product number of your computer. In addition, it will also help if you specify which operating system you are using; and if your operating system is 32 or 64 bit. You can provide more information, the better!

    How can I find my model number or product number?
    Operating system Windows am I running?
    Is the Version of Windows on my computer 32-bit or 64-bit?

    Please re-post with the results of your troubleshooting, as well as the information requested above. I look forward to your reply!

    Concerning

  • Microsoft Keyboard elite & Mouse Elite Microsoft Bluetooth keyboard and Bluetooth mouse does not work on windows 7 64 bit.

    Hi I am trying to install a keyboard & mouse that was purchased off Ebay new and in perfect condition but what installation stated that he has

    problem of compatabillty with this product - any help with this would be appreciated. I am running windows 7 64 bit

    Crunchie50 thank you.

    Original title: Microsoft Keyboard elite & Bluetooth mouse

    Option 3

    I wish that you download and install the latest drivers.

    Check out the link-

    http://www.Microsoft.com/hardware/en-us/d/Keyboard-Elite-for-Bluetooth

    This link shows not all drivers

  • Wireless Bluetooth speakers does not work with my Dell

    I have an Inspiron 1525 and I was able to pair my Sony wireless bluetooth speakers, but I can not get my music to play through them... Any ideas on how to make that happen?

    I use the Windows media player software provided with the laptop. Oh, and I use a Vista operating system.


  • Bluetooth does not work on my Satellite C55 - A

    Hello.I have a problem with my Bluetooth device.

    Yesterday I bought a mouse bluetooth (HAMA), but in my computer bluetooth device does not work.
    My computer is a TOSHIBA Satellite C55 - A (Windows 7, x 64)
    It says that I can activate it by clicking on the start menu > Control Panel > harwuer and sound > add a bluetooth device. But the problem is that I don't have such an option as "add a Bluetooth device".
    I checked the mouse on other computers and it works.

    Help me, please.

    Hello

    Open PC settings > PCs and devices > Bluetooth > go on IT and activate it.

    When you do so, you will see the status of your PC is looking for and can be discovered by the Bluetooth devices.
    Turn on your external device BT and after a few seconds, it should be detected. Connect devices and hopefully everything should be OK.

    A recipient of USB BT BT own mouse?

  • Generic adapter Bluetooth does not work

    Original title: hardware device

    Hi guys, can help me? my generic bluetooth adapter does not work correctly.

    What can I do guys?

    Hi Frenkimaarisit,

    1. What is the problem you are having with the generic Bluetooth adapter?

    2. you receive an error message or error code?

    3. have you made changes on the computer before this problem?

    There are various reasons why generic Bluetooth adapter does not work, for example:

    Pilot are corrupt.

    Setting of the material.

    Bluetooth is set to disable.

    Please provide us with more information about the issue so that we can better help you.

    In the meantime you can see a next THREAD.

    Hope that the information provided is useful.

Maybe you are looking for