Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Access FitBit data

Author
Message
CumQuaT
AGK Master
14
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 9th Dec 2016 09:48 Edited at: 9th Dec 2016 10:27
Hi all,

Does anyone know if there's a way one could - using Tier 1, not Tier 2 - access the raw accelerometer data from a FitBit (or really any Bluetooth device that's spitting out data)? They do allow access to their API to capture the information, however the transfer protocol would be Bluetooth - which I'm not sure if Tier 1 has access to - and also I'm not sure whether accessing external APIs is something we can do in AppGameKit just yet...

Any advice?
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 9th Dec 2016 10:44 Edited at: 9th Dec 2016 12:29
i believe they provide a web api, means this device push data into a server.
https://dev.fitbit.com/
at Fitbit Web API Basics at Authentication in this page below Libraries "here is a list" you find examples.
for tier1 we have http commads. https://www.appgamekit.com/documentation/Reference/HTTP.htm

if this device is connected at your phone maybe you can see data with "terminal for bluethooth" app from "next prototypes" if it uses Serial Port Profile.
https://de.wikipedia.org/wiki/Bluetooth-Profile
https://en.wikipedia.org/wiki/List_of_Bluetooth_profiles
AGK (Steam) V2.0.21 : Windows 10 Pro 64 Bit : AMD (16.6) Radeon R7 265 : Mac mini OS Sierra (10.12)
CumQuaT
AGK Master
14
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 9th Dec 2016 12:04
Hi Markus, thanks for that.

What I'm asking, though, is not necessarily just for FitBit, but for accessing Bluetooth communication with any device. For example, if I were to build my own bluetooth motion tracking device, is there a means in AppGameKit Tier 1 which would allow me to communicate with the Bluetooth device I had built?
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 9th Dec 2016 12:46
you must know which Bluetooth profil your device can speak. then you can make a feature request for agk / tier1.
else you can try the native dev enviroments android studio,xcode,vs studio 2017.

AGK (Steam) V2.0.21 : Windows 10 Pro 64 Bit : AMD (16.6) Radeon R7 265 : Mac mini OS Sierra (10.12)
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 9th Dec 2016 12:52
Probably not in tier 1 unless it used the same method that was used to access the gpio pins on raspberryPI.

Login to post a reply

Server time is: 2024-09-29 21:33:26
Your offset time is: 2024-09-29 21:33:26