Hi Nordic.
I am using:
1. Mesh sdk V5.00
2. BLE sdk V17
3. NRF52840
I am trying to build a node with many elements and models. The software is based on the LC server. Currently the maximum number of LC servers I can create is 6. This will result in ~12 elements and ~80 models. The reason being to use one node to control lights that are close to each other.
The issue arises when I try to compile with more than 6 LC servers, I get a static assert in config_server.c line 128:
/** The composition data must fit within the Composition Data Status packet. If this assert fails, * there are too many models or too many elements defined. Note that the macro assumes all models to be vendor models. */ NRF_MESH_STATIC_ASSERT(CONFIG_COMPOSITION_DATA_SIZE <= (ACCESS_MESSAGE_LENGTH_MAX - ACCESS_UTILS_SIG_OPCODE_SIZE(CONFIG_OPCODE_COMPOSITION_DATA_STATUS) - sizeof(config_msg_composition_data_status_t)));
According to this assert the composition data must fit within a composition data status packet. This does make sense, but as far as I know you can just read different pages of the composition data.
So the question is, is that part of the BLE mesh specification? Is there a clean way around this?
Regards
Chris