@@ -0,0 +1,1405 @@
+/*%0A * Copyright (C) 2011 Google Inc.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may not%0A * use this file except in compliance with the License. You may obtain a copy of%0A * the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0A * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the%0A * License for the specific language governing permissions and limitations under%0A * the License.%0A */%0A%0Apackage com.google.android.apps.mytracks.services.sensors.ant;%0A%0A/**%0A * A enum which stores static data about ANT sensors.%0A *%0A * @author Matthew Simmons%0A */%0Apublic enum AntSensor %7B%0A  SENSOR_HEART_RATE (Constants.ANT_DEVICE_TYPE_HRM),%0A  SENSOR_CADENCE (Constants.ANT_DEVICE_TYPE_CADENCE),%0A  SENSOR_SPEED (Constants.ANT_DEVICE_TYPE_SPEED),%0A  SENSOR_POWER (Constants.ANT_DEVICE_TYPE_POWER);%0A%0A  private static class Constants %7B%0A    public static byte ANT_DEVICE_TYPE_POWER = 11;%0A    public static byte ANT_DEVICE_TYPE_HRM = 120;%0A    public static byte ANT_DEVICE_TYPE_CADENCE = 122;%0A    public static byte ANT_DEVICE_TYPE_SPEED = 123;%0A  %7D;%0A%0A  private final byte deviceType;%0A%0A  private AntSensor(byte deviceType) %7B%0A    this.deviceType = deviceType;%0A  %7D%0A%0A  public byte getDeviceType() %7B%0A    return deviceType;%0A  %7D%0A%7D%0A

Add an enum which stores static data about ANT sensors.