This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Mesh: How i send message to group means all provisioned server using new mesh sdk 2.0.0?

Hi everyone,

I am using new mesh released sdk v2.0.0 in that i have successfully run light switch demo using 3 nRF52832 baord. One for provisioner, 2 client, 3- server. 

I have replace on_off server and client model into simple_message server. and i want to sent message to all provisioned server.

But message get only one device in old mesh sdk 1.0.1 at client i set m_clients[GROUP_CLIENT_INDEX] then message is get to all server and also relaying this same message.

But i want to do same in new mesh sdk v2.0.0 in client not have GROUP_CLIENT_INDEX i am using following function for published message:

status= access_model_publish(m_clients[0].model_handle, &msg);

instead of m_clients[0] i have tried m_clients[SERVER_NODE_COUNT] but not get message to all server node.

Please tell me any other configuration or change in client as well as provisioner node.

Thanks in Advanced...!!

 

Parents Reply Children
No Data
Related