Hi,
there is an API for using GARMIN (vivoactive 3 if it matters) as GATT server and read data like health data?
Hi,
there is an API for using GARMIN (vivoactive 3 if it matters) as GATT server and read data like health data?
In CIQ 3.1, there is a BLE API, but it doesn't look like it will be available on the vivactive 3. See https://forums.garmin.com/developer/connect-iq/b/news-announcements/posts/connect-iq-3-1-connects-you-to-the-world
It is however available on other devices that have CIQ 3.1, and is used to talk to things like an external sensor. There are two samples in the 3.1 SDK for communicatings with the Nordic Thingy52, and I use it to communicate with a RaspberryPi for some home control applications.
Hi,
First of all, thanks for the reply. From what i've seen, it lets me create a profiles and characteristics, but i connected my garmin to nRFConnect android app and saw that there are already existing services so i guess that maybe some of the info i need is already there without the need for me implement custom services, so i wonder if there is an API for those services and characteristics.
The watches have their own services and characteristics, but I kind of doubt that the info on what they are or how to use them is public.
In CIQ, you sent up the profile (registerProfile), to be used in conjunction to GATT on another device. Again, look at the Nordic samples in the SDK, The info for the Thingy52 is public, and you can find it here:
https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/firmware_architecture.html
And if you look at the profiles, they're just set up to so the CIQ end can access services/characteristics on the Thing52. Then environmental services for one and the sound service for the other.
Check out this blog post with the presentation from the CIQ Summit in April:
Not really sure what you are trying to do, but you may need to look at the Health SDK or Health APIs to see if it can provide you the access to the heath data you are looking for. I know if you are trying to develop a phone app, then the health SDK can give you real-time access to certain data available in the watch, some of which is not available via CIQ.
The Garmin Connect SDK used to be $5000USD, but at the CIQ Summit this year, it was announced it would be rolled into the Health SDK and available for free. The main thing is you have to apply and explain you intended use before you can get a license.