I like to use 2 server boards and 1 client board in mesh as custom model. Is it possible to use client to communicate with 2 or many server's without using instance in client with unicast address.
Yes, this is possible.
In order to have your client publish a message for multiple servers, you can use group addressing. The client can publish to one group address, and the servers can all subscribe to that same address.
Best regards, Joakim
Can i use with unicast address instead of group address
I'm sorry. I don't think I understand what you actually want to do.
Do you want your client to publish to a unicast address?
without using instance in client with unicast address.
From this I thought that you didn't want to use the unicast address?
you mean, need to use instance if i go with unicast address? what i asked is can i use group address scenario with unicast address without having instance in client for each server
I'm sorry but I'm still not 100% sure if I understand what you want to do.
Sash said:what i asked is can i use group address scenario with unicast address
I would say the answer to this is no. You can't publish a message using a unicast address to multiple servers. The unicast address is unique, and you can't have multiple servers receive a message sent to one unicast address.
A possibility could be to have the client sequentially change it's unicast publication address, to send it to multiple servers. But I would suggest that you make use of a group address if you want to publish to multiple nodes at the same time.
More information can be found in Q&A's already on devzone. Like this one: https://devzone.nordicsemi.com/f/nordic-q-a/36410/ble-mesh-sdk---publish-to-unicast-address/140352#140352
can i access multiple server without using instance in client side with the help of unicast address.What i mean is i have to communicate with many server with single client. I have to know, should i need to use instance in client side with unicast address to communicate with server or i can communicate without instance with unicast address.
Sash said:What i mean is i have to communicate with many server with single client.
Ok, if you want to send the same message to multiple servers you should use group address.
If you want to send specific messages to each of the nodes, you need to use unicast address.
yes i'm clear about that, If i send specific messages to each of nodes with unicast address should need to use instance mandatory to communicate with client to/from server or can use without instance