Author Topic: Set heartrate  (Read 5068 times)

Offline billi

  • Newbie
  • *
  • Posts: 1
    • View Profile
  • Device: samsung s7
Set heartrate
« 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.


Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11352
  • Thanked: 292 times
    • View Profile
  • Device: SGS7
Re: Set heartrate
« Reply #1 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.
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!