What I am trying to do is running the test_mesh script for the bluez mesh api on a raspberry pi 4B. The script is at the following link: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test/test-mesh, and the documentation for the mesh api is here: https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/mesh-api.txt.
I am running the script, and in the menu that is displayed I wrote "join", and I get "Provisioning agent not found". I found that this comes from the import agent
statement in line 130 of the test_mesh script, which causes an ImportError
, and the agent is set to None
. I tried looking into what can cause this error, but there really isn't that much information (or at least I didn't find it).
Sorry if this question is too general, or if it turns out the answer is obvious. I just don't have too much experience with bluetoorth. Any help woud be greatly appreciated.