在iOS上使用BLE可以实现AVRCP吗? [英] Is it possible AVRCP on BLE with iOS?
问题描述
我正在使用 iOS
应用来控制音乐播放器超过蓝牙LE
。我有BLE启用的外围设备(可穿戴手表),它将充当音乐遥控器。我发现 AVRCP
配置文件是iOS提供的用于控制iPhone上音乐的选项,但此配置文件基于经典蓝牙配置文件(不在BLE上)。
I am working on the iOS
app to control music player over Bluetooth LE
. I have BLE enabled peripheral device (Wearable Watch) and it will act as a music remote controller. I came to know that AVRCP
profile is the option provided by iOS to control music on iPhone, but this profile is based on classic Bluetooth profile(Not on BLE).
已编辑:
有没有办法使用iOS BLE控制音乐播放器服务?
请告诉我使用BLE服务在iPhone上控制音乐播放器(播放,暂停,下一个和上一个)的建议吗?
Can Please provide me the suggestion to control music player (Play, Pause, Next and Previous) on iPhone using BLE service?
我推荐这个链接
开发蓝牙(AVRCP 1.4)iPhone应用程序需要了解哪些规范
iOS蓝牙双模;将BLE(GATT)连接到已连接的BR / EDR(A2DP / HFP)立体声耳机
请帮忙我出去了。
先谢谢。
推荐答案
AVRCP是BR / EDR个人资料。它不适用于LE。 LE仅接受采用的规范中 GATT-Based Specifications 部分中列出的项目页面。
AVRCP is a BR/EDR profile. It is not available on LE. LE only accepts the items listed in the GATT-Based Specifications part of adopted specifications page.
您可以在设备上实现HID配置文件(用于输入设备),然后您可以发送按键进行播放/暂停,下一步,上一个,音量增大/减小,静音等。大多数多媒体键按预期工作。
You could implement a HID profile (used for input devices) on your device, then you may send key presses for Play/Pause, Next, Previous, Volume up/down, Mute, etc.. Most multimedia keys work as expected.
这篇关于在iOS上使用BLE可以实现AVRCP吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!