Does anyone know how I can use HID profile to control a media player remotely? For example, using remote buttons to increase, decrease or skip and other functions related to media player with HID profile. I am aiming to buy Flora Bluefruit LE for my project and use its HID profile to control my phone's music player remotely.
Related
I have a battery monitoring device for our RV called a PowerMon 5S. It has to be in the battery compartment, given it's wired directly to everything, which means it's in a bad place for Bluetooth.
There's no external antenna port, so the only thing I can think of is to add a Bluetooth LE repeater or extender. Is this possible? Seems that when I search on it all I get are devices with RCA jacks to plug headphones or audio into.
Preferably, a 12v device that I can mount in the battery compartment would be optimal. But, even a 110v device I can put inside would be ok.
Ideas?
N
Let's say Bluetooth device A is an android/apple phone that communicates with Bluetooth device B a speaker. When I click "play" on a song on device A, is there a way to intercept the command that tells device B to play the song. My goal here is to possibly replicate this command.
For Apple Devices, you can refer to this site https://developer.apple.com/bug-reporting/profiles-and-logs/ and install the bluetooth profile. Bear in mind that part of the requirement is that you need to have an apple developer ID (and the profile will expire in a few days. You need to reinstall if needed)
For android, I believe you can do that using bt_snoop.
I'm working on a project where I need to use a microphone as input for a mobile application, this microphone will send data over BLE. So I'm wondering is that possible, because in some specifications of BLE on the internet they said that the BLE doesn't support the voice capability, so please what is exactly the voice capability in Bluetooth Low Energy.
Thank you in advance.
BLE does not support transmission of voice and there is no standard way. You may need to implement a custom profile or service as per your use case. Vendors like TI offer custom profile that utilizes the GATT layer of the BLE5-Stack to transmit voice frames. This is known as a Voice over GATT Profile approach (VoGP).
However, in the beginning of 2020, Bluetooth SIG announced about LE audio. The Classic Audio operates on the Bluetooth Classic radio while LE Audio operates on BLE. LE Audio will allow the protocol to carry audio and also adds features like Audio Sharing(one set of headphones connecting to multiple audio sources or multiple headphones connecting to one source) and help in development of hearing aids, however it will take time for LE audio to materialize or for devices to support this. Bluetooth SIG plans to release LE Audio specifications over the first half of 2020.
Few references are as below :
TI Custom profile
BLE Technical details
LE Audio (Bluetooth SIG)
LE Audio (Wiki)
LE Audio Spec release timeline
I'm planning to build a mobile app that sends over BLE a joystick commands with HID over GATT.
Does Oculus external gamepad option will be able to connect to it?
or it works only with Bluetooth?? therefore BLE won't work?
I would appreciate if you could point me to similar examples.
Thanks
Yes you can use HID over GATT with BLE to control Oculus. At least last time I tried the game Smash Hit with a standard BLE mouse the mouse button did the same thing as the oculus built in button.
Oculus doesn't support BLE (Bluetooth low energy) controllers!!!
Oculus supports only:
Samsung Gear VR Controller
The Gear VR Controller orientation-tracked input device is the primary Gear VR controller going forward. We recommend that developers take advantage of its capabilities if it makes sense to do so with your application or game.
Oculus Go Controller
The Oculus Go Controller is the orientation-tracked input device for the Go.
Bluetooth Gamepad
Bluetooth gamepads are also supported. However, not all brands have been tested for compliance. Developers should perform appropriate due diligence for key code compatibility when utilizing gamepad input in their application.
A gamepad is necessary for testing the sample applications which come with this release.
Compatible gamepads must have the following features:
Wireless Bluetooth connection (BT3.0)
Compatible with Android devices
Start and Select buttons
Typical controls include:
One Analog Stick
Action Button (4)
Trigger Button (2)
source: https://developer.oculus.com/documentation/mobilesdk/latest/concepts/mobile-reqs/
I recently developed an app that runs on the Apple Watch. It plays audio clips that you can hear on your BlueTooth headphones or speakers connected to your watch. I tested the app with a set of speakers and headphones, both of which had their own volume control. Everything was fine, so I submitted and was accepted into the Apple App Store.
When Apple AirPods came out, I tried using them with my app. The volume in the AirPods is very low and there does not seem to be any way to control their volume when they are connected to the Apple Watch. I tried using Siri to control the volume, but that works only when the AirPods are connected to the phone, not the watch.
When they are connected to the phone, you can also use phone's own volume controls.
I use WKAudioFilePlayer class to play the clips. There does not seem to be any way to control the volume from the software side either.
Any ideas?
Move to AVAudio​Player, there you have volume API.