Hi,
I recently started experimenting with nRF52840 eval-kits and a nRF52840 dongle using the generic onoff client and server. I used my phone and the nRF Mesh App to offload all of the provisionning tasks.
My setup is the following :
3 eval-kits running the onoff server example grouped in 2 groups and 1 dongle running the onoff client example.
My issue is that I get an error "NRF_ERROR_INVALID_PARAM" returning from both "generic_onoff_client_set()" and "generic_onoff_client_set_unack()" with the onoff client configured as in the provided screenshot (appkey bound to model, but no publish address dialed in).
If I set any publish address within the app, I don't get that issue. But I do the publish address provisionning directly in the code (with "dsm_address_publish_add()" and "access_model_publish_address_set()"). How could I resolve this issue from the onoff client code, not the app ? Do I need to setup a publish address from the code in a particular manner ? Do I need to manually bind the app key shown in the app to the publish address ? Is there any example code doing this ?
Thanks in advance !