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

◆ bt_mesh_scheduler_srv_time_update()

int bt_mesh_scheduler_srv_time_update ( struct bt_mesh_scheduler_srv * srv)

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

Update time of the scheduled action.

Note
This API is required to update time if referenced time server updated Time Zone BT_MESH_TIME_SRV_ZONE_UPDATE or UTC BT_MESH_TIME_SRV_UTC_UPDATE.
Parameters
[in]srvScheduler server model.
Return values
0Successfully updated time of the ongoing action.
-EINVALInvalid parameters.