您好,
上面是我在用passive和master测AOA的UI演示,为什么我的passive没有AOA值?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
[2020-12-07 11:08:16,552] root - INFO - Setting nodes : [2020-12-07 11:08:16,553] asyncio - DEBUG - Using selector: SelectSelector [2020-12-07 11:08:16,555] root - INFO - Message receiver started [2020-12-07 11:08:16,555] root - INFO - RTLS Manager started [2020-12-07 11:08:16,559] asyncio - DEBUG - Get address info localhost:5050, type=<SocketKind.SOCK_STREAM: 1>, flags=<AddressInfo.AI_PASSIVE: 1> [2020-12-07 11:08:16,561] asyncio - DEBUG - Getting address info localhost:5050, type=<SocketKind.SOCK_STREAM: 1>, flags=<AddressInfo.AI_PASSIVE: 1> took 16.000ms: [(<AddressFamily.AF_INET6: 23>, <SocketKind.SOCK_STREAM: 1>, 0, '', ('::1', 5050, 0, 0)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 0, '', ('127.0.0.1', 5050))] [2020-12-07 11:08:16,562] asyncio - DEBUG - poll took 16.000 ms: 1 events [2020-12-07 11:08:16,562] asyncio - INFO - <Server sockets=[<socket.socket fd=1760, family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=0, laddr=('::1', 5050, 0, 0)>, <socket.socket fd=1756, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 5050)>]> is serving [2020-12-07 11:08:16,608] serialnode - DEBUG - >>> UNPIMessage(originator=Ap type=SyncReq, subsystem=25, command=RTLS_CMD_IDENTIFY, data=) [2020-12-07 11:08:16,608] serialnode - DEBUG - >>> UNPIMessage(originator=Ap type=SyncReq, subsystem=25, command=RTLS_CMD_IDENTIFY, data=) [2020-12-07 11:08:16,608] serialnode - DEBUG - >>> FE:00:00:39:00:39 [2020-12-07 11:08:16,608] serialnode - DEBUG - >>> FE:00:00:39:00:39 [2020-12-07 11:08:16,660] serialnode - DEBUG - <<< FE:0C:00:79:00:84:00:02:00:05:A1:D1:31:B0:6F:80:08:E0 [2020-12-07 11:08:16,660] serialnode - DEBUG - <<< FE:0C:00:79:00:04:01:02:00:05:AE:CE:31:B0:6F:80:08:71 [2020-12-07 11:08:16,660] serialnode - DEBUG - <<< [2020-12-07 11:08:16,660] serialnode - DEBUG - <<< [2020-12-07 11:08:16,660] serialnode - DEBUG - <<< UNPIMessage(originator=Nwp type=SyncRsp, subsystem=RTLS, command=RTLS_CMD_IDENTIFY, data=84:00:02:00:05:A1:D1:31:B0:6F:80:08) [2020-12-07 11:08:16,661] serialnode - DEBUG - <<< UNPIMessage(originator=Nwp type=SyncRsp, subsystem=RTLS, command=RTLS_CMD_IDENTIFY, data=04:01:02:00:05:AE:CE:31:B0:6F:80:08) [2020-12-07 11:08:16,661] serialnode - DEBUG - <<< [2020-12-07 11:08:16,661] serialnode - DEBUG - <<< [2020-12-07 11:08:18,556] root - INFO - Done setting node [2020-12-07 11:08:18,556] rtlsnode - INFO - PASSIVE : 80:6F:B0:31:CE:AE <-- {'type': 'Command', 'command': 'RTLS_CMD_RESET_DEVICE', 'payload': None} [2020-12-07 11:08:18,557] rtlsnode - INFO - MASTER : 80:6F:B0:31:D1:A1 <-- {'type': 'Command', 'command': 'RTLS_CMD_RESET_DEVICE', 'payload': None} [2020-12-07 11:08:18,590] serialnode - DEBUG - >>> UNPIMessage(originator=Ap type=SyncReq, subsystem=25, command=RTLS_CMD_RESET_DEVICE, data=) [2020-12-07 11:08:18,591] serialnode - DEBUG - >>> UNPIMessage(originator=Ap type=SyncReq, subsystem=25, command=RTLS_CMD_RESET_DEVICE, data=) [2020-12-07 11:08:18,591] serialnode - DEBUG - >>> FE:00:00:39:20:19 [2020-12-07 11:08:18,591] serialnode - DEBUG - >>> FE:00:00:39:20:19 [2020-12-07 11:08:18,642] serialnode - DEBUG - <<< 00:FE:00:00:59:20:79 [2020-12-07 11:08:18,642] root - WARNING - ConstError('parsing expected 254 but parsed 0') [2020-12-07 11:08:18,642] serialnode - DEBUG - <<< [2020-12-07 11:08:18,642] serialnode - DEBUG - <<< UNPIMessage(originator=Nwp type=AsyncReq, subsystem=RTLS, command=RTLS_CMD_RESET_DEVICE, data=) [2020-12-07 11:08:18,642] serialnode - DEBUG - <<< [2020-12-07 11:08:18,642] rtlsnode - DEBUG - Have 0 subscribers for UNPIMessage(originator=Nwp type=AsyncReq, subsystem=RTLS, command=RTLS_CMD_RESET_DEVICE, data=) [2020-12-07 11:08:18,643] serialnode - DEBUG - <<< 00 [2020-12-07 11:08:18,643] root - WARNING - ConstError('parsing expected 254 but parsed 0') [2020-12-07 11:08:18,643] serialnode - DEBUG - <<< [2020-12-07 11:08:18,643] root - INFO - PASSIVE : 80:6F:B0:31:CE:AE --> {'type': 'Event', 'command': 'RTLS_CMD_RESET_DEVICE', 'payload': {'raw_payload': ''}} [2020-12-07 11:08:18,694] serialnode - DEBUG - <<< FE:00:00:59:20:79 [2020-12-07 11:08:18,695] serialnode - DEBUG - <<< [2020-12-07 11:08:18,695] serialnode - DEBUG - <<< UNPIMessage(originator=Nwp type=AsyncReq, subsystem=RTLS, command=RTLS_CMD_RESET_DEVICE, data=) [2020-12-07 11:08:18,695] serialnode - DEBUG - <<< [2020-12-07 11:08:18,697] rtlsnode - DEBUG - Have 0 subscribers for UNPIMessage(originator=Nwp type=AsyncReq, subsystem=RTLS, command=RTLS_CMD_RESET_DEVICE, data=) [2020-12-07 11:08:18,697] root - INFO - MASTER : 80:6F:B0:31:D1:A1 --> {'type': 'Event', 'command': 'RTLS_CMD_RESET_DEVICE', 'payload': {'raw_payload': ''}} [2020-12-07 11:08:18,761] werkzeug - INFO - 127.0.0.1 - - [07/Dec/2020 11:08:18] "POST /rtls-ui/api/initialize HTTP/1.1" 200 - [2020-12-07 11:08:18,776] asyncio - INFO - poll took 2203.000 ms: 1 events [2020-12-07 11:08:18,776] asyncio - DEBUG - <Server sockets=[<socket.socket fd=1760, family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=0, laddr=('::1', 5050, 0, 0)>, <socket.socket fd=1756, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 5050)>]> got a new connection from ('127.0.0.1', 51391): <socket.socket fd=1504, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 5050), raddr=('127.0.0.1', 51391)> [2020-12-07 11:08:18,778] websockets.protocol - DEBUG - server - state = CONNECTING [2020-12-07 11:08:18,779] websockets.protocol - DEBUG - server - event = connection_made(<_SelectorSocketTransport fd=1504 read=idle write=<idle, bufsize=0>>) [2020-12-07 11:08:18,781] websockets.protocol - DEBUG - server - state = OPEN [2020-12-07 11:08:18,783] rtlsnode - INFO - PASSIVE : 80:6F:B0:31:CE:AE <-- {'type': 'Command', 'command': 'RTLS_CMD_IDENTIFY', 'payload': None} [2020-12-07 11:08:18,783] rtlsnode - INFO - MASTER : 80:6F:B0:31:D1:A1 <-- {'type': 'Command', 'command': 'RTLS_CMD_IDENTIFY', 'payload': None} [2020-12-07 11:08:18,795] serialnode - DEBUG - >>> UNPIMessage(originator=Ap type=SyncReq, subsystem=25, command=RTLS_CMD_IDENTIFY, data=) [2020-12-07 11:08:18,795] serialnode - DEBUG - >>> FE:00:00:39:00:39 [2020-12-07 11:08:18,799] serialnode - DEBUG - >>> UNPIMessage(originator=Ap type=SyncReq, subsystem=25, command=RTLS_CMD_IDENTIFY, data=) [2020-12-07 11:08:18,799] serialnode - DEBUG - >>> FE:00:00:39:00:39 [2020-12-07 11:08:18,845] serialnode - DEBUG - <<< FE:0C:00:79:00:04:01:02:00:05:AE:CE:31:B0:6F:80:08:71 [2020-12-07 11:08:18,845] serialnode - DEBUG - <<< [2020-12-07 11:08:18,845] serialnode - DEBUG - <<< UNPIMessage(originator=Nwp type=SyncRsp, subsystem=RTLS, command=RTLS_CMD_IDENTIFY, data=04:01:02:00:05:AE:CE:31:B0:6F:80:08) [2020-12-07 11:08:18,845] serialnode - DEBUG - <<< [2020-12-07 11:08:18,846] rtlsnode - DEBUG - Have 0 subscribers for UNPIMessage(originator=Nwp type=SyncRsp, subsystem=RTLS, command=RTLS_CMD_IDENTIFY, data=04:01:02:00:05:AE:CE:31:B0:6F:80:08) [2020-12-07 11:08:18,846] root - INFO - PASSIVE : 80:6F:B0:31:CE:AE --> {'type': 'Response', 'command': 'RTLS_CMD_IDENTIFY', 'payload': {'capabilities': {'CM': False, 'AOA_TX': False, 'AOA_RX': True, 'TOF_SLAVE': False, 'TOF_PASSIVE': False, 'TOF_MASTER': False, 'RTLS_SLAVE': False, 'RTLS_MASTER': False, 'RTLS_PASSIVE': True}, 'revNum': 2, 'devId': 'DeviceFamily_ID_CC26X2', 'identifier': '80:6F:B0:31:CE:AE'}} [2020-12-07 11:08:18,847] asyncio - DEBUG - poll 20000.000 ms took 62.000 ms: 1 events [2020-12-07 11:08:18,848] websockets.protocol - DEBUG - server > Frame(fin=True, opcode=1, data=b'{"identifier": "80:6F:B0:31:CE:AE", "message": {"originator": "Nwp", "type": "SyncRsp", "subsystem": "RTLS", "command": "RTLS_CMD_IDENTIFY", "payload": {"capabilities": {"CM": false, "AOA_TX": false, "AOA_RX": true, "TOF_SLAVE": false, "TOF_PASSIVE": false, "TOF_MASTER": false, "RTLS_SLAVE": false, "RTLS_MASTER": false, "RTLS_PASSIVE": true}, "revNum": 2, "devId": "DeviceFamily_ID_CC26X2", "identifier": "80:6F:B0:31:CE:AE"}}}', rsv1=False, rsv2=False, rsv3=False) [2020-12-07 11:08:18,849] serialnode - DEBUG - <<< FE:0C:00:79:00:84:00:02:00:05:A1:D1:31:B0:6F:80:08:E0 [2020-12-07 11:08:18,849] serialnode - DEBUG - <<< [2020-12-07 11:08:18,849] serialnode - DEBUG - <<< UNPIMessage(originator=Nwp type=SyncRsp, subsystem=RTLS, command=RTLS_CMD_IDENTIFY, data=84:00:02:00:05:A1:D1:31:B0:6F:80:08) [2020-12-07 11:08:18,849] serialnode - DEBUG - <<< [2020-12-07 11:08:18,850] rtlsnode - DEBUG - Have 0 subscribers for UNPIMessage(originator=Nwp type=SyncRsp, subsystem=RTLS, command=RTLS_CMD_IDENTIFY, data=84:00:02:00:05:A1:D1:31:B0:6F:80:08) [2020-12-07 11:08:18,850] root - INFO - MASTER : 80:6F:B0:31:D1:A1 --> {'type': 'Response', 'command': 'RTLS_CMD_IDENTIFY', 'payload': {'capabilities': {'CM': False, 'AOA_TX': False, 'AOA_RX': True, 'TOF_SLAVE': False, 'TOF_PASSIVE': False, 'TOF_MASTER': False, 'RTLS_SLAVE': False, 'RTLS_MASTER': True, 'RTLS_PASSIVE': False}, 'revNum': 2, 'devId': 'DeviceFamily_ID_CC26X2', 'identifier': '80:6F:B0:31:D1:A1'}} [2020-12-07 11:08:18,850] asyncio - DEBUG - poll 19938.000 ms took 0.000 ms: 1 events [2020-12-07 11:08:18,851] websockets.protocol - DEBUG - server > Frame(fin=True, opcode=1, data=b'{"identifier": "80:6F:B0:31:D1:A1", "message": {"originator": "Nwp", "type": "SyncRsp", "subsystem": "RTLS", "command": "RTLS_CMD_IDENTIFY", "payload": {"capabilities": {"CM": false, "AOA_TX": false, "AOA_RX": true, "TOF_SLAVE": false, "TOF_PASSIVE": false, "TOF_MASTER": false, "RTLS_SLAVE": false, "RTLS_MASTER": true, "RTLS_PASSIVE": false}, "revNum": 2, "devId": "DeviceFamily_ID_CC26X2", "identifier": "80:6F:B0:31:D1:A1"}}}', rsv1=False, rsv2=False, rsv3=False) [2020-12-07 11:08:18,884] werkzeug - INFO - 127.0.0.1 - - [07/Dec/2020 11:08:18] "GET /rtls-ui/api/initialize HTTP/1.1" 200 - [2020-12-07 11:08:20,513] root - INFO - AOA Stopped [2020-12-07 11:08:21,357] asyncio - INFO - poll 19938.000 ms took 2500.000 ms: 1 events [2020-12-07 11:08:21,365] websockets.protocol - DEBUG - server ! failing WebSocket connection in the OPEN state: 1001 [no reason] [2020-12-07 11:08:21,366] websockets.protocol - DEBUG - server - state = CLOSING [2020-12-07 11:08:21,366] websockets.protocol - DEBUG - server > Frame(fin=True, opcode=8, data=b'\x03\xe9', rsv1=False, rsv2=False, rsv3=False) [2020-12-07 11:08:21,369] websockets.protocol - DEBUG - server x half-closing TCP connection [2020-12-07 11:08:21,374] asyncio - DEBUG - <_SelectorSocketTransport fd=1504 read=polling write=<idle, bufsize=0>> received EOF [2020-12-07 11:08:21,375] websockets.protocol - DEBUG - server - event = eof_received() [2020-12-07 11:08:21,375] websockets.protocol - DEBUG - server - event = connection_lost(None) [2020-12-07 11:08:21,375] websockets.protocol - DEBUG - server - state = CLOSED [2020-12-07 11:08:21,375] websockets.protocol - DEBUG - server x code = 1006, reason = [no reason] [2020-12-07 11:08:21,381] asyncio - DEBUG - Close <_WindowsSelectorEventLoop running=False closed=False debug=True>
[2020-12-07 11:08:02,208] root - INFO - Setting nodes : [2020-12-07 11:08:02,209] root - INFO - RTLS Manager started [2020-12-07 11:08:02,264] serialnode - DEBUG - >>> UNPIMessage(originator=Ap type=SyncReq, subsystem=25, command=RTLS_CMD_IDENTIFY, data=) [2020-12-07 11:08:02,264] serialnode - DEBUG - >>> UNPIMessage(originator=Ap type=SyncReq, subsystem=25, command=RTLS_CMD_IDENTIFY, data=) [2020-12-07 11:08:02,264] serialnode - DEBUG - >>> FE:00:00:39:00:39 [2020-12-07 11:08:02,264] serialnode - DEBUG - >>> FE:00:00:39:00:39 [2020-12-07 11:08:02,315] serialnode - DEBUG - <<< FE:0C:00:79:00:04:01:02:00:05:AE:CE:31:B0:6F:80:08:71 [2020-12-07 11:08:02,315] serialnode - DEBUG - <<< FE:0C:00:79:00:84:00:02:00:05:A1:D1:31:B0:6F:80:08:E0 [2020-12-07 11:08:02,323] serialnode - DEBUG - <<< [2020-12-07 11:08:02,324] serialnode - DEBUG - <<< [2020-12-07 11:08:02,324] serialnode - DEBUG - <<< UNPIMessage(originator=Nwp type=SyncRsp, subsystem=RTLS, command=RTLS_CMD_IDENTIFY, data=04:01:02:00:05:AE:CE:31:B0:6F:80:08) [2020-12-07 11:08:02,324] serialnode - DEBUG - <<< UNPIMessage(originator=Nwp type=SyncRsp, subsystem=RTLS, command=RTLS_CMD_IDENTIFY, data=84:00:02:00:05:A1:D1:31:B0:6F:80:08) [2020-12-07 11:08:02,325] serialnode - DEBUG - <<< [2020-12-07 11:08:02,325] serialnode - DEBUG - <<<