06-07-2021 20:53
06-07-2021 20:53
I want to build an app that can connect to fibit devices. After receiving heart rate data, it is automatically sent to the cloud in real time. Is it possible?
Answered! Go to the Best Answer.
06-07-2021 23:19
06-07-2021 23:19
06-07-2021 20:59
06-07-2021 20:59
Yes, but it is very difficult.
06-07-2021 22:51
06-07-2021 22:51
can you tell me why not?
06-07-2021 23:19
06-07-2021 23:19
06-09-2021 19:13
06-09-2021 19:13
can i confirm?
The companion component can't run continuously for long periods.
are you talking about the application that runs on the phone that cannot run continuously for a long time, right?
06-09-2021 20:35
06-09-2021 20:35
That's right. The companion bit actually runs 'within' the Fitbit app, but it can't run continually because of phone operating systems' power-saving requirements.
It usually restarts when it receives a communication from the watch, but communications tend to be a bit troublesome. Sometimes it's necessary to restart things to get them going again.
06-09-2021 21:31
06-09-2021 21:31
If the phone is always in charge state. does the operating system require power saving?
If the operating system does not require power saving, the application can run continuously right?
06-09-2021 21:43
06-09-2021 21:43
I don't know. You'd need to test it. I suspect it wouldn't be allowed to run continuously anyway.
06-09-2021 21:56
06-09-2021 21:56
Thank you. I will test it.
I ask that because when playing games on the phone, especially online games, the essence of the app running on the phone is also transmitting data from the phone to the server while still ensuring real-time. So turning on the app is completely capable of running for a long time until the phone runs out of battery.
06-09-2021 22:16
06-09-2021 22:16
What you say makes sense. I hope you're right!
The other problem is comms reliability over long periods. You might need to implement dummy comms in your test to properly explore the companion life-cycle, so you may kill two birds with one stone.