BleComWin 频繁断开连接

icon_rar.giflog.zip

Windows 10工控机 + BLE5.0,安装BleComWin虚拟串口使用。远程连接配对的设备为使用wch9141的板子。

连接后,工作一段时间,BleComWin显示连接断开,然后过几秒后连接又正常。过几秒后BleComWin显示连接又断开。如此一直反复。


之前是可以正常使用的,区别是工控机的蓝牙是BLE4.2,工控机和操作系统相同。能否帮忙分析一下是哪的原因,或是给指明一下,日志中报错情况出现的可能原因。


BleComWin的输出日志如下:


?002.22:05:21:822>> ------BLE虚拟串口管理器 Build() on Dec 24 2020-11:40:45 -------

?003.22:05:21:958>> Bluetooth 4.1, LMPVer:7.602

?004.22:05:21:960>> 刷新-虚拟串口服务: 未启动

?005.22:05:22:013>> Bvspiosvc exit

?006.22:05:22:013>> Bvspiosvc exit

?007.22:05:22:013>> *****OS Version:10.0.9200.RN*64位*Windows 10*

?008.22:05:23:420>> *****软件版本: - 1.3.0.0 - 1.2.0.0 - 1.1.0.0 - 1.1.0.0

?009.22:05:24:076>> 刷新-Ble虚拟串口枚举器状态:正常

?010.22:05:24:554>> 加载1个虚拟串口

?011.22:05:24:570>> 刷新-虚拟串口状态:正常

?012.22:05:24:570>> 刷新-> BleCom硬件:正在扫描设备,发现新硬件时会提示

?013.22:05:25:366>> COM7.工作线程已启动

?014.22:05:25:366>> *COM7.开始连接BLE硬件(CH9141BLE2U)....

?015.22:05:30:571>> 搜索结束:未发现新硬件. 可点<刷新>按钮,再次搜索设备

?016.22:05:36:969>> COM7.硬件BLE接口打开 成功

?017.22:05:36:985>> *COM7(CH9141BLE2U)硬件已连接

?018.22:13:11:418>>? ?向硬件发送数据失败(0/4-6)(HwOnline:1,HwTxIsEmpty:1).

?019.22:13:11:418>> ** COM7.硬件连接状态变为(0):OffLine

?020.22:13:11:442>>? ?硬件已离线,向硬件发送数据失败(0/200-6)(HwOnline:0,HwTxIsEmpty:1).

?021.22:13:12:674>> COM7.硬件接口已关闭

?022.22:13:12:779>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?023.22:13:17:302>> COM7.硬件BLE接口打开 成功

?024.22:13:17:304>> *COM7(CH9141BLE2U)硬件已连接

?025.22:13:21:401>>? ?向硬件发送数据失败(0/140-6)(HwOnline:1,HwTxIsEmpty:1).

?026.22:13:21:401>> COM7 硬件串口参数(115200,8,0,0)设置failure

?027.22:13:21:401>> ** COM7.硬件连接状态变为(0):OffLine

?028.22:13:21:432>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?029.22:13:22:698>> COM7.硬件接口已关闭

?030.22:13:22:807>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?031.22:13:33:037>> COM7.硬件BLE接口打开 成功

?032.22:13:33:039>> *COM7(CH9141BLE2U)硬件已连接

?033.22:13:34:441>>? ?向硬件发送数据失败(0/508-6)(HwOnline:1,HwTxIsEmpty:1).

?034.22:13:34:443>> COM7 硬件串口参数(115200,8,0,0)设置failure

?035.22:13:34:443>> ** COM7.硬件连接状态变为(0):OffLine

?036.22:13:34:572>>? ?硬件已离线,向硬件发送数据失败(0/88-6)(HwOnline:0,HwTxIsEmpty:1).

?037.22:13:34:572>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?038.22:13:34:579>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?039.22:13:34:594>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?040.22:13:34:654>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?041.22:13:35:886>> COM7.硬件接口已关闭

?042.22:13:35:998>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?043.22:13:42:068>> COM7.硬件BLE接口打开 成功

?044.22:13:42:075>> *COM7(CH9141BLE2U)硬件已连接

?045.22:13:43:441>>? ?向硬件发送数据失败(0/492-6)(HwOnline:1,HwTxIsEmpty:1).

?046.22:13:43:443>> COM7 硬件串口参数(115200,8,0,0)设置failure

