ESP-IDF + 0/4 examples
SourceVu will show references to esp_ble_mesh_model_publish() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

ESP_OK on success or error code otherwise.

Notes

Before calling this function, the user needs to ensure that the model publication message (esp_ble_mesh_model_pub_t .msg) contains a valid message to be sent. And if users want to update the publishing message, this API should be called in ESP_BLE_MESH_MODEL_PUBLISH_UPDATE_EVT with the message updated.

References

from examples