Wahoo Fitness API  3.6.1
Documentation for the iPhone version of the Wahoo Fitness API.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
wf_bike_trainer_types.h File Reference

Go to the source code of this file.

Classes

struct  WFBikeTrainerDelegateInfo_t
 Structure containing information regarding the control point command ucStatus The command status code (0 for Success). More...
 

Enumerations

enum  WFBikeTrainerFeature_t {
  WF_BIKE_TRAINER_FEATURE_INVALID,
  WF_BIKE_TRAINER_FEATURE_CONSUME_ANT_CADENCE,
  WF_BIKE_TRAINER_FEATURE_REGULATE_POWER_FROM_ANT,
  WF_BIKE_TRAINER_FEATURE_ERG_MODE_SPEED_SIMULATION,
  WF_BIKE_TRAINER_FEATURE_SIMULATE_SPEED_FROM_DOWNHILL
}
 
enum  WFBikeTrainerLevel_t {
  WF_BIKE_TRAINER_LEVEL_NONE,
  WF_BIKE_TRAINER_LEVEL_1,
  WF_BIKE_TRAINER_LEVEL_2,
  WF_BIKE_TRAINER_LEVEL_3,
  WF_BIKE_TRAINER_LEVEL_4,
  WF_BIKE_TRAINER_LEVEL_5,
  WF_BIKE_TRAINER_LEVEL_6,
  WF_BIKE_TRAINER_LEVEL_7,
  WF_BIKE_TRAINER_LEVEL_8,
  WF_BIKE_TRAINER_LEVEL_9
}
 Describes the difficulty level of trainer progressive resistance while in Standard Mode. More...
 
enum  WFBikeTrainerMode_t {
  WF_BIKE_TRAINER_MODE_NONE,
  WF_BIKE_TRAINER_MODE_STANDARD,
  WF_BIKE_TRAINER_MODE_ERG,
  WF_BIKE_TRAINER_MODE_SIM,
  WF_BIKE_TRAINER_MODE_RESISTANCE,
  WF_BIKE_TRAINER_MODE_FTP
}
 Describes the mode in which the trainer is currently running. More...
 
enum  WFBikeTrainerModeParams_t {
  WF_BIKE_TRAINER_MODE_PARAMS_NONE,
  WF_BIKE_TRAINER_MODE_PARAMS_DEFAULT,
  WF_BIKE_TRAINER_MODE_PARAMS_SIM_WEIGHT,
  WF_BIKE_TRAINER_MODE_PARAMS_SIM_C,
  WF_BIKE_TRAINER_MODE_PARAMS_SIM_CRR,
  WF_BIKE_TRAINER_MODE_PARAMS_SIM_WIND_SPEED,
  WF_BIKE_TRAINER_MODE_PARAMS_SIM_GRADE,
  WF_BIKE_TRAINER_MODE_PARAMS_FTP_POWER,
  WF_BIKE_TRAINER_MODE_PARAMS_FTP_PERCENT
}
 
enum  WFBikeTrainerPairedAntChannelType_t {
  WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_NONE,
  WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_BPS_TX,
  WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_BPS_RX,
  WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_BSS_TX,
  WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_BCS_RX,
  WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_CBSC_RX,
  WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_KICKR_RX
}
 
enum  WFBikeTrainerPairedAntDeviceState_t {
  WF_BIKE_TRAINER_PAIRED_ANT_DEVICE_STATE_INVALID,
  WF_BIKE_TRAINER_PAIRED_ANT_DEVICE_STATE_CLOSED,
  WF_BIKE_TRAINER_PAIRED_ANT_DEVICE_STATE_SEARCHING,
  WF_BIKE_TRAINER_PAIRED_ANT_DEVICE_STATE_OPEN
}
 
enum  WFBikeTrainerStatus_t {
  WF_BIKE_TRAINER_STATUS_SUCCESS,
  WF_BIKE_TRAINER_STATUS_UNSPECIFIED_ERROR,
  WF_BIKE_TRAINER_STATUS_WRONG_MODE,
  WF_BIKE_TRAINER_STATUS_RANGE_ERROR,
  WF_BIKE_TRAINER_STATUS_WRONG_STATE,
  WF_BIKE_TRAINER_STATUS_INVALID_PARAM,
  WF_BIKE_TRAINER_STATUS_ANT_CONFIG_ERROR,
  WF_BIKE_TRAINER_STATUS_CONTROL_DISABLED,
  WF_BIKE_TRAINER_STATUS_ANT_CHANNEL_ERROR,
  WF_BIKE_TRAINER_STATUS_NOT_SUPPORTED_ERROR
}
 

Variables

FOUNDATION_EXPORT NSString *const WFTrainerModeParamsFTPPercentageKey
 
FOUNDATION_EXPORT NSString *const WFTrainerModeParamsFTPPowerKey
 
FOUNDATION_EXPORT NSString *const WFTrainerModeParamsGradeKey
 
FOUNDATION_EXPORT NSString *const WFTrainerModeParamsLevelKey
 
FOUNDATION_EXPORT NSString *const WFTrainerModeParamsResistanceKey
 
FOUNDATION_EXPORT NSString *const WFTrainerModeParamsRollingResistanceKey
 
FOUNDATION_EXPORT NSString *const WFTrainerModeParamsSpeedSimEnabledKey
 
FOUNDATION_EXPORT NSString *const WFTrainerModeParamsTargetWattsKey
 
FOUNDATION_EXPORT NSString *const WFTrainerModeParamsWeightKey
 
FOUNDATION_EXPORT NSString *const WFTrainerModeParamsWindResistanceKey
 
FOUNDATION_EXPORT NSString *const WFTrainerModeParamsWindSpeedKey
 