?047.22:13:43:443>> ** COM7.硬件连接状态变为(0):OffLine

?048.22:13:43:569>>? ?硬件已离线,向硬件发送数据失败(0/88-6)(HwOnline:0,HwTxIsEmpty:1).

?049.22:13:43:570>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?050.22:13:43:576>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?051.22:13:43:593>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?052.22:13:43:654>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?053.22:13:44:902>> COM7.硬件接口已关闭

?054.22:13:45:014>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?055.22:13:49:658>> COM7.硬件BLE接口打开 成功

?056.22:13:49:663>> *COM7(CH9141BLE2U)硬件已连接

?057.22:13:51:047>>? ?向硬件发送数据失败(0/404-6)(HwOnline:1,HwTxIsEmpty:1).

?058.22:13:51:049>> COM7 硬件串口参数(115200,8,0,0)设置failure

?059.22:13:51:049>> ** COM7.硬件连接状态变为(0):OffLine

?060.22:13:51:172>>? ?硬件已离线,向硬件发送数据失败(0/88-6)(HwOnline:0,HwTxIsEmpty:1).

?061.22:13:51:172>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?062.22:13:51:178>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?063.22:13:51:214>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?064.22:13:52:485>> COM7.硬件接口已关闭

?065.22:13:52:591>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?066.22:13:57:054>> COM7.硬件BLE接口打开 成功

?067.22:13:57:059>> *COM7(CH9141BLE2U)硬件已连接

?068.22:13:58:472>>? ?向硬件发送数据失败(0/392-6)(HwOnline:1,HwTxIsEmpty:1).

?069.22:13:58:474>> COM7 硬件串口参数(115200,8,0,0)设置failure

?070.22:13:58:474>> ** COM7.硬件连接状态变为(0):OffLine

?071.22:13:58:600>>? ?硬件已离线,向硬件发送数据失败(0/92-6)(HwOnline:0,HwTxIsEmpty:1).

?072.22:13:58:600>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?073.22:13:58:606>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?074.22:13:58:654>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?075.22:13:59:891>> COM7.硬件接口已关闭

?076.22:14:00:011>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?077.22:14:04:569>> COM7.硬件BLE接口打开 成功

?078.22:14:04:574>> *COM7(CH9141BLE2U)硬件已连接

?079.22:14:05:929>>? ?向硬件发送数据失败(0/396-6)(HwOnline:1,HwTxIsEmpty:1).

?080.22:14:05:930>> COM7 硬件串口参数(115200,8,0,0)设置failure

?081.22:14:05:930>> ** COM7.硬件连接状态变为(0):OffLine

?082.22:14:06:053>>? ?硬件已离线,向硬件发送数据失败(0/88-6)(HwOnline:0,HwTxIsEmpty:1).

?083.22:14:06:053>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?084.22:14:06:059>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?085.22:14:06:094>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?086.22:14:07:372>> COM7.硬件接口已关闭

?087.22:14:07:483>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?088.22:14:11:964>> COM7.硬件BLE接口打开 成功

?089.22:14:11:970>> *COM7(CH9141BLE2U)硬件已连接

?090.22:14:13:370>>? ?向硬件发送数据失败(0/392-6)(HwOnline:1,HwTxIsEmpty:1).

?091.22:14:13:371>> COM7 硬件串口参数(115200,8,0,0)设置failure

?092.22:14:13:371>> ** COM7.硬件连接状态变为(0):OffLine

?093.22:14:13:491>>? ?硬件已离线,向硬件发送数据失败(0/92-6)(HwOnline:0,HwTxIsEmpty:1).

?094.22:14:13:491>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?095.22:14:13:498>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?096.22:14:13:534>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?097.22:14:14:807>> COM7.硬件接口已关闭

?098.22:14:14:919>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?099.22:14:19:449>> COM7.硬件BLE接口打开 成功

?100.22:14:19:454>> *COM7(CH9141BLE2U)硬件已连接

?101.22:14:23:523>>? ?向硬件发送数据失败(0/396-6)(HwOnline:1,HwTxIsEmpty:1).

?102.22:14:23:525>> COM7 硬件串口参数(115200,8,0,0)设置failure

?103.22:14:23:525>> ** COM7.硬件连接状态变为(0):OffLine

?104.22:14:23:652>>? ?硬件已离线,向硬件发送数据失败(0/268-6)(HwOnline:0,HwTxIsEmpty:1).

