I'm getting the dreaded 133 error when using BluetoothDevice.connectGatt and understand that if your Bluetooth device uses a dual BT Stack that this can be an issue so my question is:
Do Galaxy Buds+ use a dual BT Stack?
Yes the Galaxy buds+ support classic Bluetooth. You can find this at the listing page here:-
https://launchstudio.bluetooth.com/ListingDetails/98723
You may need to create a Bluetooth account to access the details found under "View ICS details" but if you can access that you'll see that a few classic profiles are supported including SDP and A2DP.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Something strange has happened to my Lenovo IdeaPad 310 with Windows 10 latest updates.
My Bluetooth headset was working fine.
But now the toggle to switch Bluetooth on/off has gone missing.
Settings > Bluetooth and other devices
Bluetooth on/off toggle is missing
Settings > Bluetooth and other devices > Senheiser MB Pro 2
Bluetooth is turned off
My headset is listed as a Bluetooth device but the buttons "Connect" and "Remove device" are both disabled.
Device Manager > View > Show hidden devices
The Bluetooth section contains four entries :
Bluetooth Device (RFCOMM Protocol TDI)
Microsoft Bluetooth Enumerator
Microsoft Bluetooth LE Enumerator
Qualcomm Atheros QCA9377 Bluetooth 4.1
All have a faded blue Bluetooth icon.
Right-click on any of them has the same message :
Currently this hardware device is not connected to the computer (
Cede 45 ). To fix this problem, reconnect the hardware device to the
computer.
Right-click any of them and select "Update driver" :
The best drivers for your device are already installed.
Windows has determined that the best driver for this device is already
installed. There may be better drivers on Windows Update or on the
device manufacturer's website.
Troubleshoot > Bluetooth > Run the troubleshooter
Device does not have Bluetooth
Bluetooth is not available on this device. Please try using an
external adapter to add Bluetooth capability to this computer.
I restarted my PC but doesn't seem to have any effect.
I checked for Windows Updates but it does not find any new updates.
I used the Lenovo Service Bridge utility to scan my system and check for any updated drivers but it says I'm up-to-date. I went ahead and downloaded the Bluetooth driver package 75l804af086x.exe and did a manual install and then power-off / power-on but nothing has changed - I'm still on Qualcomm Atheros QCA9377 Bluetooth 4.1
Sometimes with windows updates, few things get broken mostly happen with my wireless driver. You can try reinstalling bluetooth drivers or you can remove the one installed and check in windows updates if there is any updates for bluetooth.
After this shutdown your system(important not restart, shutdown). On reboot your bluetooth will be working fine.(works for my wireless driver). Give it a try
This solution fixed the issue on my Dell which has the same Bluetooth chip.
https://www.dell.com/community/XPS-Desktops/XPS-8930-Qualcomm-QCA9377-Bluetooth-failures/m-p/7402161#M28463
I shutdown the XPS 8930, unplugged the power cord for a few minutes, then powered it back on. I then went to Device Manager and uninstalled the Unknown USB Device (Device Descriptor Request Failed). When I then did a Scan for Hardware Changes, the Bluetooth appeared in Device Manager. This resolved the issue.
When performing a BLE scan using startScan(onFoundBLEDevice, onBLEScanError). First, is the parameter sent to onFoundBLEDevice a single device or is it a list of devices? And if the answer is "single device" what happens when there is more than one BLE device in the local vicinity when performing the scan?
Secondly, Since my goal is to retrieve the battery level from my own smartphone (the one that is paired AND connected to my smartwatch) how can I tell which of the devices found by my scan is the one that's connected? Or do I even need to perform a scan? Is there another way to retrieve the device object in order to then get the battery service 0x180F and then the battery level characteristic, 0x2a19? In other words, I want to be sure that the battery level I retrieve is that of my phone, not my buddies sitting next to me.
UPDATE: my smartphone is a Samsung Galaxy S3 running Android 4.3 and my smartwatch is a Samsung Gear S2 running Tizen 2.3.1. I'm using Tizen Bluetooth API.
The BluetoothLEScanCallback (In your case onFoundBLEDevice) is invoked everytime a device is found. (For 3 nearby devices -> 3 calls)
I've scanned nearby devices from my gear while it's connected with a Mobile through 'Samsung Gear' app. No, There's no way to distinguish specific Mobile connected via Gear Manager from other devices. So, You can't find the connected device in this procedure. (Unless you are developing the app for personal use, In that case you can hardcode your Mobile device's UUID)
Samsung Provides 'Accessory' SDK for such purposes.
Samsung Accessory SDK
Any data you exchange using Accessory SDK would provide you info of specific 'The Connected' device via Samsung Gear. Check Out the API References, Programming Guides and Android-End Sample apps and Tizen-End Sample apps in Accessory SDK section.
Using Android, is there a way to know which is the hardware manufacture and more details about the Bluetooth hardware of the device I'm using?
I have different behavior of my Bluetooth app using different device (smartphone LG and Sony tablet) and I'd like to get inside.
Yes, Android BT stack is based on bluez. You can use hciconfig to interact with the hardware device and get info about exact capabilities and manufacturer. Here's a link describing this: https://sites.google.com/a/android.com/opensource/projects/bluetooth-faq
Can a WindowsCE device connect so more than one BlueTooth device? The device needs to both serve as a BlueTooth hands-free speaker for a phone and connect to a third device via a serial BlueTooth connection.
Can an application do this without the need of a speciel driver?
You must understand that Windows CE is a modular OS and any specific platform capabilities are implemented by an OEM. An OEM can create a Windows CE device with absolutely no Bluetooth support or they might choose to implement just a Bluetooth client profile (say as a bluetooth audio device) or they may choose to implement a Bluetooth server so they can consume a Bluetooth serial device. They may also choose to implement both. Beyond what the OEM does in software, the hardware itself might allow only one or the other (or both or neither for that matter).
The short of this is that we can't actually answer your question becasue there is no generic answer that fits all devices. You have to ask the Device OEM what they support and if they can extend that support if they don't support what you need.
I want to know if the developer team which made the emulator have some information to make bluetooth work in the Android emulator, indicate some links about it, if they have some date for release or if they'll make it works in the future.
as far as I know there is no support in the emulator for bluetooth. And I will have to teach android and bluetooth in some classes. And the students will need to code stuff and test (guess it) in the android emulator.
So I came up with a bare-bone reimplementation of the android bluetooth API on top of tcp. You can find it on here on github.
Basically, you run a tcp-server on your machine, and the emulators will connect through it.
Instead of using the classes in the package android.bluetooth, you just need to use the classes in the package dk.itu.android.bluetooth (and other 2 little modifies).
As for now it supports:
switch on/off the "radio"
discovery devices (only other android emulators)
creating bluetooth services
connecting to bluetooth services
It's not much, but until we got some more from the android guys, I guess there is nothing else around.
Hope it'll be useful, cheers!
The documented bluetooth limitation appears inconsistent with the qemu -bt option. So, how is bluetooth enabled in the emulator so the -bt options can be used, or at least to know that bluetooth is supported?
The target/board/.../BoardConfig.mk having "BOARD_HAVE_BLUETOOTH := true" doesn't provide a bluetooth icon or enable bluetooth. So, how do we turn on bluetooth on the android qemu emulator?
What does it mean that bluetooth is not supported given the -bt option for emulating USB devices that were provided in 2008? The post and limitations are outdated.
The functional limitations of the emulator include:
No support for placing or receiving actual phone calls. You can simulate phone calls (placed and received) through the emulator console, however.
No support for USB connections
No support for device-attached headphones
No support for determining network connected state
No support for determining battery charge level and AC charging state
No support for determining SD card insert/eject
No support for Bluetooth
http://developer.android.com/tools/devices/emulator.html#limitations