Enumeration Type Documentation

Enumerator
WF_BIKE_TRAINER_FEATURE_INVALID 
WF_BIKE_TRAINER_FEATURE_CONSUME_ANT_CADENCE 
WF_BIKE_TRAINER_FEATURE_REGULATE_POWER_FROM_ANT 
WF_BIKE_TRAINER_FEATURE_ERG_MODE_SPEED_SIMULATION 
WF_BIKE_TRAINER_FEATURE_SIMULATE_SPEED_FROM_DOWNHILL 

Describes the difficulty level of trainer progressive resistance while in Standard Mode.

Enumerator
WF_BIKE_TRAINER_LEVEL_NONE 

Trainer level not specified.

WF_BIKE_TRAINER_LEVEL_1 

The least difficult progressive power curve.

WF_BIKE_TRAINER_LEVEL_2 

Progressive resistance level 2 of 9.

WF_BIKE_TRAINER_LEVEL_3 

Progressive resistance level 3 of 9.

WF_BIKE_TRAINER_LEVEL_4 

Progressive resistance level 4 of 9.

WF_BIKE_TRAINER_LEVEL_5 

Progressive resistance level 5 of 9.

WF_BIKE_TRAINER_LEVEL_6 

Progressive resistance level 6 of 9.

WF_BIKE_TRAINER_LEVEL_7 

Progressive resistance level 7 of 9.

WF_BIKE_TRAINER_LEVEL_8 

Progressive resistance level 8 of 9.

WF_BIKE_TRAINER_LEVEL_9 

The most difficult progressive power curve.

Describes the mode in which the trainer is currently running.

Enumerator
WF_BIKE_TRAINER_MODE_NONE 

Trainer mode not specified.

WF_BIKE_TRAINER_MODE_STANDARD 

Standard Mode will mimic a typical fluid trainer's resistance curve.

WF_BIKE_TRAINER_MODE_ERG 

Erg mode will maintain a constant target power output regardless of speed.

WF_BIKE_TRAINER_MODE_SIM 

Sim mode will simulate real world riding conditions.

WF_BIKE_TRAINER_MODE_RESISTANCE 

Resistance mode will allow direct control of the trainer's resistance.

WF_BIKE_TRAINER_MODE_FTP 

FTP mode will maintain a constant target power output regardless of speed, where the target power is a percentage of FTP (Functional Threshold Power).

Enumerator
WF_BIKE_TRAINER_MODE_PARAMS_NONE 
WF_BIKE_TRAINER_MODE_PARAMS_DEFAULT 
WF_BIKE_TRAINER_MODE_PARAMS_SIM_WEIGHT 
WF_BIKE_TRAINER_MODE_PARAMS_SIM_C 
WF_BIKE_TRAINER_MODE_PARAMS_SIM_CRR 
WF_BIKE_TRAINER_MODE_PARAMS_SIM_WIND_SPEED 
WF_BIKE_TRAINER_MODE_PARAMS_SIM_GRADE 
WF_BIKE_TRAINER_MODE_PARAMS_FTP_POWER 
WF_BIKE_TRAINER_MODE_PARAMS_FTP_PERCENT 
Enumerator
WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_NONE 
WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_BPS_TX 
WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_BPS_RX 
WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_BSS_TX 
WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_BCS_RX 
WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_CBSC_RX 
WF_BIKE_TRAINER_PAIRED_ANT_CHANNEL_TYPE_KICKR_RX 
Enumerator
WF_BIKE_TRAINER_PAIRED_ANT_DEVICE_STATE_INVALID 
WF_BIKE_TRAINER_PAIRED_ANT_DEVICE_STATE_CLOSED 
WF_BIKE_TRAINER_PAIRED_ANT_DEVICE_STATE_SEARCHING 
WF_BIKE_TRAINER_PAIRED_ANT_DEVICE_STATE_OPEN 
Enumerator
WF_BIKE_TRAINER_STATUS_SUCCESS 
WF_BIKE_TRAINER_STATUS_UNSPECIFIED_ERROR 
WF_BIKE_TRAINER_STATUS_WRONG_MODE 
WF_BIKE_TRAINER_STATUS_RANGE_ERROR 
WF_BIKE_TRAINER_STATUS_WRONG_STATE 
WF_BIKE_TRAINER_STATUS_INVALID_PARAM 
WF_BIKE_TRAINER_STATUS_ANT_CONFIG_ERROR 
WF_BIKE_TRAINER_STATUS_CONTROL_DISABLED 
WF_BIKE_TRAINER_STATUS_ANT_CHANNEL_ERROR 
WF_BIKE_TRAINER_STATUS_NOT_SUPPORTED_ERROR 

Variable Documentation

FOUNDATION_EXPORT NSString* const WFTrainerModeParamsFTPPercentageKey
FOUNDATION_EXPORT NSString* const WFTrainerModeParamsFTPPowerKey
FOUNDATION_EXPORT NSString* const WFTrainerModeParamsGradeKey
FOUNDATION_EXPORT NSString* const WFTrainerModeParamsLevelKey
FOUNDATION_EXPORT NSString* const WFTrainerModeParamsResistanceKey
FOUNDATION_EXPORT NSString* const WFTrainerModeParamsRollingResistanceKey
FOUNDATION_EXPORT NSString* const WFTrainerModeParamsSpeedSimEnabledKey
FOUNDATION_EXPORT NSString* const WFTrainerModeParamsTargetWattsKey
FOUNDATION_EXPORT NSString* const WFTrainerModeParamsWeightKey
FOUNDATION_EXPORT NSString* const WFTrainerModeParamsWindResistanceKey
FOUNDATION_EXPORT NSString* const WFTrainerModeParamsWindSpeedKey