-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad-PDU when Provisioning add #8
Comments
Not sure about this one. It looks like the error occurs at the BlueZ layer. If that is the case, then I think there is little I can do about it. I would recommend that you try to provision the device using |
I tested it with Which release from bluez you running? Maybe my Version (5.65) isn't not compatible. |
Okay, that is interesting. Not sure what is different when using I just had a quick look, the error message is coming from here: https://github.com/bluez/bluez/blob/1270afa5aa1cfa19927c3bce1b8f84dbe9f35a2f/mesh/prov-initiator.c#L646 The docker container currently uses version 5.66. Did you run the script locally or from the docker image? |
The difference is the provisioning method. I run bluez locally on my raspberry. I am not that much into Docker I have to say. |
I see. So can you provision with I must admit, my knowledge of the bluetooth mesh stack is quite limited. Given that this gateway is build upon a python library that is build upon BlueZ, I doubt that I can change the provisioning method. I followed the call stack and if I am not mistaken the provisioning process calls
So it seems to me that Nonetheless, if your device does support provisioning via PD-ADV, I did update the underlying library in the |
Hey, I had so other problems with I opend for that a stackoverflow thread and hopfully can add a solution here when some helped me there. But thank you for your help until now. |
Hi,
I am trying to provision an new device with
gateway.py prov --uuid <uuid> add
. But this fails after a few seconds with error: bad-pdu. If If I am looking in my log Files I can see this:The Device I am trying to connect with told me that:
So it seems for me there is something work with the config and the exchange the wrong msg. Do somebody know how I can fix this? Thanks for your help.
The text was updated successfully, but these errors were encountered: