Hi,
I am trying to send a simple message from server to client in mesh 2.0.1. I am following this post for the same. I successfully sent a message from client to server and received it in the server side. Now I want to send a message from server to client. I have added all codes provided in the above post and made the specified changes for the server too. But message is not getting sent.
void address_set(uint16_t addr) //function for setting address { uint32_t err_code; err_code = dsm_address_publish_add(addr, &m_central_handle); //NRF_ERROR_NO_MEM ERROR_CHECK(err_code); ERROR_CHECK(access_model_publish_address_set(m_clients[0].model_handle, m_central_handle)); }
I am getting error: <t: 663640>, app_error_weak.c, 105, Mesh error 4 at 0x000267E9 at examples\simple_message\server\src\main.c:269 ie. at
err_code = dsm_address_publish_add(addr, &m_central_handle); //NRF_ERROR_NO_MEM ERROR_CHECK(err_code);
The error code is NRF_ERROR_NO_MEM . Can you help me to resolve this? I want to sent a unicast message to the client from server.