nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ bt_mesh_scene_srv_current_scene_get()

uint16_t bt_mesh_scene_srv_current_scene_get ( const struct bt_mesh_scene_srv * srv)

#include <include/bluetooth/mesh/scene_srv.h>

Get the current scene.

This will return the scene that the scene servers is currently in. If there is no currently active scene this will return BT_MESH_SCENE_NONE.

Parameters
[in]srvScene Server model.
Returns
Return the current scene for the scene server.