This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

can't find mesh service

I followed the guide of github.com/.../nRF51-ble-bcast-mesh to try the mesh with NRF51822.But there seem no discribtion about which softdevice we should use.I loaded the s110_nrf51822_7.3.0_softdevice.hex and rbc_mesh_led_example.hex to the nrf51822. I add code to let the led blink as 1s on 1s off.

while (true)
{
    sd_app_evt_wait();
			led_config(1, 0);
			led_config(2, 0);
			nrf_delay_ms(1000);
			led_config(1, 1);
			led_config(2, 1);
			nrf_delay_ms(1000);
} 

And the led will blink but I can't find the Mesh GATT service using the "lightblue" APPs. Who can help me ?

Parents
  • Hi, I'm running the same setup as you do, but I'm unable to replicate your issue. If you're building with Keil, make sure that the target configuration isn't "nRF51822 xxAA serial", as it would wait for a host-side application to initialize it over SPI. Both "nRF51822 xxAA" and "nRF51822 xxAA buttons" should be fine though. If you're running GCC, the same applies, but you have to mark the targets in the makefile instead. Make sure that the "USE_RBC_MESH_SERIAL" is set to "no".

Reply
  • Hi, I'm running the same setup as you do, but I'm unable to replicate your issue. If you're building with Keil, make sure that the target configuration isn't "nRF51822 xxAA serial", as it would wait for a host-side application to initialize it over SPI. Both "nRF51822 xxAA" and "nRF51822 xxAA buttons" should be fine though. If you're running GCC, the same applies, but you have to mark the targets in the makefile instead. Make sure that the "USE_RBC_MESH_SERIAL" is set to "no".

Children
Related