HI, team.
I use two nrf52840 PDK run the example light switch, light switch proxy server and client.
for the light witch proxy client, when press button 0 it will call app_onoff_status_publish() to send msg to server board and set or clear the LED of server board.
but what can I do if I want send message to server board? Could I just call the function app_onoff_status_publish ()?
I try to call app_onoff_status_publish() at main() like:
while(1)
{
nrf_delay_ms(5000);
button_event_handler(0);
}
provisioned and set publish address, after reset ,5 seconds later the Error occurred.
app_error_weak.c, 95, Mesh assert at 0x0002AD0A (:0)
it seem that NRF_MESH_ASSERT_DEBUG(bearer_event_in_correct_irq_priority()) at timer_scheduler.c line 213.
But if I press the button 0 before 5 seconds , without reset , there is not error occurred .
I still can not figure it out.