I was trying to add generic onoff server model to the dimming server example in order to On/OFF and Dim the LED on the nRF52 Dev board using nRF Mesh App. I added all the files, paths and modules into the example, increased the access model count, also increased element count and added onoff server and level server in different elements. It results in a mesh error.
Individual models can be implemented but not both at a time. Any additional changes required to make this example work?
It results in a mesh error.
What do you mean by "mesh error"? Do you have any error code? I suggest you debug the code in order to find where and what fails.
I was going through the devzone posts and I was able to solve the NO_MEM error by changing the ACCESS_SUBSCRIPTION_LIST_COUNT value to 2 in the nrf_mesh_config_app.h.