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

◆ bt_mesh_time_srv_role_set()

void bt_mesh_time_srv_role_set ( struct bt_mesh_time_srv srv,
enum bt_mesh_time_role  role 
)

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

Set the role parameter for the server.

Note
This is an alternative way to set parameters for the Time Server instance. In most cases these parameters will be configured remotely by a Time Client or a neigbouring Time Server.
Parameters
[in]srvTime Server instance.
[in]roleDesired role configuration.