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
<WFBikePowerDelegate> Protocol Reference

Provides the interface for callback methods used by the WFBikePowerConnection. More...

#import <WFBikePowerDelegate.h>

+ Inheritance diagram for <WFBikePowerDelegate>:
+ Collaboration diagram for <WFBikePowerDelegate>:

Instance Methods

(void) - cpmConnection:didReceiveCalibrationResponse:
 Invoked when a response to the Manual Zero command is received. More...
 
(void) - cpmConnection:didReceiveCalibrationResponse:offset:
 
(void) - cpmConnection:didReceiveCalibrationResponse:offset:temperature:
 
(void) - cpmConnection:didReceiveReadCrankLengthResponse:crankLength:
 Invoked when a response to the Read Crank Length command is received. More...
 
(void) - cpmConnection:didReceiveSetCrankLengthResponse:
 Invoked when a response to the Set Crank Length command is received. More...
 

Detailed Description

Provides the interface for callback methods used by the WFBikePowerConnection.

This delegate handles callbacks for commands according to the CSC Profile. For commands used by Wahoo-specific trainer devices, such as the KICKR, please see the WFBikeTrainerDelegate.

Method Documentation

- (void) cpmConnection: (WFBikePowerConnection *)  cpmConn
didReceiveCalibrationResponse: (WFCPMCalibrationResponseObject *)  responseObject 
optional

Invoked when a response to the Manual Zero command is received.

Parameters
cpmConnThe WFBikePowerConnection instance.
ucStatusThe command status code (1 for Success).
errorParamoptional param for some command status
usOffsetThe offset generated by the calibration command.
scTempThe temperature read by the calibration command.
- (void) cpmConnection: (WFBikePowerConnection *)  cpmConn
didReceiveCalibrationResponse: (UCHAR ucStatus
offset: ((unavailable("Use: cpmConnection:didReceiveCalibrationResponse:errorParam:forceOffset:manufactureData:offset:temperature")))  __attribute__ 
optional
- (void) cpmConnection: (WFBikePowerConnection *)  cpmConn
didReceiveCalibrationResponse: (UCHAR ucStatus
offset: (USHORT usOffset
temperature: ((unavailable("Use: cpmConnection:didReceiveCalibrationResponse:errorParam:forceOffset:manufactureData:offset:temperature")))  __attribute__ 
optional
- (void) cpmConnection: (WFBikePowerConnection *)  cpmConn
didReceiveReadCrankLengthResponse: (UCHAR ucStatus
crankLength: (float)  crankLength 
optional

Invoked when a response to the Read Crank Length command is received.

Parameters
cpmConnThe WFBikePowerConnection instance.
ucStatusThe command status code (1 for Success).
crankLengthThe crank length, in meters.
- (void) cpmConnection: (WFBikePowerConnection *)  cpmConn
didReceiveSetCrankLengthResponse: (UCHAR ucStatus 
optional

Invoked when a response to the Set Crank Length command is received.

Parameters
cpmConnThe WFBikePowerConnection instance.
ucStatusThe command status code (1 for Success).