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

◆ log_rpc_set_time()

void log_rpc_set_time ( uint64_t now_us)

#include <include/logging/log_rpc.h>

Sets the current time used for log timestamping.

This function issues an nRF RPC command that configures the remote device with the current time that should be used for timestamping new log messages.

Note
The remote device may enable log buffering and log messages are time- stamped before they are enqueued in the log buffer, so this function may not have an immediate effect and you may still observe a few messages timestamped with the old time after this function exits.
Parameters
now_usThe current time in microseconds.