![]() |
nRF Connect SDK API 3.3.99
|
| ssize_t(* bt_mesh_scene_entry::store) (const struct bt_mesh_model *model, uint8_t data[]) |
Store the current state as a scene.
The callback should fill the data with the current scene state and return the number of bytes written. data is guaranteed to fit maxlen number of bytes.
| [in] | model | Model to get the scene data of. |
| [out] | data | Scene data buffer to fill. Fits maxlen bytes. |
data or a negative value on failure.