?105.22:14:23:652>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?106.22:14:23:658>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?107.22:14:23:674>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?108.22:14:23:734>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?109.22:14:24:973>> COM7.硬件接口已关闭

?110.22:14:25:092>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?111.22:14:29:544>> COM7.硬件BLE接口打开 成功

?112.22:14:29:549>> *COM7(CH9141BLE2U)硬件已连接

?113.22:14:30:964>>? ?向硬件发送数据失败(0/388-6)(HwOnline:1,HwTxIsEmpty:1).

?114.22:14:30:965>> COM7 硬件串口参数(115200,8,0,0)设置failure

?115.22:14:30:965>> ** COM7.硬件连接状态变为(0):OffLine

?116.22:14:31:088>>? ?硬件已离线,向硬件发送数据失败(0/92-6)(HwOnline:0,HwTxIsEmpty:1).

?117.22:14:31:089>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?118.22:14:31:095>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?119.22:14:31:114>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?120.22:14:31:173>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?121.22:14:32:419>> COM7.硬件接口已关闭

?122.22:14:32:524>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?123.22:14:37:030>> COM7.硬件BLE接口打开 成功

?124.22:14:37:035>> *COM7(CH9141BLE2U)硬件已连接

?125.22:14:38:419>>? ?向硬件发送数据失败(0/392-6)(HwOnline:1,HwTxIsEmpty:1).

?126.22:14:38:420>> COM7 硬件串口参数(115200,8,0,0)设置failure

?127.22:14:38:420>> ** COM7.硬件连接状态变为(0):OffLine

?128.22:14:38:559>>? ?硬件已离线,向硬件发送数据失败(0/88-6)(HwOnline:0,HwTxIsEmpty:1).

?129.22:14:38:560>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?130.22:14:38:566>>? ?硬件已离线,向硬件发送数据失败(0/12-6)(HwOnline:0,HwTxIsEmpty:1).

?131.22:14:38:613>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?132.22:14:39:861>> COM7.硬件接口已关闭

?133.22:14:39:972>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?134.22:14:46:030>> COM7.硬件BLE接口打开 成功

?135.22:14:46:035>> *COM7(CH9141BLE2U)硬件已连接

?136.22:14:49:159>>? ?向硬件发送数据失败(0/496-6)(HwOnline:1,HwTxIsEmpty:1).

?137.22:14:49:161>> COM7 硬件串口参数(115200,8,0,0)设置failure

?138.22:14:49:161>> ** COM7.硬件连接状态变为(0):OffLine

?139.22:14:49:283>>? ?硬件已离线,向硬件发送数据失败(0/204-6)(HwOnline:0,HwTxIsEmpty:1).

?140.22:14:49:284>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?141.22:14:49:290>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?142.22:14:49:300>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?143.22:14:49:353>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?144.22:14:50:598>> COM7.硬件接口已关闭

?145.22:14:50:704>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?146.22:14:55:368>> COM7.硬件BLE接口打开 成功

?147.22:14:55:376>> *COM7(CH9141BLE2U)硬件已连接

?148.22:14:56:603>>? ?向硬件发送数据失败(0/404-6)(HwOnline:1,HwTxIsEmpty:1).

?149.22:14:56:606>> COM7 硬件串口参数(115200,8,0,0)设置failure

?150.22:14:56:606>> ** COM7.硬件连接状态变为(0):OffLine

?151.22:14:56:780>>? ?硬件已离线,向硬件发送数据失败(0/76-6)(HwOnline:0,HwTxIsEmpty:1).

?152.22:14:56:781>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?153.22:14:56:787>>? ?硬件已离线,向硬件发送数据失败(0/12-6)(HwOnline:0,HwTxIsEmpty:1).

?154.22:14:56:798>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?155.22:14:56:854>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?156.22:14:58:109>> COM7.硬件接口已关闭

?157.22:14:58:221>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?158.22:15:03:626>> COM7.硬件BLE接口打开 成功

?159.22:15:03:634>> *COM7(CH9141BLE2U)硬件已连接

?160.22:15:07:747>>? ?向硬件发送数据失败(0/452-6)(HwOnline:1,HwTxIsEmpty:1).

?161.22:15:07:750>> COM7 硬件串口参数(115200,8,0,0)设置failure

?162.22:15:07:750>> ** COM7.硬件连接状态变为(0):OffLine

?163.22:15:07:901>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?164.22:15:07:901>>? ?硬件已离线,向硬件发送数据失败(0/272-6)(HwOnline:0,HwTxIsEmpty:1).

