Access to standard Data fields on Edge 520

Hi - new to connect IQ so apologies if these are stupid questions.
I'm trying to develop a datafield that is derived from standard fields that are available on the device eg 15s Av power, gradient and user settings like the user's FTP setting.
Have I understood correctly that these below are the only available standard field?
module Activity
{
class Info
{
var startLocation; // Starting location of the activity, a Location object
var startTime; // Starting time of activity, a Moment object
var elapsedTime; // Elapsed time of the activity in ms
var timerTime; // Timer time in milliseconds
var elapsedDistance; // Distance in meters
var currentLocationAccuracy; // GPS Accuracy - See location constant
var currentLocation; // Current location, a Location object
var calories; // Calories in kcal
var currentSpeed; // Speed in meters per second
var averageSpeed; // Average speed in meters per second
var maxSpeed; // Maximum speed in meters per second
var currentPace; // Current pace in meters per second
var currentPower; // Current power in watts
var averagePower; // Average power in watts
var maxPower; // Maximum power in watts
var totalAscent; // Total ascent in meters
var totalDescent; // Total descent in meters
var currentHeartRate; // Current heart rate in beats per minute
var averageHeartRate; // Average heart rate in beats per minute
var maxHeartRate; // Maximum heart rate in beats per minute
var currentCadence; // Current cadence in revolutions per minute
var averageCadence; // Average cadence in revolutions per minute
var maximumCadence; // Maximum cadence in revolutions per minute
var swimStrokeType; // Swim stroke type
var swimSwolf; // Swim SWOLF
var swimEfficency; // Swim efficence
var averageDistance; // Swim stroke average distance
var currentHeading; // Current heading in radians
}
}

So would have to calculate myself gradient or 15s Av power.
And for the user details weight, HR zones and gender are available but not much else?
  • Former Member
    Former Member over 9 years ago
    I'm wondering the same question....
  • Yes, you have to calculate other things yourself. If you look at the things in Activity.info, you see speed, but if you want to show pace, you have to do the math, for example.

    There are other things that a available to do things in a DF though. For example, once you have pace, you can check the devices settings to display it in metric or statute. And with 2.1.x, there are callbacks for things like "onTimerLap()", so you'll know when an auto or manual lap occurs. (I've not tried this in SimpleDataField, just DataField. nor have I tried it on a 520)
  • Former Member
    Former Member over 9 years ago
    1. You can only calculate average power yourself;

    2. You CANNOT get internal power zone settings. You need to define you own properties/settings which can be configured by Mobile App/GarminExpress.