Hello,
I have I am trying out the LPN sample from nRF5 SDK for Mesh v5.0.0 and I have an issue where certain mesh configuration messages (e.g. set publication, add application key) are not received by the LPN node when it is in a friendship. So far, the issue only seems to affect segmented messages and looking at the log, the network layer seems to fail decryption of the second segment. Below is the network layer log of one friend polling sequence.
Since the second segment fails to be decrypted, it is disregarded and the LPN tries polling again. Eventually the friendship is terminated due to no reply from friend.
I looked closer into the network layer code, and found that, for this case, the package is disregarded due to the following check:
https://github.com/NordicSemiconductor/nRF5-SDK-for-Mesh/blob/master/mesh/core/src/net_packet.c#L133
If I remove this check, the segment is successfully decrypted and the message is correctly passed on to the application layer.
I would be pleased to get some help figuring out whether or not this is a bug or if my configuration/setup is faulty.
My setup is:
- nordic LPN example running on a nRF52840-DK
- provisioner and friend node is a linux host running the BlueZ mesh stack (controlled with the mesh-cfgclient tool)
Please let me know your thoughts and also if there are any important information missing.
Thanks you!