?165.22:15:07:912>>? ?硬件已离线,向硬件发送数据失败(0/12-6)(HwOnline:0,HwTxIsEmpty:1).

?166.22:15:07:960>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?167.22:15:08:027>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?168.22:15:09:481>> COM7.硬件接口已关闭

?169.22:15:09:593>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?170.22:15:14:306>> COM7.硬件BLE接口打开 成功

?171.22:15:14:319>> *COM7(CH9141BLE2U)硬件已连接

?172.22:15:15:679>>? ?向硬件发送数据失败(0/420-6)(HwOnline:1,HwTxIsEmpty:1).

?174.22:15:15:681>> COM7 硬件串口参数(115200,8,0,0)设置failure

?173.22:15:15:681>> ** COM7.硬件连接状态变为(0):OffLine

?175.22:15:15:799>>? ?硬件已离线,向硬件发送数据失败(0/88-6)(HwOnline:0,HwTxIsEmpty:1).

?176.22:15:15:799>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?177.22:15:15:809>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?178.22:15:15:827>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?179.22:15:17:075>> COM7.硬件接口已关闭

?180.22:15:17:186>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?181.22:15:24:374>> COM7.硬件BLE接口打开 成功

?182.22:15:25:284>> *COM7(CH9141BLE2U)硬件已连接

?183.22:15:25:774>>? ?向硬件发送数据失败(0/512-6)(HwOnline:1,HwTxIsEmpty:1).

?184.22:15:25:774>> ** COM7.硬件连接状态变为(0):OffLine

?185.22:15:25:892>>? ?硬件已离线,向硬件发送数据失败(0/152-6)(HwOnline:0,HwTxIsEmpty:1).

?186.22:15:25:898>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?187.22:15:25:953>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?188.22:15:26:013>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?189.22:15:26:073>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?190.22:15:26:133>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?191.22:15:26:193>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?192.22:15:26:253>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?193.22:15:26:306>> COM7 硬件串口参数(115200,8,0,0)设置failure

?194.22:15:26:312>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?195.22:15:26:314>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?196.22:15:26:374>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?197.22:15:27:628>> COM7.硬件接口已关闭

?198.22:15:27:740>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?199.22:15:32:277>> COM7.硬件BLE接口打开 成功

?200.22:15:32:283>> *COM7(CH9141BLE2U)硬件已连接

?201.22:15:33:694>>? ?向硬件发送数据失败(0/396-6)(HwOnline:1,HwTxIsEmpty:1).

?202.22:15:33:696>> COM7 硬件串口参数(115200,8,0,0)设置failure

?203.22:15:33:696>> ** COM7.硬件连接状态变为(0):OffLine

?204.22:15:33:817>>? ?硬件已离线,向硬件发送数据失败(0/92-6)(HwOnline:0,HwTxIsEmpty:1).

?205.22:15:33:818>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?206.22:15:33:823>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?207.22:15:33:874>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?208.22:15:35:123>> COM7.硬件接口已关闭

?209.22:15:35:235>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?210.22:15:39:897>> COM7.硬件BLE接口打开 成功

?211.22:15:39:904>> *COM7(CH9141BLE2U)硬件已连接

?212.22:15:43:935>>? ?向硬件发送数据失败(0/404-6)(HwOnline:1,HwTxIsEmpty:1).

?213.22:15:43:937>> COM7 硬件串口参数(115200,8,0,0)设置failure

?214.22:15:43:937>> ** COM7.硬件连接状态变为(0):OffLine

?215.22:15:44:022>>? ?硬件已离线,向硬件发送数据失败(0/268-6)(HwOnline:0,HwTxIsEmpty:1).

?216.22:15:44:023>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?217.22:15:44:033>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?218.22:15:44:074>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?219.22:15:45:329>> COM7.硬件接口已关闭

?220.22:15:45:438>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?221.22:15:50:262>> COM7.硬件BLE接口打开 成功

?222.22:15:50:275>> *COM7(CH9141BLE2U)硬件已连接

?223.22:15:51:097>>? ?向硬件发送数据失败(0/416-6)(HwOnline:1,HwTxIsEmpty:1).

?224.22:15:51:097>> ** COM7.硬件连接状态变为(0):OffLine

?225.22:15:52:925>> COM7 硬件串口参数(115200,8,0,0)设置failure

