I want to use the sensor example to transmit 10bytes of data at at rate of 10Hz.
I have tested the publishing using periodic publishing configured with the nRF Mesh app with the default sensor example and it works flawlessly.
I have now implemented a custom property that can transmit 10bytes (Closed system, not according to Mesh specification).
However when I publish it, only about every 10th message is received properly from the client.
around 9/10 times the error 0x08 is returned and the publication fails. In nrf_errof.h is found this:
#define NRF_ERROR_INVALID_STATE (NRF_ERROR_BASE_NUM + 8) ///< Invalid state, operation disallowed in this state
I suppose this has to do with the cadence timer intervals.
What could be the problem? What do I need to consider when using the periodic publishing instead?
I don't need cadence at all. Is the sensor example too advanced for my use case?
What example could I use as a basis?
What I need is simply transferring 10bytes at 10Hz from <20 nodes to one central node.