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

NRF openmesh BLE_ERROR_INVALID_CONN_HANDLE

Hello,

I am currently working with NRF openmesh but when I try to set a new handle i get an error. This is what I tried.

uint8_t ledje = 0x01;
rbc_mesh_value_handle_t led;
rbc_mesh_value_set(led, &ledje, sizeof(ledje));
rbc_mesh_value_enable(led);

However it seems that it hangs at mesh_gatt_value_set with the error : BLE_ERROR_INVALID_CONN_HANDLE.

What am I doing wrong here?

Thanks in advance,

Tim Smits

Parents Reply Children
No Data
Related