Hello,
I have a project that does what the title states, create a Mesh Network using the Nordic USB Dongles then provision a smartphone using GATT to access the Mesh network.
So far I've combined the two examples from Light Switch Mesh, creating both a client and server proxy node on the Nordic USB Dongle; This works great as expected and I can turn on the LEDs simultaneously on both Nordic USB Dongles via the Mesh Network.
My next step is to provision a smartphone or web Bluetooth device with the mesh. I've read other forum posts on this subject and they mentioned using the coexist example to run both the mesh and the peripheral on the same device (Nordic USB Dongle), so I followed the steps I used to create a Mesh compatible version of the client and server to get the Coexist example to run. I compiled it once I removed all the `hal_led_init()` and `rtt_input` related functions and it compiled successfully. I also changed the PCA10XX version to match PCA10059 using SEGGER to match the dongle.
This is the problem:
Once I flash the HEX file to the dongle using the nRF Programmer, it finishes successfully but when the dongle initializes, it halts and turns all it LED lights on. I also searched that up and the forum post mentioned it's returning a non-zero error.
I have been tweaking the code to make sure there are no logic errors and it's basically the same code just without `rtt_input` and `hal_init` functions so I'm left clueless.
Any help would be appreciated.
Maybe I can already provision the smartphone with a client/server proxy node using GATT? I looked around but there isn't a clear explanation if all you need is a proxy node to provision via GATT.
Thanks in advance,
Luis