?226.22:15:52:925>>? ?硬件已离线,向硬件发送数据失败(0/92-6)(HwOnline:0,HwTxIsEmpty:1).

?227.22:15:52:985>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?228.22:15:52:986>>? ?硬件已离线,向硬件发送数据失败(0/84-6)(HwOnline:0,HwTxIsEmpty:1).

?229.22:15:53:018>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?230.22:15:54:301>> COM7.硬件接口已关闭

?231.22:15:54:413>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?232.22:16:00:673>> COM7.硬件BLE接口打开 成功

?233.22:16:00:680>> *COM7(CH9141BLE2U)硬件已连接

?234.22:16:02:032>>? ?向硬件发送数据失败(0/512-6)(HwOnline:1,HwTxIsEmpty:1).

?235.22:16:02:034>> COM7 硬件串口参数(115200,8,0,0)设置failure

?236.22:16:02:034>> ** COM7.硬件连接状态变为(0):OffLine

?237.22:16:02:162>>? ?硬件已离线,向硬件发送数据失败(0/88-6)(HwOnline:0,HwTxIsEmpty:1).

?238.22:16:02:162>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?239.22:16:02:168>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?240.22:16:02:194>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?241.22:16:02:254>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?242.22:16:03:493>> COM7.硬件接口已关闭

?243.22:16:03:604>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?244.22:16:08:262>> COM7.硬件BLE接口打开 成功

?245.22:16:08:270>> *COM7(CH9141BLE2U)硬件已连接

?246.22:16:09:636>>? ?向硬件发送数据失败(0/404-6)(HwOnline:1,HwTxIsEmpty:1).

?247.22:16:09:638>> ** COM7.硬件连接状态变为(0):OffLine

?248.22:16:09:638>> COM7 硬件串口参数(115200,8,0,0)设置failure

?249.22:16:09:763>>? ?硬件已离线,向硬件发送数据失败(0/88-6)(HwOnline:0,HwTxIsEmpty:1).

?250.22:16:09:764>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?251.22:16:09:815>>? ?硬件已离线,向硬件发送数据失败(0/12-6)(HwOnline:0,HwTxIsEmpty:1).

?252.22:16:11:106>> COM7.硬件接口已关闭

?253.22:16:11:362>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?254.22:16:15:914>> COM7.硬件BLE接口打开 成功

?255.22:16:15:920>> *COM7(CH9141BLE2U)硬件已连接

?256.22:16:17:244>>? ?向硬件发送数据失败(0/408-6)(HwOnline:1,HwTxIsEmpty:1).

?257.22:16:17:246>> COM7 硬件串口参数(115200,8,0,0)设置failure

?258.22:16:17:246>> ** COM7.硬件连接状态变为(0):OffLine

?260.22:16:17:376>>? ?硬件已离线,向硬件发送数据失败(0/84-6)(HwOnline:0,HwTxIsEmpty:1).

?259.22:16:17:376>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?261.22:16:17:411>>? ?硬件已离线,向硬件发送数据失败(0/12-6)(HwOnline:0,HwTxIsEmpty:1).

?262.22:16:17:434>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?263.22:16:18:714>> COM7.硬件接口已关闭

?264.22:16:18:826>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?265.22:16:23:383>> COM7.硬件BLE接口打开 成功

?266.22:16:23:389>> *COM7(CH9141BLE2U)硬件已连接

?267.22:16:24:772>>? ?向硬件发送数据失败(0/400-6)(HwOnline:1,HwTxIsEmpty:1).

?269.22:16:24:774>> ** COM7.硬件连接状态变为(0):OffLine

?268.22:16:24:774>> COM7 硬件串口参数(115200,8,0,0)设置failure

?270.22:16:24:897>>? ?硬件已离线,向硬件发送数据失败(0/88-6)(HwOnline:0,HwTxIsEmpty:1).

?271.22:16:24:898>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?272.22:16:24:939>>? ?硬件已离线,向硬件发送数据失败(0/12-6)(HwOnline:0,HwTxIsEmpty:1).

?273.22:16:26:194>> COM7.硬件接口已关闭

?274.22:16:26:306>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?275.22:16:30:763>> COM7.硬件BLE接口打开 成功

?276.22:16:30:768>> *COM7(CH9141BLE2U)硬件已连接

?277.22:16:32:196>>? ?向硬件发送数据失败(0/392-6)(HwOnline:1,HwTxIsEmpty:1).

