Android: TTS to Bluetooth HFP - bluetooth

New to Android programming.
Gone through the examples but not able to find the example for TTS text to Bluetooth HFP.
Seeing the TTS example to read the text and Bluetooth Example to find/list paired devices. But looking for the combined one to read the TTS text in Bluetooth HFP.

Related

how to detect a NFC card in windows

I am starting with RFID and NFC, I have an ET50 Zebra Tablet with windows 10 and I am trying to read and write in a MIFARE Ultralight NFC card, I am using a code that I downloaded from:
https://github.com/andijakl/ndef-nfc
But till now no luck, after researching a lot I found that Windows only can read from NFC NDEF cards, so I confirmed that this MIFARE ultralight card fits that requirement and it is correct. I was also checking windows documentation and it seems that the device is only reachable by using Proximity Device Class. I did try to implement that but again no luck detecting the card.
Any help will be appreciated.

BLE Explorer for Windows 10 Universal

Is there any Bluetooth Low Energy sample applications for Windows 10 universal platform? Please help me.
Bluetooth GATT is for BLE on UWP apps. There are sample code in the official document for three common GATT scenarios: retrieving Bluetooth data, controlling a Bluetooth LE thermometer device, and controlling the presentation of Bluetooth LE device data.
Besides, you can also refer to the BLE GATT Sample for Iot.
Though these are all official information about using BLE for UWP apps, I believe there are also many samples on internet written by other developers, you can search for them.

Audio output with A2DP and audio input with HFP can be used at the same time?

I want to develop the application to input the voice from the microphone of the Bluetooth headset and to output into the Bluetooth speaker.
I think that use of HFP to input and A2DP to output.
The two profile can be used at the same time?
I'm interested in this as well. From what I can find, it sounds possible but I've yet to see many hardware vendors specifically market it as a feature.
Creative recently released their BT-W2 bluetooth dongle that supports what they're calling a "voice-back channel". Might be similar to what we're talking about but it's hard to find tech specs that confirm it.
Below is a link to some documentation I found on the Bluetooth SIG website that appears to support the fact that it's possible. Maybe it'll help you:
https://www.bluetooth.org/docman/handlers/DownloadDoc.ashx?doc_id=296662

Module audio bluetooth (iOS and Android)

I'm working on university project that consists in audio speaker with bluetooth connected to mobile application.
I search a lot possibilities and bluetooth modules that comply my needs, but I have not found any module. I need a Bluetooth module that can receive audio and work in iOS and Android, but I see that a lot of modules with Classic Bluetooth (lowe than 3.0) do not work with iOS, but 3.0 and 4.0 version works with both but are not oriented in audio.
I'm looking for if someone can help me finding one kit with audio receive bluetooth for all plataforms intended for speaker and cheap. Or separately one bluetooth module receiver with 3.0 or upper version (because works in iOS), intended for audio streaming to an speaker, and with some UART pins (tx/rx for example) that can simplify the connection with a microcontroller. And one basic microcontroller oriented to bluetooth receives (with some bluetooth libraries) or simply to program with upp-level language. This microcontroller just receive the audio (bits) and send it to the speaker.
I read too that Smart Bluetooth or Bluetooth Low Energy works on iOS, but can't send audio, have small rate, but i think Smart Ready Bluetooth its possible, but not sure, I have just seen that supports Classic Bluetooth (oriented to audio) and Bluetooth Low Energy, it's possible sens audio with it?
In short, I'm looking for one module Bluetooth 3.o or 4.0 + EDR (that can send audio) for iOS and Android. I find HC05, CC2506X, or HC06 module, but I have read not works in iOS. And a basic microcontroller simply to program to receive this bluetooth audio to send in a speaker.
If someone know one basic kit, or useful information for me I would appreciate.
Thanks.
There is a bluetooth module BC127. it is available at Sparkfun. It dual mode. Means It can work as source and sink both.
Source means, It can Transmit Audio
Sink means, It can receive Audio
Here is link for https://learn.sparkfun.com/tutorials/understanding-the-bc127-bluetooth-module
Any Bluetooth module that acts as an A2DP Sink should work with both iOS and Android.
The specific Bluetooth version that the module implements is not important (as long as it's higher than 2.1), but it needs to be an A2DP Sink (which is only possible over classic Bluetooth)

Sending audio to a bluetooth enabled speaker, IOS

I want to add a function to my App, where the user can choose to play the audio on a bluetooth enabled speaker. I have a Parrot Easydrive in my car and this works for phonecalls and for example the Dictafoon App among others.
I understand that I should use the Core Audio framework. WHen a bluetooth device is connected it is said that it is easy to stream the audio to that connection. I am now looking for Core Audio sample code (or a book) where connecting and streaming to a bluetooth device with Core Audio is explained.
Can anyone shed a light on this? If there is another framework or sample code which I can use please mention it!
Many thanks in advance!
You don't write any specific Core Audio code, it is the same process as is used to play audio via AirPlay.
Basically you put a MPVolumeView into your UI, and the underlying framework will redirect your audio output for you. Once you implement this you will be able to use Bluetooth and any AirPlay enabled device with your app.

Resources