Hello ,
I am working on a BLE mesh application in which I need to get server model status on my client node. I am calling this function "generic_onoff_client_get()" provided with the light switch example but unfortunately I am getting invalid parameter error. On of the header file "generic_on_off_client.h" shows that this function has been declared in the following manner
uint32_t generic_onoff_client_get(generic_onoff_client_t * p_client);
I am not sure about the initialization of the argument of type generic_onoff_client_t passed to this function. Please guide me about this issue.
Thanks