Hi,
I am trying to set up a small mesh network. Basically I have a couple of PCA10028 (v1.1.0) and I have flashed the mesh example:
One of the devices is connected via SPI to a photon and receives commands correctly through api requests. Also, on MCP I can see both devices advertising and I can connect and change the LEDs lighting on both of them.
The problem. My understanding was that once I modify the LEDs status in one of the devices, it will be re-broadcast to the other one, but this is not happening.
Any help is most welcome.
UPDATE 1:
I have followed David advice. Back to basics. I have taken the photon out of the equation. I proceed as follows:
- I have flashed both PCA10028 (v1.1.0) devices with the s110_nrf51_8.0.0 using nRFgo Studio.
- I have compiled the mesh example aforementioned (BLE_Gateway) without any mods (no RBC_MESH_SERIAL defined) and I have flashed both devices with this code.
- I can see both devices advertising as shown on MCP .
- I have modified the connection interval to be 100ms on the MCP . Suggested by Trond.
- I have connected to one of the devices and send the following command (00-00-00-00-01) to set the LED1 on and it works!
I have a problem to turn them off. It seems that the data is somehow corrupted and it always arrives to the second device with a value. The handle is correct but the data is not. I will spend more time on it and if I can get it sorted I will open another case! Thanks