Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Device type id list

Rank

Total Posts: 2

Joined 2017-10-18

PM

Hi, we are building an ant+ mobile application for Android and iOS. We need to know if there is a device type id list into reference that we can use to map device types.
For example in Android SDK we have this device types id:

BIKE_POWER(11, "Bike Power Sensors"),
CONTROLLABLE_DEVICE(16, "Controls"),
FITNESS_EQUIPMENT(17, "Fitness Equipment Devices"),
BLOOD_PRESSURE(18, "Blood Pressure Monitors"),
GEOCACHE(19, "Geocache Transmitters"),
ENVIRONMENT(25, "Environment Sensors"),
WEIGHT_SCALE(119, "Weight Sensors"),
HEARTRATE(120, "Heart Rate Sensors"),
BIKE_SPDCAD(121, "Bike Speed and Cadence Sensors"),
BIKE_CADENCE(122, "Bike Cadence Sensors"),
BIKE_SPD(123, "Bike Speed Sensors"),
STRIDE_SDM(124, "Stride-Based Speed and Distance Sensors"),
UNKNOWN(-1, "Unknown");

For iOS (Wahoo SDK):
WF_SENSORTYPE_BIKE_POWER = 0x00000001,
/** Specifies the bike speed sensor. */
WF_SENSORTYPE_BIKE_SPEED = 0x00000002,
/** Specifies the bike cadence sensor. */
WF_SENSORTYPE_BIKE_CADENCE = 0x00000004,
/** Specifies the combined bike speed and cadence sensor. */
WF_SENSORTYPE_BIKE_SPEED_CADENCE = 0x00000008,
/** Specifies the heart rate monitor sensor. */
WF_SENSORTYPE_HEARTRATE = 0x00000020,....


Which is the right reference?

Thanks

     
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

The Android SDK "Device Types" you listed are the values which are actually broadcast over the air within the ANT data packets. The latter list you posted appears to be an internal software reference for that particular SDK.