ISSC、红果蓝牙设备日志分析

来源:互联网 发布:语音广告合成软件 编辑:程序博客网 时间:2024/05/18 09:21

蓝牙设备获取不到设备信息,原因分析。

红果蓝牙:
2015-12-07 23:31:13.012 **[3533:356162] [CBController] connectDevice: Gprinter_BLE_1007
2015-12-07 23:31:13.627 **[3533:356162] [CBController] Service found with UUID: Device Information
2015-12-07 23:31:13.628 *[3533:356162] [CBController] Service found with UUID: **********
2015-12-07 23:31:13.775 **[3533:356162] –dog–error:(null)
2015-12-07 23:31:13.776 **[3533:356162]
[CBController] didDiscov******teristicsForService: Device Information
2015-12-07 23:31:13.777 **[3533:356162] [CBController] found system ID char
2015-12-07 23:31:13.777 **[3533:356162] found manufacture name char
2015-12-07 23:31:13.851 **[3533:356162] –dog–error:(null)
2015-12-07 23:31:13.852 **[3533:356162]
[CBController] didDiscov******teristicsForService: ****
2015-12-07 23:31:13.852 **[3533:356162] found TRANS_RX
2015-12-07 23:31:13.853 **[3533:356162] [MyPeripheral] setTransDataNotification UUID = (null)
2015-12-07 23:31:13.853 **[3533:356162] [ConnectViewController] updateMyPeripheralForNewConnected
2015-12-07 23:31:13.888 **[3533:356162] [CBController] didWriteValueForCharacteristic error msg:0, (null), (null)
2015-12-07 23:31:13.890 **[3533:356162] characteristic data = (null) id = BEF8D6C9-9C21-4C9E-B632-BD58C1009F9F
2015-12-07 23:31:15.893 **[3533:356162] [CBController] didWriteValueForCharacteristic error msg:0, (null), (null)
2015-12-07 23:31:15.894 **[3533:356162] characteristic data = (null) id = B—————-A

ISSC蓝牙:
2015-12-07 23:34:15.665 **[3577:357362] [CBController] connectDevice: Gpinter
2015-12-07 23:34:16.679 **[3577:357362] [CBController] Service found with UUID: Device Information
2015-12-07 23:34:16.679 **[3577:357362] [CBController] Service found with UUID: 495353——–205E455
2015-12-07 23:34:16.799 **[3577:357362] –dog–error:(null)
2015-12-07 23:34:16.799 **[3577:357362]
[CBController] didDiscov******teristicsForService: Device Information
2015-12-07 23:34:16.799 **[3577:357362] found manufacture name char
2015-12-07 23:34:16.799 **[3577:357362] found model number char
2015-12-07 23:34:16.800 **[3577:357362] found serial number char
2015-12-07 23:34:16.800 **[3577:357362] found hardware revision char
2015-12-07 23:34:16.800 **[3577:357362] found firmware revision char
2015-12-07 23:34:16.800 **[3577:357362] found software revision char
2015-12-07 23:34:16.800 **[3577:357362] [CBController] found system ID char
2015-12-07 23:34:16.801 **[3577:357362] found certification data list char
2015-12-07 23:34:16.919 **[3577:357362] –dog–error:(null)
2015-12-07 23:34:16.919 **[3577:357362]
[CBController] didDiscov******teristicsForService: 49535343-FE7D-4AE5-8FA9-9FAFD205E455
2015-12-07 23:34:16.920 **[3577:357362] found CONNECTION_PARAMETER_CHAR
2015-12-07 23:34:16.920 **[3577:357362] found UUIDSTR_AIR_PATCH_CHAR
2015-12-07 23:34:16.921 **[3577:357362] found TRANS_TX
2015-12-07 23:34:16.921 **[3577:357362] found TRANS_RX
2015-12-07 23:34:16.921 **[3577:357362] [MyPeripheral] setTransDataNotification UUID = 49535343-1E4D-4BD9-BA61-23C647249616
2015-12-07 23:34:16.922 **[3577:357362] [ConnectViewController] updateMyPeripheralForNewConnected
2015-12-07 23:34:17.039 **[3577:357362] [CBController] didUpdateNotificationStateForCharacteristic, UUID = 49535343-ACA3-481C-91EC-D85E28A60318
2015-12-07 23:34:18.990 **[3577:357362] [CBController] didUpdateValueForCharacteristic <5f475032 31323054 00>

分析
ISSC不支持Tx、Rx同样命名的处理,需要微调。
setTransDataNotification UUID = 49535343-1E4D-4BD9-BA61-23C647249616
此信息为解决问题的关键。

0 0
原创粉丝点击