NCS Mesh: How to get element index in sensor server get callback

I have multiple elements with multiple sensors (4x6 in total, all 4 elements has the same type of sensors). I need to find out which element called sensor get callback. In get callback arguments there is no server instance provided. How to identify to which element corresponds the callback? Otherwise I would need to implement 24 callback functions instead of 6 which would be not neat.

Parents Reply Children
No Data
Related