#include <include/bluetooth/mesh/scene_cli.h>
Store the current state as a scene without requesting a response.
- Parameters
-
| [in] | cli | Scene client model. |
| [in] | ctx | Message context to send with, or NULL to use the configured publication parameters. |
| [in] | scene | Scene number to store. Cannot be BT_MESH_SCENE_NONE. |
- Return values
-
| 0 | Successfully sent the store message. |
| -EINVAL | Invalid scene number. |
| -EADDRNOTAVAIL | A message context was not provided and publishing is not configured. |
| -EAGAIN | The device has not been provisioned. |