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

◆ bt_mesh_time_srv_uncertainty_get()

uint64_t bt_mesh_time_srv_uncertainty_get ( struct bt_mesh_time_srv * srv,
int64_t uptime )

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

Get the device time uncertainty at a given uptime.

Note
This function does not support uncertainty lookups for uptimes that occurred before the last received set- or status update.
Parameters
[in]srvTime Server instance.
[in]uptimeUptime at the desired point in time.
Return values
Positiveuncertainty if successful, negative error code otherwise.