Hello, I've prepared validation of element indexation. First of all I've used 64-bit unsigned value to collect all given indexes. As You can deduce from "4.2.1.1 Composition Data Page 0", the maximum value of elements can be 61. It is limited by max message size which is 376. Furthermore the element indexes should be given with no gap between them, for example: element index: 3, 2, 0, 1 will be ok, element index: 3, 2, 0 should return an error because the idx 1 is missing Secondly I think, that the validation of element index value may be required, cause for now we support 255 (uint8_t). Please let me know what do You thing of aboves. BR, Jakub Witowski Jakub Witowski (1): mesh: Validate element indexation mesh/node.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- 2.20.1