01-27-2021 00:28
01-27-2021 00:28
Hi,
i am pretty brand new to the Fitbit app dev. I have a Fitbit Sense and want to transfer the collected sensor data to cloud. I was thinking to write them in the Ram and push it from there. But considering the high frequency of 100hz, i get out of memory in less than a minute. So, I guess the only option is to push it to storage and from there to AWS cloud. I still don’t get the campanion app thing.
1) It is in some sense runing on the phone right?
2) if i have access to some stuff in the app, I don’t have access to them in the companion, right?
3) the example in the fitbit, uses outbox for the campanion, is there any example for the inbox? (I think i need the inbox one on the companion since the watch is pushing the data to the phone)
thanks in advance for your help.
Answered! Go to the Best Answer.
02-03-2021 03:31 - edited 02-03-2021 03:31
02-03-2021 03:31 - edited 02-03-2021 03:31
The companion is a second javascript environment on the phone in the Fitbit app, Your app on the Fitbit device can communicate bi-directionally with the companion. You can either use messaging, or file transfer to send data between the device and companion.
02-03-2021 03:31 - edited 02-03-2021 03:31
02-03-2021 03:31 - edited 02-03-2021 03:31
The companion is a second javascript environment on the phone in the Fitbit app, Your app on the Fitbit device can communicate bi-directionally with the companion. You can either use messaging, or file transfer to send data between the device and companion.