Bluetooth API

Is the small number of classes in the API documentation is available for bluetooth or which are of the J2ME javax API available?

One thing I would like to be able to do, it's scan to get a map of the intensity of the signal in the frequency hopping channels. Normally, if I had access to the material, I'd do something like all of the channel to read in the first string and scroll in a loop. On each channel, I read the power of the signal from the chip and keep it.

I see some really cool applications that I could possibly write if I could do in java.

Thank you

-Donald

There are running on Blackberry Java Virtual Machine. She represents the layer between applications and hardware.

There is no way to directly access hardware.

Everything possible to access materials are described in the RIM API.

And there is not another way to use the hardware resources with the exception of the use of the RIM API classes.

Tags: BlackBerry Developers

Similar Questions

  • Bluetooth API is available for development?

    Hello

    Please suggest me the native API of Bluetooth which can be user to connect, send and receive data from the device.

    Hello

    We have not a bluetooth API in version beta current releases, but will project on support of an API for BB10.

  • Toshiba Bluetooth API (SDK)

    Hello
    Does anyone here use the API from Bluetooth Toshiba?
    I have the Toshiba USB Bluetooth Dongle (adaptor) and I am trying to initiate an audio connection with a headset remotely, but API includes only the connection L2CAP and RFCOMM, while an SCO connection is required for audio.
    An audio connection can be created when the headset initiates the connection (that is, pressing one of the buttons on the headset while the headset is on), but I want the PC to initiate the connection.
    Does anyone have an idea?
    Thank you.

    Hello

    Sorry but I can't give you a good answer, but I found interesting FAQ site on the Toshiba Bluetooth support site. Maybe he can help you. Check it by virtue
    http://APS.toshiba-tro.de/Bluetooth/

    Good bye

  • How to activate Widcomm (Broadcom) bluetooth API in Skype.

    I posted this on the Skype support forum:

    I have a similar problem on my new four-core 64-bit Windows 7 desktop. After months of trail and error installing and uninstalling the Broadcom bluetooth software and work support for the manufacturer of my dongle bluetooth 4.0, I could narrow the problem to have something to do with the Microsoft Net Framework 4 client and Net Framework 4 extended. The extended part of the software is allowing the hands-free bluetooth, bluetooth remote control, the profiles A2DP and AVRCP to work.

    After several weeks of frustration, that Microsoft finally came out with a Net Framework 4 diagnostic and repair tool, which has greatly improved the situation. My creative WP-350 bluetooth headset finally works but not with Skype.

    So now I really need to know how to turn on bluetooth three APIs is Skype for the helmet works during Skype calls. I have only a single enabled API that is, Bluetooth Headset Helper.exe who, as well as the two others located in the folder of Widcomm bluetooth. The other two API controls which must be added (and activated) are BTStackServer.exe and BluetoothHeadsetProxy.exe.

    I'm running the latest Broadcom (Widcomm) version of the 6.5.1.2700 software

    It took several weeks of downtime in uninstalling and reinstalling Net Framework 4 (customer and prolonged) as well as the software Widcomm (Broadcom) but I think it wasn't until I downloaded and used the Microsoft.NET repair tool I can say that the eccentric bluetooth functionality in Windows 7 has finally been more stable. Now if I can just activate the three Skype API (Microsoft product) it would restore my faith and continue my love affair with the PC platform. I have three other workstations that I use on a regular basis with none of the challenges SMEs bluetooth who gave me this new desktop image I7 PC.

    Thank you very much if anyone can help me solve this problem (I don't think that Skype support is as savvy).

    Hello

    You can follow this link & check if the problem persists:

    http://developer.Skype.com/accessories/

    Hope the helps of information.

  • JSR-82 Bluetooth API taken care of?

    Hello!

    I'm developing a program of a large quantity of devices so I decided to use the JSR-82... On all phones works fine, but in Blackberry Pearl 8110 (I don't him have not test it on another Blackberry) how WEIRD...

    When I start to search for devices, sometimes he finds devices sometimes... never ends...

    Any idea? Is there a problem that the application is not signed?

    JSR - 82 is fully supported by blackberry...? Use any special configuration to make it work?

    Thank you very much!

    Hello!

    The problem was found...

    I forgot get display... On other devices non-blackberry worked...

    So the solution is... Display.getDisplay (this) .setCurrent (form)

    Thank you very much

  • BlackBerry 10: Problem in the API Bluetooth SPP

    Hi all

    Anyone used Bluetooth SPP API SDK 10 Blackberry?

    I used bt_spp_open to connect to a remote server SPP (paired already manually), but the API always returns ENODATA.

    bt_device_init and bt_spp_init was successfully called before the API above.

    The parameters used for the bt_spp_open were:

    (1) the address of the server, mac

    (2) (service UUID which was '0 x 1101',

    (3) true for the non-blocking mode

    Version of OS used target device: 10.0.9.388

    Anyone with experience on the use of Bluetooth API in BB10. Help, please... Thanks in advance.

    For the service book uuid, you must provide a unique UUID that identifies the partucular your server service. 0 x 1101 is not the Service Id, but the ID of the Type of Service for the SPP.

    When you register the server on a remote device (server) use you a 16 unique service uuid numbers to bt_spp_open_server. It's the same uuid that you should bt_spp_open on the client side

  • Bluetooth kit extension Native

    Hello

    I'm doing a native extension for Webworks on BB10 to use Bluetooth.

    I use btspp API. When I run the app I got a message error "error need cannot find... myLib.so is not found.

    If I do not use the Bluetooth API I do not have the error and my extension returns something else. So I think it's because the Bluetooth library is not packaged with the application.

    In the app, I just added my own library (myLib.so).

    I have not found anything on adding a feature on Bluetooth technology in the config.xml file, or no authorization in rimermissions.

    Should I add a feature or permission? Or add the Bluetooth library and how?

    JEM

    You need to do is a link to the lib BT

    Assuming that the standard libs bb just go to the library and use the wizard

    If a connection of external systems, it is a diff method

  • SDK API for Bluetooth

    Hello
    I am a developer of Toshiba Bluetooth software you are looking for the API (SDK).
    Can someone help me?
    I wrote to support toshiba twice, but got no response.
    Concerning
    Wojtek

    Hello

    as I know that they don t give any SDK or the Code on. Maybe you have rely on some other sources (chimneys) and maybe try an open-source solution.

    Here´s a link, maybe you can use it:
    http://www.palowireless.com/Bluetooth/devtools.asp

    Staff I wouldn know what... :)

    Have a nice weekend

  • permission perm API access

    Access works well (pidgin & bluetooth), but whenever I login I have to re - authorize.
    Is it possible that this acceptance can be perpetuated?

    Manage the access control API in advanced settings is cleared on every reboot.

    This problem is fixed in 7.24

  • Turbo - Pandora and MP3 too low volume w / Bluetooth

    Hi all

    I hope that the forum can help, I have spent the weekend looking for this and other forums and still can not find a solution to my problem.

    I have a Turbo that I've been using listening to Pandora, IHeartRadio, Google Music and Amazon music player, but also to play MP3 Poweramp and the app Amazon (for local files) and it worked without problem with an accessory Belkin auto Conenct Bluetooth via the aux on the RAV4, and it worked pretty well for the last 2 years (Droid Maxx before the Turbo words)

    This weekend I bought a Hyundai Tucson to 2013 with Bluetooth factory, and while volumes for the phone and for notifications are fine, when I try to play any kind of music, MP3 streaming either stored locally, the volume seems to be half that of other sources. CDs play fine and I burned some MP3 files on a disc and they play very well this way, so it isn't a problem with the MP3 files themselves.

    I read that there are problems with the Turbo, with the Tucson, but I've also read of this same problem happening with other brands of phone and the car if she can't be unique for the Turbo or HYundai, but of something inherent in Android. All I know is that I use my phone as a source of music a little and it's embarrassing.

    Yes, I made sure the volume of BT is set while the device is streaming, the volume of the media is set as high as possible, I uninstalled everything that can affect the volume with the exception of profile of Volume, which I use with Tasker to ensure my phone not to ring too loudly at work (I have a trigger defined for the SSID of the network to the office which uses a setting saved to breast Profile of volume, when not in the office, I have a reverse rule set to use the 'Normal' setting Thinking that maybe that's the problem I checked and it had been set at 10 on a scale of 15 but put at 15 did not improve the situation.

    I tried Volume +, which is supposed to hang on the API and volume boost beyond the normal max level, but this had no effect, either.

    Anyone encountered this, or have ideas or suggestions? (I know that the last update release notes indicate that a change was made to the volume of Bluetooth but a) it does not seem to affect the profile of audio BT and b) it worked well after the update with my Belkin BT accessory.

    I'm very grateful for any help, thank you!

    Matt

    Hello

    I'm no longer Hunt the Turbo as the culprit of this issue, I've now matched my phone with several other vehicles (including another Hyundai, an Elantra 2013) and it has well in other cases... at this stage, it cannot be the vehicle.

    I'll pull the fuse for the audio system see if I can reset by providing sufficient volume, and I am also pursuing a resolution through my dealer, either via some sort of update or replacement of the radio under my warranty Platinum.

    Thank you for your help,

    Matt

  • How to read the tag bluetooth data in labview 2015 running on Windows 10

    Hi all

    I have a Development Board Nordic semiconductor nr51. This card is programmed as a tag bluetooth which simply announces his address with 16 bits of data appended to the end.

    My laptop came with loan materials smart bluetooth. I installed an app interactor lighthouse to bluetooth on my laptop and the software is able to detect the tag as if shown on the image below.

    I wanted to write a LabVIEW program that will simply be careful bluetooth headlights and notify me in my computer every time a lighthouse with the specified address is detected. This mobile application below is provided by the manufactuerer of the Board of Directors and I wanted to develop a LabVIEW program something similar to what will read the given data and extract values.

    Somehow, all the sample applications provided data only shows how to read and write in a connected bletooth device but not analysis for tags. I also tried using the Bluetooth ' discover ' and it does not detect the bluetooth beacons.

    Could someone provide me with the necessary information or example program for detecting / reading of tags bluetooth in LabVIEW 2015 running on Windows 10?

    Do I need to install a third-party software to read data from bluetooth?

    Bluetooth in LabVIEW function nodes using the Winsock interface to access bluetooth resources. This works very well for Bluetooth 2.0 devices but not Bluetooth 4.0 devices WHEAT aka. Microsoft has created a completely different interface for these resources API as the model of overall service for WHEAT devices has radically changed.

    The API to use WHEAT devices is the API of the GATT (generic attribute profile) in Windows. There is supposedly a .net interface available that you can try to use (Windows.Devices.Bluetooth.GenericAttributeProfile). The WinAPI to lower level (https://msdn.microsoft.com/en-us/library/windows/hardware/hh450825(v=vs.85).aspx) is a C DLL API and does not lend at all to be called directly by the LabVIEW call library node, since some of the parameters of the function are quite complicated and you need to also access the SetupDI APIs to enumerate resources WHEAT and even harder to function parameters. In order to access this low-level API to write an intermediate DLL which results in low level API C a more acceptable API for LabVIEW.

    Another possible problem is that Windows don't at least in Windows 8 not allows devices to pair per program. Microsoft wanted to force developers in the use of the "inbox" experience, which means that all users must go through Microsoft provided service pairing, instead of each request for implementation of his own matching technique.

  • Bluetooth Serial Port (SPP) on the XOOM profile

    Does anyone has experiences using devices to profile serial port with the XOOM?

    We try to get our through SPP Bluetooth barcode scanner and we had a few problems with the matching.

    We are able to pair our device with the XOOM did very well (using Bluetooth 2.1 Secure Simple pairing (SPP)), however, when we try to open a serial port (RFComm channel), the XOOM is trying to make an increased level of security and enforce Bluetooth man in the middle (MITM) protection.  The problem is that our device does not have ANY screen or buttons that would allow a user to enter the PIN code!

    Anyone tried the "non - ui" SPP BT 2.1 devices with the XOOM?  Such as barcode scanners or GPS units?

    We "got around" this by having our 'claim' device, the pin code has been entered correctly, but this is really just a hack.

    Thanks for any comments.

    Len

    We have solved this problem by using a new call API 2.3 and higher to specifically ask for a link "unauthenticated."

    Socket CHS Series software now fully supports Android 2.3 and features honeycomb (3.x).

    Kind regards

    Len Ott

    Socket Mobile

  • How to detect system events wifi / bluetooth / plane power on stunts?

    Hello world.

    I'm trying to get invoked on some events rather than a loop of control for them (I looked in the Services of the platform BlackBerry - BPS but seems I can't record these events). I want to receive an event when the wi - fi, bluetooth or airplane mode between on - off.

    In addition, also when the user changes the mode of notification between sound - vibrate - mute, and when the unit is stopped or started.

    It runs as an application without a head.

    Thank you for your help. I appreciate it!

    I forgot to post:

    It works under 10.3, too:

    // Initialize the btdevice and SPP library APIs.
        bt_device_init(BTControllerCallback);
    
        // 10.3 new: filter events
        int filterSuccess = bt_ldev_set_filters(BT_EVT_ALL_EVENT, true);
        if (filterSuccess == -1) {
            qWarning() << "Filtering wrong " << filterSuccess;
        }
    

    Thanks to John Murray help on that.

    10.3 introduced new filters for BT events

    documentation by default all must be activated

    but there is a bug: you must set the explicitly of filter to be activated for all events

  • Serial port profile Bluetooth help with saw-drill bit

    Hello

    Looking for example code using Bluetooth serial port profile using the basic version of the NDK. I can't find anything I find only using the waterfall.

    I need to set up a server, or a master of the blackberry device. Could you help me please. I read through the API, but I do not understand the implementation of the code needed for the realization of a simple connection of serial port Bluetooth mode master (server) profile.

    Thank you

    See soluton here

    https://supportforums.BlackBerry.com/T5/native-development/how-to-modiy-the-Makefile-to-link-the-so-...

  • Bluetooth and sensor Tag Texas: list of services of the gatt evil?

    Hello

    I have some experience with my Dev C ALpha and the Texas sensor tag.

    In fact I am following this guide: https://www.bluetooth.org/en-us/Documents/Bluetooth%20SIG%20developer%20Training%20day%20-%20Woolley...

    I would like the list of all the services available on the sensor Tag

    I have a function within my app that does something like this:

    the initialization of the BT
    {if (bt_device_init (ApplicationUI::btEvent)==0)}
    qDebug()< "device="" init="">
    If (bt_ldev_get_power ())
    bt_ldev_set_power (true); turn on the bt
    {if (bt_gatt_init(&m_gatt_cb)! = 0)}
    qDebug()< "gatt="" init="">
    }

    searchLab-> setProperty ("text", "investigation of departure!"); a label

    {if (bt_disc_start_inquiry (BT_INQUIRY_GIAC) == 0)}
    deviceCount int = 0, i, z;
    bt_remote_device_t * remote_device_array = bt_disc_retrieve_devices (BT_DISCOVERY_CACHED, & deviceCount);
    QString newDevs is QString ("devices found % 1") .arg (deviceCount);.
    searchLab-> setProperty ("text", newDevs);
    {if(deviceCount>0)}
    for (i = 0; i
    devName char [256];
    bt_rdev_get_remote_name (remote_device_array [i], devName, 256);
    qDebug()< "found:="" "="">< devname="">
    const bt_remote_device_t * found = remote_device_array [i];

    If (bt_rdev_get_type (found) == BT_DEVICE_TYPE_LE_PUBLIC) {}
    {if (bt_rdev_pair (found)! = 0)}
    qDebug()< "failed="">
    }
    char * gattServices = bt_rdev_get_services_gatt (found);
    qDebug()< "...services="" for:="" "=""><>

    {if (gattServices)}
    z = 0;
    {while(gattServices[z]!=null)}
    qDebug()<>
    z ++ ;
    }
    } else {}
    qDebug()< "no="" gatt="" services="">
    }
    break;
    }
    }
    bt_rdev_free_array (remote_device_array);
    }
    }

    } else {}
    qDebug()< "device="" bt="" init="">
    }

    This code for a Bluetooth device search THE autour and he's trying to list on the console of each service on the devce.

    The result is:

    Looking for services for: SensorTag
    0 x 1800
    0 x 1801
    0x180A
    0XF000AA00-0451-4000-B000-000000000000
    0XF000AA10-0451-4000-B000-000000000000
    0XF000AA20-0451-4000-B000-000000000000
    0XF000AA30-0451-4000-B000-000000000000
    0XF000AA40-0451-4000-B000-000000000000
    0XF000AA50-0451-4000-B000-000000000000
    0xFFE0
    0XF000AA60-0451-4000-B000-000000000000
    0XF000FFC0-0451-4000-B000-000000000000

    I have 2 problems:

    1: it is necessary to Pairing? If I try to use a Linux bluetooth usb dongle by following this guide: http://joost.damad.be/2013/08/experiments-with-bluetooth-low-energy.html it works and there is no need to make matching Tag and Dev Alpha C sensor... If I don't pair the devices... I have 0 return services.

    2nd: running the unit with the order explained here http://joost.damad.be/2013/08/experiments-with-bluetooth-low-energy.html I have these lists of services

    handle attr: 0x0001, grp end handle: 0x000b uuid: 00001800-0000-1000-8000-00805f9b34fb
    attr handle: 0x000c, fiberglass end handle: 0x000f uuid: 00001801-0000-1000-8000-00805f9b34fb
    attr handle: 0 x 0010, grp end handle: 0 x 0022 uuid: 0000180a-0000-1000-8000-00805f9b34fb
    attr handle: 0 x 0023, grp end handle: 0x002a uuid: f000aa00-0451-4000-b000-000000000000
    attr handle: 0x002b, fiberglass end handle: 0 x 0035 uuid: f000aa10-0451-4000-b000-000000000000
    attr handle: 0 x 0036, fiberglass end handle: 0x003d uuid: f000aa20-0451-4000-b000-000000000000
    attr handle: 0x003e, fiberglass end handle: 0 x 0048 uuid: f000aa30-0451-4000-b000-000000000000
    attr handle: 0 x 0049, fiberglass end handle: 0 x 0054 uuid: f000aa40-0451-4000-b000-000000000000
    attr handle: 0 x 0055, grp end handle: 0x005c uuid: f000aa50-0451-4000-b000-000000000000
    attr handle: 0x005d, fiberglass end handle: 0 x 0061 uuid: 0000ffe0-0000-1000-8000-00805f9b34fb
    attr handle: 0 x 0062, fiberglass end handle: 0 x 0068 uuid: f000aa60-0451-4000-b000-000000000000
    attr handle: 0 x 0069, grp end handle: 0xffff uuid: f000ffc0-0451-4000-b000-000000000000

    It is different from my request... why?

    Thank you

    1 matching is not always necessary. It depends on the device. What you should do in general is to go into settings Bluetooth on your BlackBerry and when you see the Tag TI sensor for the first time, select it. If you are required to enter a PIN, you will need to at this point. The status of the device in the settings must now move on to the connected mode or matched depending on whether or not he had a PIN. Other devices in the list will probably have a status of 'Saved' which means that they have been connected to or matched with previously and their details recorded in the cache device Bluetooth BlackBerry. If a device is in the correct state (connected or combined) in the list of parameters, then you need to perform a pairing programmatically.

    2. regarding your apparently different service lists, they are in fact equivalent. I'm interlaced the BlackBerry API output with that of your Linux tool below:

                                                                                  0x1800
    ATTR HANDLE: 0x0001, END GRP HANDLE: 0x000B UUID: 00001800-0000-1000-8000-00805F9B34FB
    
                                                                                  0x1801
    ATTR HANDLE: 0x000C, END GRP HANDLE: 0x000F UUID: 00001801-0000-1000-8000-00805F9B34FB
    
                                                                                  0x180A
    ATTR HANDLE: 0x0010, END GRP HANDLE: 0x0022 UUID: 0000180A-0000-1000-8000-00805F9B34FB
    
                                                                             0xF000AA00-0451-4000-B000-000000000000
    ATTR HANDLE: 0x0023, END GRP HANDLE: 0x002A UUID: F000AA00-0451-4000-B000-000000000000
    
                                                                            0xF000AA10-0451-4000-B000-000000000000
    ATTR HANDLE: 0x002B, END GRP HANDLE: 0x0035 UUID: F000AA10-0451-4000-B000-000000000000
    
                                                                             0xF000AA20-0451-4000-B000-000000000000
    ATTR HANDLE: 0x0036, END GRP HANDLE: 0x003D UUID: F000AA20-0451-4000-B000-000000000000
    
                                                                             0xF000AA30-0451-4000-B000-000000000000
    ATTR HANDLE: 0x003E, END GRP HANDLE: 0x0048 UUID: F000AA30-0451-4000-B000-000000000000
    
                                                                            0xF000AA40-0451-4000-B000-000000000000
    ATTR HANDLE: 0x0049, END GRP HANDLE: 0x0054 UUID: F000AA40-0451-4000-B000-000000000000
    
                                                                            0xF000AA50-0451-4000-B000-000000000000
    ATTR HANDLE: 0x0055, END GRP HANDLE: 0x005C UUID: F000AA50-0451-4000-B000-000000000000
    
                                                                                   0xFFE0
    ATTR HANDLE: 0x005D, END GRP HANDLE: 0x0061 UUID: 0000FFE0-0000-1000-8000-00805F9B34FB
    
                                                                            0xF000AA60-0451-4000-B000-000000000000
    ATTR HANDLE: 0x0062, END GRP HANDLE: 0x0068 UUID: F000AA60-0451-4000-B000-000000000000
    
                                                                             0xF000FFC0-0451-4000-B000-000000000000
    ATTR HANDLE: 0x0069, END GRP HANDLE: 0xFFFF UUID: F000FFC0-0451-4000-B000-000000000000
    

    The reason why some of them are "short" is that the two 16-bit 128-bit UUID and UUID are defined and the specification defines a UUID of base to convert 16-bit versions in the 128-bit versions. It is probably making your Linux tool.

    Concerning

    Martin

Maybe you are looking for

  • Get error message dll prop res but not internet not charged when try to print on the new version of firefox explore

    Since I upgraded to Firefox when I try to print a web page and use the properties I get the message, Prop Res DLL not loaded. never had this problem before and it does not occur in Internet Explorer.

  • Video driver T60

    I do a fresh install of XP on a T60 and whenever I download drivers ATI of Lenovo, I can only install .NET 2.0. It's really frustrating urgent, please help!

  • How to access the files or records of the administrator

    Hello My Toshiba Satellite A-105 recently crashed and I need to reformat the drive, but first I wanted to backup my files from the hard drive. I bought an external hard drive enclosure, set up and plugged in my other computer (healthy). It worked fin

  • Lenovo ThinkPad W520 water spill

    Hello. I recently bought Lenovo ThinkPad W520 mobile workstation. After that the water spilled on the labtop it is turned off. The fingerprint is lighting, and when the power cord is connected to the battery icon is lighting. What is the problem migh

  • Catalyst 1900 CLI missing

    Hi gentlemen, We have two switches catalyst 1900 similar with the v9.00.04 firmware. One of them, just after the telnet connection established, switch to menu interface. I need to use the command line Interface. Menu mode and management through brows