On Sun, May 06, 2018, Kai Ren wrote:
I'm trying to know the difference between two APIs, they are:bt_mesh_model_publish() is (like the name suggests) for model
publication. bt_mesh_model_send() is for everything else that falls
outside of that use case. This could be e.g. a server model's response
messages or a client model's request messages.
All of them are for access message sending, but I'm curious that is itmesh_demo could use model publication, however it's the way it is
currently for the sake of simplicity, i.e. it uses bt_mesh_model_send().
The main purpose of this app is for demonstrating mesh "in action" with
real devices, rather than serving as a good example for how to write a