?279.22:16:32:197>> ** COM7.硬件连接状态变为(0):OffLine

?278.22:16:32:197>> COM7 硬件串口参数(115200,8,0,0)设置failure

?280.22:16:32:324>>? ?硬件已离线,向硬件发送数据失败(0/92-6)(HwOnline:0,HwTxIsEmpty:1).

?281.22:16:32:325>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?282.22:16:32:330>>? ?硬件已离线,向硬件发送数据失败(0/8-6)(HwOnline:0,HwTxIsEmpty:1).

?283.22:16:32:374>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?284.22:16:33:639>> COM7.硬件接口已关闭

?285.22:16:33:751>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?286.22:17:56:081>> COM7.硬件BLE接口打开 成功

?287.22:17:56:081>> *COM7(CH9141BLE2U)硬件已连接

?288.22:18:34:244>>? ?向硬件发送数据失败(0/4-6)(HwOnline:1,HwTxIsEmpty:1).

?289.22:18:34:244>> ** COM7.硬件连接状态变为(0):OffLine

?290.22:18:34:375>>? ?硬件已离线,向硬件发送数据失败(0/180-1)(HwOnline:0,HwTxIsEmpty:1).

?291.22:18:35:583>> COM7.硬件接口已关闭

?292.22:18:35:695>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?293.22:18:40:639>> COM7.硬件BLE接口打开 成功

?294.22:18:40:644>> *COM7(CH9141BLE2U)硬件已连接

?295.22:18:44:714>>? ?向硬件发送数据失败(0/420-6)(HwOnline:1,HwTxIsEmpty:1).

?296.22:18:44:716>> COM7 硬件串口参数(115200,8,0,0)设置failure

?297.22:18:44:722>>? ?向硬件发送数据失败(0/268-6)(HwOnline:1,HwTxIsEmpty:1).

?298.22:18:44:728>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?299.22:18:44:734>>? ?向硬件发送数据失败(0/4-6)(HwOnline:1,HwTxIsEmpty:1).

?300.22:18:44:759>> ** COM7.硬件连接状态变为(0):OffLine

?301.22:18:44:884>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?302.22:18:46:108>> COM7.硬件接口已关闭

?303.22:18:46:219>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?304.22:18:52:683>> COM7.硬件BLE接口打开 成功

?305.22:18:52:701>> *COM7(CH9141BLE2U)硬件已连接

?306.22:18:53:819>>? ?向硬件发送数据失败(0/512-6)(HwOnline:1,HwTxIsEmpty:1).

?307.22:18:53:821>> COM7 硬件串口参数(115200,8,0,0)设置failure

?308.22:18:53:821>> ** COM7.硬件连接状态变为(0):OffLine

?309.22:18:53:999>>? ?硬件已离线,向硬件发送数据失败(0/84-6)(HwOnline:0,HwTxIsEmpty:1).

?310.22:18:54:000>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?311.22:18:54:021>>? ?硬件已离线,向硬件发送数据失败(0/12-6)(HwOnline:0,HwTxIsEmpty:1).

?312.22:18:54:062>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?313.22:18:54:103>>? ?硬件已离线,向硬件发送数据失败(0/4-6)(HwOnline:0,HwTxIsEmpty:1).

?314.22:18:55:377>> COM7.硬件接口已关闭

?315.22:18:55:503>> *COM7.重新连接BLE硬件(CH9141BLE2U)....

?316.22:19:00:243>> COM7.硬件BLE接口打开 成功

?317.22:19:00:265>> *COM7(CH9141BLE2U)硬件已连接

?318.22:19:01:441>>? ?向硬件发送数据失败(0/408-6)(HwOnline:1,HwTxIsEmpty:1).

?320.22:19:01:441>> COM7 硬件串口参数(115200,8,0,0)设置failure

?319.22:19:01:441>> ** COM7.硬件连接状态变为(0):OffLine

?321.22:19:01:628>> COM7.硬件串口流控设置(HwAutoFlowCtrl=0,DTR=0,RTS=0)failure

?322.22:19:02:940>> COM7.硬件接口已关闭

?323.22:19:03:065>> *COM7.重新连接BLE硬件(CH9141BLE2U)....



上面显示硬件连接断开,检查一下硬件连接的时候的稳定性。

建议使用手机端的APP进行调试,即BLE调试助手。

电脑端有一个软件叫BLE_UART可以尝试使用。


只有登录才能回复,可以选择微信账号登录