本帖最后由 XCray 于 2022-9-18 08:49 编辑
搜到一篇博文,作者成功的从遥控器获取了语音数据,并利用百度语音识别转成文字然后用于交互控制——正是完整的效果。
但是,他用的遥控器和我手上的魔百盒遥控器不一样,方法也无法参考。
~~~~~~~~~
魔百盒遥控器的service和Characteristic如下,只有一个有notify,订阅后拿不到任何数据,怀疑并非传输语音而是ota用的:
[Service] 0000d0ff-3c17-d293-8e48-14fe2e4da212 (Handle: 84): Unknown
[Characteristic] 0000ffd4-0000-1000-8000-00805f9b34fb (Handle: 91): Vendor specific (read), Value: b'\x01\x90>\x08'
[Characteristic] 0000ffd8-0000-1000-8000-00805f9b34fb (Handle: 95): Vendor specific (write-without-response), Value: None
[Characteristic] 0000ffd1-0000-1000-8000-00805f9b34fb (Handle: 85): Vendor specific (write-without-response), Value: None
[Characteristic] 0000ffd5-0000-1000-8000-00805f9b34fb (Handle: 93): Vendor specific (read), Value: b''
[Characteristic] 0000fff1-0000-1000-8000-00805f9b34fb (Handle: 97): Vendor specific (read), Value: b'\x05\x01\x00\x07\x00\x08\x00\x00\xf0\x0f\x00\x00'
[Characteristic] 0000ffd2-0000-1000-8000-00805f9b34fb (Handle: 87): Vendor specific (read), Value: b'j"m\xcc\xf3\x0c'
[Characteristic] 0000ffd3-0000-1000-8000-00805f9b34fb (Handle: 89): Vendor specific (read), Value: b'\x01\x90\x10\xb8'
[Characteristic] 0000fff2-0000-1000-8000-00805f9b34fb (Handle: 99): Vendor specific (write), Value: None
[Characteristic] 0000ffe0-0000-1000-8000-00805f9b34fb (Handle: 101): Vendor specific (read), Value: b'\x00\x00\x00\x01\x01\x00\x00\x00\x01\x90\x10\xb8\x01\x90>\x08'
[Service] 00006287-3c17-d293-8e48-14fe2e4da212 (Handle: 103): Unknown
[Characteristic] 00006487-3c17-d293-8e48-14fe2e4da212 (Handle: 106): Unknown (write,notify), Value: None
[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 108): Client Characteristic Configuration) | Value: b'\x00\x00'
[Characteristic] 00006387-3c17-d293-8e48-14fe2e4da212 (Handle: 104): Unknown (write-without-response), Value: None
[Service] 00001801-0000-1000-8000-00805f9b34fb (Handle: 80): Generic Attribute Profile
[Characteristic] 00002a05-0000-1000-8000-00805f9b34fb (Handle: 81): Service Changed (indicate), Value: None
[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 83): Client Characteristic Configuration) | Value: b'\x00\x00'
[Service] 0000180a-0000-1000-8000-00805f9b34fb (Handle: 18): Device Information
[Characteristic] 00002a29-0000-1000-8000-00805f9b34fb (Handle: 19): Manufacturer Name String (read), Value: b'IFLYTEK_BT2_RCU\x00'
[Characteristic] 00002a26-0000-1000-8000-00805f9b34fb (Handle: 27): Firmware Revision String (read), Value: b'CMIOT0B_B300\x00'
[Characteristic] 00002a28-0000-1000-8000-00805f9b34fb (Handle: 29): Software Revision String (read), Value: b'CMIOT0B_B300_R01_22201\x00'
[Characteristic] 00002a50-0000-1000-8000-00805f9b34fb (Handle: 35): PnP ID (read), Value: b'\x05\x16\x04\x00\x03\x05\x05'
[Characteristic] 00002a27-0000-1000-8000-00805f9b34fb (Handle: 25): Hardware Revision String (read), Value: b'XFRC_2580C_V1.0\x00'
[Characteristic] 00002a2a-0000-1000-8000-00805f9b34fb (Handle: 33): IEEE 11073-20601 Regulatory Cert. Data List (read), Value: b'XFRCB22-B01-B304\x00'
[Characteristic] 00002a23-0000-1000-8000-00805f9b34fb (Handle: 31): System ID (read), Value: b'\x00\x01\x02\x00\x00\x03\x04\x05'
[Characteristic] 00002a25-0000-1000-8000-00805f9b34fb (Handle: 23): Serial Number String (read), Value: b'310513060312471687'
[Characteristic] 00002a24-0000-1000-8000-00805f9b34fb (Handle: 21): Model Number String (read), Value: b'XFRCB22-B01-B304\x00'
[Service] 0000180f-0000-1000-8000-00805f9b34fb (Handle: 14): Battery Service
[Characteristic] 00002a19-0000-1000-8000-00805f9b34fb (Handle: 15): Battery Level (read,notify), Value: b'W'
[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 17): Client Characteristic Configuration) | Value: b'\x01\x00'
[Service] 00001801-0000-1000-8000-00805f9b34fb (Handle: 1): Generic Attribute Profile
[Characteristic] 00002a05-0000-1000-8000-00805f9b34fb (Handle: 2): Service Changed (indicate), Value: None
[Descriptor] 00002902-0000-1000-8000-00805f9b34fb (Handle: 4): Client Characteristic Configuration) | Value: b'\x02\x00'
可以看出,这是一个科大讯飞的产品,IFLYTEK_BT2_RCU
|