Locus Map - forum

Development => Developers => Topic started by: billi on April 15, 2017, 09:39:00

Title: Set heartrate
Post by: billi on April 15, 2017, 09:39:00

I'm new to this and was looking around the locus-api-android to find a way to send the heart rate. It looks like the heart rate is embeeded in the location data when its fetched and sent via the period updates.

However, I want to actually set/send the heart rate value (from a device that isnt ant+/bt) through an addon, if possible. Is there any way to do that with the API?
Anything to put me on the right track if so would be really nice.

Title: Re: Set heartrate
Post by: menion on April 15, 2017, 13:18:23
Good day billi,
this is currently not possible. "Periodic updates" are made for add-ons to listen for a new information. What you need is some substitution of your values into currently used "Location" container, which is not possible. I can only see an option to record hr values separately and offer to "track" bottom menu option "fill HR values" which should load track, fill values and same track back. Ah, overcomplicated and maybe not yet perfectly working over API. Sorry.