Mesh sample on Xiao SEEED NRF52840 (not sense) #55356
Replies: 5 comments 3 replies
-
Hi @ShawnRobertson, this is true, the sample provisions itself upon button press. To disable this, comment out this code: zephyr/samples/bluetooth/mesh/src/main.c Lines 335 to 374 in 8b4407a |
Beta Was this translation helpful? Give feedback.
-
Hi @PavelVPV, thanks for your response. We were able to get the code working on a new device however are unable to deprovision a device once it is provisioned once. We utilized the nRF mesh app to provision the device to test, then deprovisioned it based on the apps guidance, however it did not actually deprovision as we can still see it broadcasting secure packets associated with the provisioned network. We tried reflashing the sample as well as reburning the bootloader. Neither worked. Do you know of a way to completely wipe these? I know this is more of a question for Seeed but was hoping you might know. |
Beta Was this translation helpful? Give feedback.
-
@ShawnRobertson @PavelVPV converted to a discussion since this is not a Zephyr bug. |
Beta Was this translation helpful? Give feedback.
-
Have you tried to erase the whole flash? Did you unprovisioned the device by pressing on the "Reset" button in the app? And after that, if you press on "ADD NODE" button, do you see the device in the appeared Scanner window? |
Beta Was this translation helpful? Give feedback.
-
I had the same issue as Shawn had. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
When attempting to run the Zephyr/Bluetooth/Mesh sample on the Xiao Seeed NRF52840 the device broadcasts Mesh packets however appears to provision itself with a Network ID of 0x00, then 0x01, and so on. It does not broadcast a mesh network name but most definitely broadcasts mesh packets. The attached image shows, in the NRF connect app, the packets being broadcast by the device. It does not allow for provisioning however. I found in the main.c for the sample a self provisioning call when a button is pushed and attempted to fix this by commenting out that section, assuming that somehow the device was sending a true on a button push despite the device having only a reset button. This did not work. I have been able to run the sample on an NRF528040 DK from makerdiary.
Please also mention any information which could help others to understand
the problem you're facing:
To Reproduce
Steps to reproduce the behavior:
We are using nrfConnect for VS Code to build a UF2 file and drag and drop to the device.
Expected behavior
Capability to provision the device to a ble mesh network.
Impact
Showstopper
Environment (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions