Part Number:CC2652R
你好,最近再测试的时候,有两块开发板出现链接不上的问题。下面截图:
这两块是一直都连接不上,但是也一直能搜索到信号。 下面是log文件
[2022-03-29 14:43:46,929] root – INFO -Example Input Parameters
———————————————————————-
Coordinator comport : COM11
Passive comports : []
Connection monitor comports : None
Active responder comports : None
Responder BD Address : []
Scan time : 10 Sec
Connection Interval : 100 mSec
Enable Continues Connection Interval : No
Enable Angle Of Arrival (AoA) : Yes
AoA Enable Filter : No
AoA Slot Duration : 2
AoA Sample Rate : 4
AoA Sample Size : 1
AoA CTE Length : 20
AoA CTE Interval : 2
Data Collection Duration : 15
Data Collection iteration : 1
Provide Post Analyze Function : Yes
Example Log Dir : D:\ti\simplelink_cc13xx_cc26xx_sdk_5_40_00_40\tools\ble5stack\rtls_agent\examples\rtls_connected_log
Example Log File Name : 03_29_2022_14_43_46_rtls_connected.log
———————————————————————-
[2022-03-29 14:43:46,933] root – INFO – Setting nodes :[2022-03-29 14:43:46,935] root – INFO – Message receiver started
[2022-03-29 14:43:46,936] root – INFO – RTLS Manager started
[2022-03-29 14:43:48,951] root – INFO – Done setting node
[2022-03-29 14:43:48,951] rtlsnode – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E <– {'type': 'Command', 'command': 'RTLS_CMD_RESET_DEVICE', 'payload': None}
[2022-03-29 14:43:48,978] root – WARNING – ConstError('parsing expected 254 but parsed 0')
[2022-03-29 14:43:49,009] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_RESET_DEVICE', 'payload': {'raw_payload': ''}}
[2022-03-29 14:43:49,063] rtlsnode – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E <– {'type': 'Command', 'command': 'RTLS_CMD_SCAN', 'payload': None}
[2022-03-29 14:43:49,093] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Response', 'command': 'RTLS_CMD_SCAN', 'payload': {'status': 'RTLS_SUCCESS'}}
[2022-03-29 14:43:49,153] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_SCAN', 'payload': {'eventType': 19, 'addrType': 0, 'addr': '80:6F:B0:1F:04:D1', 'rssi': -40, 'advSID': 255, 'periodicAdvInt': 0, 'dataLen': 18, 'data': '0E:08:52:54:4C:53:52:65:73:70:6F:6E:64:65:72:02:01:06'}}
[2022-03-29 14:43:51,118] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_SCAN_STOP', 'payload': {'status': 'RTLS_SUCCESS'}}
[2022-03-29 14:43:51,159] rtlsnode – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E <– {'type': 'Command', 'command': 'RTLS_CMD_SCAN', 'payload': None}
[2022-03-29 14:43:51,188] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Response', 'command': 'RTLS_CMD_SCAN', 'payload': {'status': 'RTLS_SUCCESS'}}
[2022-03-29 14:43:51,264] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_SCAN', 'payload': {'eventType': 19, 'addrType': 0, 'addr': '80:6F:B0:1F:04:D1', 'rssi': -35, 'advSID': 255, 'periodicAdvInt': 0, 'dataLen': 18, 'data': '0E:08:52:54:4C:53:52:65:73:70:6F:6E:64:65:72:02:01:06'}}
[2022-03-29 14:43:53,198] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_SCAN_STOP', 'payload': {'status': 'RTLS_SUCCESS'}}
[2022-03-29 14:43:53,255] rtlsnode – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E <– {'type': 'Command', 'command': 'RTLS_CMD_SCAN', 'payload': None}
[2022-03-29 14:43:53,283] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Response', 'command': 'RTLS_CMD_SCAN', 'payload': {'status': 'RTLS_SUCCESS'}}
[2022-03-29 14:43:53,359] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_SCAN', 'payload': {'eventType': 0, 'addrType': 0, 'addr': '80:6F:B0:1F:04:D1', 'rssi': -48, 'advSID': 1, 'periodicAdvInt': 240, 'dataLen': 18, 'data': '0E:08:52:54:4C:53:52:65:73:70:6F:6E:64:65:72:02:01:06'}}
[2022-03-29 14:43:55,324] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_SCAN_STOP', 'payload': {'status': 'RTLS_SUCCESS'}}
[2022-03-29 14:43:55,352] rtlsnode – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E <– {'type': 'Command', 'command': 'RTLS_CMD_SCAN', 'payload': None}
[2022-03-29 14:43:55,378] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Response', 'command': 'RTLS_CMD_SCAN', 'payload': {'status': 'RTLS_SUCCESS'}}
[2022-03-29 14:43:55,453] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_SCAN', 'payload': {'eventType': 0, 'addrType': 0, 'addr': '80:6F:B0:1F:04:D1', 'rssi': -56, 'advSID': 1, 'periodicAdvInt': 240, 'dataLen': 18, 'data': '0E:08:52:54:4C:53:52:65:73:70:6F:6E:64:65:72:02:01:06'}}
[2022-03-29 14:43:57,433] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_SCAN_STOP', 'payload': {'status': 'RTLS_SUCCESS'}}
[2022-03-29 14:43:57,452] rtlsnode – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E <– {'type': 'Command', 'command': 'RTLS_CMD_SCAN', 'payload': None}
[2022-03-29 14:43:57,479] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Response', 'command': 'RTLS_CMD_SCAN', 'payload': {'status': 'RTLS_SUCCESS'}}
[2022-03-29 14:43:57,554] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_SCAN', 'payload': {'eventType': 0, 'addrType': 0, 'addr': '80:6F:B0:1F:04:D1', 'rssi': -47, 'advSID': 1, 'periodicAdvInt': 240, 'dataLen': 18, 'data': '0E:08:52:54:4C:53:52:65:73:70:6F:6E:64:65:72:02:01:06'}}
[2022-03-29 14:43:59,533] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_SCAN_STOP', 'payload': {'status': 'RTLS_SUCCESS'}}
[2022-03-29 14:43:59,553] rtlsnode – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E <– {'type': 'Command', 'command': 'RTLS_CMD_CONNECT', 'payload': {'addrType': 0, 'peerAddr': '80:6F:B0:1F:04:D1', 'connInterval': 80}}
[2022-03-29 14:43:59,584] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Response', 'command': 'RTLS_CMD_CONNECT', 'payload': {'status': 'RTLS_SUCCESS'}}
[2022-03-29 14:43:59,674] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_CONN_PARAMS', 'payload': {'connHandle': 0, 'accessAddress': 2262876540, 'connRole': 8, 'connInterval': 160, 'hopValue': 15, 'mSCA': 0, 'currChan': 15, 'chanMap': [255, 255, 255, 255, 31], 'crcInit': 4466454, 'peerAddr': '80:6F:B0:1F:04:D1'}}
[2022-03-29 14:44:00,574] root – INFO – COORDINATOR : F8:8A:5E:2D:A2:0E –> {'type': 'Event', 'command': 'RTLS_CMD_CONNECT', 'payload': {'connHandle': 0, 'status': 'RTLS_LINK_TERMINATED'}}
换其他的开发板,立马就能连接上和正常采集数据,但看起来这两块开发板硬件上好像也没问题,想问一下有没有方法可以解决呢?
Kevin Qiu1:
这两块板子是自制板还是launchpad,例程是否修改过?
用手机APP是否可以连接
,
ChengLin Huang:
就是CC2652launchpad,不是自制。没有修改。
也就是说 一共用了四块尝试 在相同的情况下,其中两块是能够正常连接并采集数据的。
剩下两块就会出现上述问题,是能够搜索到信号的。
手机app是指什么呢?用手机的蓝牙也是可以搜索到的
,
Kevin Qiu1:
ChengLin Huang 说:手机app是指什么呢?用手机的蓝牙也是可以搜索到的
simplelink starter
我测试了几块板子,不能复现这个问题,将有问题的板子拍张照片传上来看看
,
ChengLin Huang:
没找到这个app 有下载的链接吗
,
Kevin Qiu1:
从Google Play或者apple app store下载
,
ChengLin Huang:
您好,使用simplelink starter尝试连接配对,但好像是需要密码没有连接成功。密码是什么呢
另外,有使用手机发送CTE的案例或者实现方向吗
,
Kevin Qiu1:
默认密码:123456
目前的手机都不支持发送和接收CTE,上面说的只是为了让你测试连接是否有问题