DFRobot C1001 use of sSleepStatistics DFRobot_HumanDetection::c(void)
I am building and application as part of my commercial systems for a possibly large application in Aged care and in home care in several countries. [yes, required approvals and testing]
and testing the C1001 in Sleep mode, that is generally OK reading the sleep mode, inornotinbed, heartrate / respiration etc, all reasonably ok, I added the normal range control etc
I will also do the Fall detect method, looks relatively simple.
, however I need to receive the hu.getSleepStatistics();
In the example code there is the following comment..
sSleepStatistics statistics = hu.getSleepStatistics(); // Get sleep statistics, the sensor reports the whole night's sleep statistics data when it judges the sleep process to be over.
when can I expect that? or can I call it after we are “awake” or “not present?” inotnotinbed etc?
I am writing the data to the cloud data service, also what are the range of values I expect to see for these items ?
Also in the sSleepComposite DFRobot_HumanDetection::getSleepComposite(void)
what will I expect in the .apneaEvents = 0, ? appears I received an apnea evet of some 132?
as I need to read that as an event and I can log the time and result .. is that simply 0 - 1 ? not just the stats
appreciate some assistance,, thanks Terence..