完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,我有一个关于BM20蓝牙模块的问题。这个模块能够提供有关播放的文件的元数据信息吗?如果是这样的话,怎么才能做到呢?我已经阅读了文档,但我真的无法确定这是如何实现的。我也不完全理解PBAP配置文件是如何与这个模块一起使用的。有人能提供一些信息吗?谢谢您!
以上来自于百度翻译 以下为原文 Hello, I have a question regarding the BM20 Bluetooth module. Is this module capable of providing metadata information about the file played? If so, how can that be achieved? I have read the documentation but I cannot really tell how or if this can be achieved. Also, I don't fully understand how the PBAP profile can be used with this module. Can someone provide some information? Thank you ! |
|
相关推荐
6个回答
|
|
您好,因为BM20支持AVRCP,您可以获得标题/专辑元数据信息。但是,您需要实现所有必要的例程来处理注册和解码必要的AVRCP协议/事件过程。换句话说,BM20简单地提供了基本的AVRCP链路层,并且需要在其上实现更高的服务例程。为此,您需要了解AVRCP协议规范的细节。虽然数据表表示它支持PBAP,但我相信它不支持销售模块。就我所测试的,所有PBAP相关命令都被拒绝。它可能支持一些特殊固件版本,但不支持在销售模块上运行的固件。
以上来自于百度翻译 以下为原文 Hi, Since BM20 supports AVRCP, you can get title/album meta data information being played. However, you need to implement all necessary routine to handle register and decode necessary AVRCP protocol/event procedures. In other words, BM20 simply provides basic AVRCP link layer and you need to implement higher service routines on it. For that purpose, you'll need to understand detail of AVRCP protocol specification. Although data sheet says it supports PBAP, I believe it is NOT supported on selling modules. As far as I have tested, all PBAP related commands are rejected. It may supported under some special firmware versions, but not supported on the firmware running on the selling modules. |
|
|
|
非常感谢您的回复。关于PBAP,这是不幸的,并且在某种程度上出乎意料,因为它们在数据表中指定了配置文件被支持。我将尝试找出如何使用AVRCP来获取跟踪信息并更新这个线程。
以上来自于百度翻译 以下为原文 Thank you so much for your reply. Regarding the PBAP, that's unfortunate and somehow unexpected since they specify in datasheet that the profile is supported. I will try and figure out how to use the AVRCP to get track info and update this thread. |
|
|
|
你好,我用这个模块玩了一点,特别是用AVRCP命令。我尝试了一些简单的东西:GETPACKSTATUS(PDU 0x30)。来自MCU的命令是:0xAA0x00 0x06 0x0B 0x00 0x30 0x00 0x00 0x00 0xbf.我得到的响应是:0x00 0xA0x00 0x03 0x00 0x0B 0x00 0xf2--这是ACK事件和似乎命令接受了0x00 0xA0x150x150x10x0x0x0x0x00 0x190x58 0x00 0x00 0x09 0x00 0x37 0x02 0x59 0x00 0x36 0x36 0x45 0xd2 0x01 0xf3,上述似乎是avcx指定的rSP事件。但我无法理解这些数据,我认为对AVRCP命令的响应是从0x30开始的,但是,以前的数据是什么呢?有人能帮我吗?我举了这个简单的例子,只是为了开始和以后尝试和实现GETELMENTITIONS AVRCP命令。我不明白为什么这个模块在数据表中指定它实现AVRCP1.5,并且UART命令文档指定使用AVRCP 1.3命令。使用所提供的IS20XXSY203UI V01.03.4Y20160922工具不能启用?这个设备有新的FW吗?或者更好的工具?亚历克斯
以上来自于百度翻译 以下为原文 Hello, I played a bit with the module, especially with the AVRCP commands. I tried something simple like: GetPlayStatus (PDU 0x30) The command from MCU is: 0xAA 0x00 0x06 0x0B 0x00 0x30 0x00 0x00 0x00 0xBF The response that I got is: 0x00 0xAA 0x00 0x03 0x00 0x0B 0x00 0xF2 - Which is the ACK event and seems that the command was accepted 0x00 0xAA 0x00 0x15 0x1A 0x00 0x0C 0x48 0x00 0x00 0x19 0x58 0x30 0x00 0x00 0x09 0x00 0x37 0x02 0x59 0x00 0x36 0x45 0xD2 0x01 0xF3 The above seems to be the AVC_Specific_Rsp event. But I don't manage to understand the data. I would say that the response to the AVRCP command starts with 0x30, but then, what is the previous data? Could someone help me with this? I took this simple example just to start gradually and later try and implement the GetElementAttributes AVRCP command. I don't understand why this module has in datasheet specified that it implements AVRCP 1.5 and the UART command document specifies using AVRCP 1.3 commands. Also, why PBAP profile cannot be enabled using the provided IS20XXS_203UI v01.03.4_20160922 tool? Is there a newer FW for this device? Or maybe better tooling? Alex |
|
|
|
亚历克斯,这是我可以从您的自卸文件0x00 0xAA 0x00 0x15 0x1a 0x000 0x0c响应中读取的:STATEL0x48子UNITY类型:面板,子UnITID ID:900x00 OPCOE:供应商依赖0x00 0x190x58公司ID0x30 PDU ID:播放器STATES0x00 RESVED0X00 0x09参数长度=90x00 0x37 0x02 0x59歌曲长度=3605081MS=60分钟5 SEC0x00 0x36 0x45 0xD2当前位置=59min 16秒.0x01的STAs:Prime0xF3I完全同意您的BMXX没有提供足够的技术文档以供其特征和嗯,支持活动很差。嗯,它不值得商业产品开发,但是玩这个令人困惑的装置是一个业余爱好者的乐趣。下面是我的博客文章描述了我的AVRCP在日本的发现。我希望谷歌能为你翻译。HTTPS://BLOG.Goo.N.JP/SIRIUS 506/D/20170918我的理解是BM2X是ROM B。产品和你不能更新它的固件。BM6X是基于闪存的产品和固件升级。
以上来自于百度翻译 以下为原文 Alex, Here's what I can read from your dump. 0x00 0xAA 0x00 0x15 0x1A 0x00 0x0C Response: STABLE 0x48 subunit_type : PANEL, subunit_id: 0 0x00 Opcoe: vendor dependent 0x00 0x19 0x58 Company ID 0x30 PDU ID: Player Status 0x00 Reseved 0x00 0x09 Parameter Length = 9 0x00 0x37 0x02 0x59 Song length = 3605081ms = 60 min 5 sec 0x00 0x36 0x45 0xD2 Current position = 59min 16 sec. 0x01 Staus of playing : Playing 0xF3 I fully agree with you BMxx does't provide enough technical documentation for its features and forum support activity is poor. IMHO, It doesn't worth for commercial product development but it is FUN to play with this PUZZLING device as a Hobbyist. Below is my blog article describes my AVRCP findings in Japanese. I hope Google can translate it for you. https://blog.goo.ne.jp/sirius506/d/20170918 My understanding is BM2x is ROM based product and you can't update its firmware. BM6x is flash based product and firmware upgradable. |
|
|
|
您好,很抱歉,延迟答复。非常感谢您澄清的“附加”数据作为答复发送。可以禁用模块自动作出的AVRCP(GETPayStand,等等)的查询吗?再次感谢您的帮助!
以上来自于百度翻译 以下为原文 Hello and sorry for the delayed reply. Thank you so much for clarifying the thing about the "additional" data sent as reply. Is it possible to disable the queries that the module makes automatically to AVRCP (GetPayStatus, etc)? Thank you once again for the help! |
|
|
|
嗨,对不起,这次我没有给你答复。我也不知道如何禁用设备的自动AVRCP行为。
以上来自于百度翻译 以下为原文 Hi, Sorry, but I don't have answer for you this time. I also can't figure out how to disable the devices's automatic AVRCP behaviors. |
|
|
|
只有小组成员才能发言,加入小组>>
5184 浏览 9 评论
2005 浏览 8 评论
1932 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3179 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2230 浏览 5 评论
740浏览 1评论
626浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
512浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
638浏览 0评论
536浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-28 17:18 , Processed in 1.275831 second(s), Total 86, Slave 69 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号