Hi,
I am working on a project using BT Mesh and I am evaluating a prototype using the nrf52840. I am not working with the mesh-SDK, because I am using zephyr. I am working from the onoff-app in the zephyr nrf samples. I was able to compile and flash it (using west without an IDE) on the nRF52840-DK / PCA10056 (and also on nRF52-DK / PCA10040). Now I want to use the nrf52840-Dongle / PCA10059 (we have 20 of those, since we are working with mesh).
I copied and adapted the sample app to work with the dongle (which was basically removing the inputs sw1-sw3). I also included a simple blinking pattern at bootup to see if the firmware is actually booting. If I build the FW for the DK, I can flash it, I see the blinking pattern and I can use Button1 to control the LED on my server-board. So that all works fine. I can also build the FW for the dongle and flash it using `nrfutil`. It shows the LED pattern on boot, so I know the FW is installed and booted. But neither does pressing the button do anything, nor can I find and provision the Device using the nrfMesh app, as I did with the DKs.
What am I missing?
You can see my adaptation at this gist:
https://gist.github.com/kratenko/eb213dbea388035111b772e85e3bbd83
I only modified the main.c (and I changed the project name in CMakeLists.txt to "onoff"), everything else is as in the sample.
I built the FW for the DK using the following commands, and it runs just fine:
west build -b nrf52840dk_nrf52840 onoff west flash
For the dongle, I did this:
west build -b nrf52840dongle_nrf52840 onoff nrfutil pkg generate --hw-version 52 --sd-req=0x00 --application build/zephyr/zephyr.hex --application-version 1 dongle.zip nrfutil dfu usb-serial -pkg dongle.zip -p /dev/ttyACM1
I can confirm that the FW runs by the blinking pattern, but the device cannot be found with the nrfMesh app. I am also sure that the dongle works, as I can use it with nRF Connect "Bluetooth Low Energy" for scanning.
I am working on Ubuntu18 with West version: v0.8.0 and just updated my zephyr checkout.