Send a model publication message. Before calling this function, the user needs to ensure that the model publication message (
bt_mesh_model_pub
.msg) contains a valid message to be sent. Note that this API is only to be used for non-period publishing. For periodic publishing the app only needs to make sure that
bt_mesh_model_pub
.msg contains a valid message whenever the
bt_mesh_model_pub
.update callback is called.