Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Mesh asserts while sending a response message from the server to the client.

Hello, I am using the nrf52840 board and SDK(sdk_v15.3.0 and formesh_v3.20).

I have tried to transfer the vendor model status message to the client from the server.


Following are the observations.

case 1: Response messages transmitted immediately ie. before the return of vendor model’s GET message function cb.
Result - Response message transmitted successfully to the client.

case 2: Response message transmitted after some time ie. after the return of vendor model’s GET message function cb.
Result - Transmission of response message failed due to firmware assert at bearer_event.c



Assertion details after debugging
-
File - bearer_event.c

Line - NRF_MESH_ASSERT_DEBUG(bearer_event_in_correct_irq_priority());

Reason of assertion as per my understanding - Interrupt priority of RTC1_IRQn is 7 and not 6.


Can you please review this scenario and provide a solution to fix it?


Thanks.

Related