Questions tagged [bluetooth-profile]

23 questions
16
votes
3 answers

Android bluetooth get connected devices

How can I get a list of all connected bluetooth devices for Android regardless of profile? Alternatively, I see that you can get all connected devices for a specific profile via BluetoothManager.getConnectedDevices. And I guess I could see which…
Steven Wexler
  • 16,589
  • 8
  • 53
  • 80
5
votes
0 answers

Android Bluetooth Socket not giving expected acknowledgement

I'm sending a byte array to a bluetooth socket and I get a response from the bluetooth printer, but I'm not getting a correct sending acknowledgement for image data. I write the byte array to outputstream the following way: byte[] queryData = new…
3
votes
1 answer

Android BluetoothHeadset getConnectedDevices() list is empty

In my app, I want to get certain details about the connected bluetooth headset. First, I thought of getting the connected devices whose profile is headset. val result = BluetoothAdapter.getDefaultAdapter() .getProfileProxy(context,…
3
votes
0 answers

Bluetooth connectivity: MODE_IN_CALL vs MODE_IN_COMMUNICATION

I have an application that needs to connect to wireless bluetooth headset to collection RAW audio. MODE_IN_CALL works in some devices and MODE_IN_COMMUNICATION in others. Mic works and I lose audio or vice versa. I am using Nexus 5x and Samsung…
3
votes
1 answer

How to find Bluetooth Profile Versions for HFP, PBAP on iPhone/Android

I am generating report for my Automotive head unit with references to all the phone Bluetooth profiles like HFP 1.6 for iphone 5 Is there a way to find out what HFP version is supported in iPhone 7 and all other versions iphone and Android…
Rohith Gowda
  • 137
  • 2
  • 2
  • 12
2
votes
1 answer

Bluetooth PTS: How to test Bluetooth Proiles using PTS

I want to test Bluetooth Profiles in my phone using Bluetooth PTS(Profile Tuning Suite) provided by SIG (PTS). But I am unable to understand the test cases and how to run them. For example, I was testing this test case in PAN…
Vivek Mangal
  • 532
  • 1
  • 8
  • 24
2
votes
1 answer

How are device types recognized in Bluetooth?

This is just hypothetical, but if I wanted to turn my android smartphone into a Bluetooth (BT) keyboard and have it show up as a keyboard in my computer's BT menu, how would I go about doing so? The BT pairing menu on my computer recognizes my…
2
votes
0 answers

HSP profile implementation?

Currently I am writing an application that uses bluetoothctl (but not BlueZ). Is it possible to use HSP/HFP profiles somehow? I had googled a lot, but I didn't find any solution. And would it be difficult to write a simple implementation? I saw…
Dmitry
  • 33
  • 6
1
vote
0 answers

Interaction between Android Tablet to Android Phone and Android Tablet to Headphone/Helmet via Bluetooth

Bluetooth communication should happen between Android Tablet, Android Phone and Headphone/Headset/Helmet. Android Phone: Responsible to send Incoming call and Media Infotainment data to the Android System (Tablet). Android System (Tablet): is…
Hiren Dabhi
  • 3,693
  • 5
  • 37
  • 59
1
vote
0 answers

Hi, I have a question about Bluetooth profile

I'm making a speech recognize App. But there is problem. App have to listen user's voice, So Bluetooth profile change to sco. But I want to change Bluetooth profile to A2dp when I listen the music. The Service can close by…
1
vote
0 answers

How to control Apple media from Android device

According to this page my Apple device supports AVRCP 1.4. According to this one my Android 8.0 device also supports AVRCP 1.4. However according to this Android Bluetooth API only allows me access to Headset, A2DP and Health Device profiles, so why…
LLL
  • 1,777
  • 1
  • 15
  • 31
1
vote
1 answer

Bluetooth OPP profile - 'Client proxy not available'

I'm trying to enable the bluetooth OPP profile in my linux machine(Ubuntu-16.04 LTS) to connect it with android phone. Initially I enabled the bluetooth interface using the command, /etc/init.d/bluetooth start Began to scan for the devices to…
1
vote
1 answer

Support Multiple Bluetooth Profiles on a single BTLE system

I'm working on developing a health system that many different sensors can be plugged into, but may not have all or any of the supported devices attached at a given time. Ideally the system could advertise each of the associated profiles via BTLE,…
JCowfer
  • 130
  • 1
  • 11
1
vote
1 answer

How to get the connected device list from a specific bluetooth profile

Is there anyway to get the connected devices list from support profiles (HDD,Spp and audio). The requirement is like my device will support HDD,SPP and Audio, so i have to filter the devices which supports all these profiles. Is there anyway to…
Sainath
  • 31
  • 1
  • 6
0
votes
0 answers

Android does not maintain connection to Bluetooth PAN device, if it does not provide internet connectivity

I am attempting to build an HTTP Proxy App for Android, through which Bluetooth 2.1 hardware devices can send HTTP requests to the internet via a smartphone. The hardware devices assign an IP address and subnet mask to the android smartphone via…
1
2