Hello, I'm developing an WEB app for Tizen 3.0 using TizenStudio. Target device is Samsung Gear Sport Smart Watch only. Application is supposed to gather heart rate data over long period of time and then send this data. In general what I'm trying to achieve is to gather complete heart rate data from last 10+ hours, measured at least every minute (if possible even more frequently). Battery or optimization is not an issue here, as long as the device lasts through 10+ hours of measurment.
I have managed to record and read something, but I have a lot of questions, because documentation is really poor in this aspect.
My code is:
var options = { retentionPeriod : 1 }; tizen.humanactivitymonitor.startRecorder("HRM", options);
Documentation mentions two possible options: retentionPeriod and interval, but does not explain how they work.
- Are there any other options (beside retentionPeriod and interval) for starting the recorder?
- Is interval in seconds? Milliseconds? Hours?
- What happens after retention period ends?
- What is MAX and MIN time for both: retention period and interval?
- Do I have to start SLEEP_MONITOR in my application before starting the recording?
- If my recording is activated and then user checks the heart rate in other app - is it added to my recording?
- Can I record the data for more than 10 hours?
- Can I read recorded data from multiple recordings?
- When do I have to stop the recording?
- I often get NotFoundError: Failed to read recorded data error despite the fact that heart rate monitor did read something.
Please address my questions, and have a good day :)