Other Parts Discussed in Thread: LAUNCHXL-CC26X2R1, LAUNCHXL-CC2640R2, CC2652R
Hello,
I have followed the README.html instructions for the rtls_agent demo included in the simplelink_cc2640r2_sdk_2_40_00_32. I am running Python3.7.2 on Windows 10 and have made sure to install the below Python modules as directed by the requirements.txt file. I have (3) LAUNCHXL-CC26X2R1 boards programmed to Passive, Master, and Slave images for the RTLS demo.
When I run the websocket_server program, either from the executable, or from Python in a Command Prompt, I see the COM ports of my nodes, select the Master and Passive ports, press ENTER to 'Continue' and then the program crashes with the below output:
(.venv) C:\ti\simplelink_cc2640r2_sdk_2_40_00_32\tools\blestack\rtls_agent>python websocket_server.py
Traceback (most recent call last):
File "websocket_server.py", line 224, in <module>
wrapper(main)
File "C:\Python37\lib\curses\__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "websocket_server.py", line 176, in main
update_node_status(scr, my_nodes)
File "websocket_server.py", line 70, in update_node_status
caps = ', '.join([str(c) for c, e in node.capabilities.items() if e])
AttributeError: 'NoneType' object has no attribute 'items'
Any guidance on getting this demo working is greatly appreciated. Thank you!