package com.wolkabout.wolk;

/**
 * All supported reading types.
 */
public enum ReadingType {

    ACCELERATION("ACL"),
    GYRO("GYR"),
    MAGNET("MAG"),
    LIGHT("LT"),
    TEMPERATURE("T"),
    HUMIDITY("H"),
    PRESSURE("P"),
    BATTERY("B"),
    HEARTRATE("BPM"),
    STEPS("STP"),
    CALORIES("KCA");

    private final String prefix;

    ReadingType(final String prefix) {
        this.prefix = prefix;
    }

    String getPrefix() {
        return prefix;
    }
}

@@ -302,16 +302,17 @@
 IES(%22KCA
+L
 %22);%0A%0A   

Fix for calories reading type