This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

PyACI can't get UUID.

Hello, Dear Support.
I try to build BLE Mesh from several nRF52840 Development Kits. I use example [serial] from SDK for Mesh v3.1.0. After building solution in SeS and starting PyACI tool I load database json, create provisioner and try to scan unprovisioned devices. But I can’t get response from device, like that I can see in infocenter instruction “Interactive mesh provisioning and configuration” or guide “Provisioning and running Nordic's BLE Mesh with Python Application Controller Interface (PyACI)”. After scanning I get “Success” message and can’t receive UUID.
List:
C:\Users\rusla>python d:/BLE_Mesh_Projects/nrf5SDKforMeshv310src/scripts/interactive_pyaci/interactive_pyaci.py -d COM8 --no-logfile

To control your device, use d[x], where x is the device index.
Devices are indexed based on the order of the COM ports specified by the -d option.
The first device, d[0], can also be accessed using device.

Type d[x]. and hit tab to see the available methods.

Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: db = MeshDB("D:/BLE_Mesh_Projects/nrf5SDKforMeshv310src/scripts/interactive_pyaci/database/example_database.jso
...: n")

In [2]: db.provisioners
Out[2]: [{'name': 'BT Mesh Provisioner', 'UUID': _UUID(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'), 'allocated_unicast_range': [{'low_address': 0010, 'high_address': 7fff}], 'allocated_group_range': [{'low_address': c000, 'high_address': feff}]}]

In [3]: p = Provisioner(device, db)

In [4]: 2019-06-27 13:13:33,691 - INFO - COM8: Success
2019-06-27 13:13:33,694 - INFO - COM8: Success
2019-06-27 13:13:33,698 - INFO - COM8: SubnetAdd: {'subnet_handle': 0}
2019-06-27 13:13:33,703 - INFO - COM8: AppkeyAdd: {'appkey_handle': 0}
2019-06-27 13:13:33,707 - INFO - COM8: AppkeyAdd: {'appkey_handle': 1}
In [4]: p.scan_start()

In [5]: 2019-06-27 13:13:56,735 - INFO - COM8: Success

Then nothing happens.
What is wrong and how can I fix it?
Thank you.

Parents Reply Children
Related