01-20-2021 03:29 PM
Hello, I have a problem, I am not sure what the meaning of timestamp is here, because when I run the program, in bsc_integration.c if I enter bsec_sencor_control (...) with any timestamp value, it only exits this function with the bsec_status = BESC_OK the first time I enter after bsec_iot_init (...), the next times I enter the function bsec_sencor_control (...) exits with bsec_status = BSEC_W_SC_CALL_TIMING_VIOLATION. Can someone help me understand what value I have to return in get_timestamp_us () for everything to work ok. Waiting for an answer, best regards, Luis Valseca
Solved! Go to Solution.
01-24-2021 12:23 PM
Hi,
now it is clear to me what I should return when exiting get_timestamp_us (), and it is the time in microseconds since the program started running. Thankyou very much, best regards
Luis Valseca