Hello,
In BLE-Mesh models, we have APIs like:
int bt_mesh_model_send(struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, struct net_buf_simple *msg, const struct bt_mesh_send_cb *cb, void *cb_data)
To send data to other devices on the Mesh.
Here I observed that the context "struct bt_mesh_msg_ctx *ctx" stores the address to which the data is to be sent, like address 0x0002.
My requirement is, I want to send the same data to multiple addresses. Like 0x0002, 0x0003 etc,.
Is there any provision in context to store multiple addresses or I shall have to run "int bt_mesh_model_send()" in a for loop for all the addresses..?
Or is there a separate API to send same data to a list of addresses..?