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
WFHardwareConnector(AntMode) Category Reference

A category on the WFHardwareConnector class which facilitates using the Wahoo Fitness API in Advanced ANT mode. More...

#import <WFHardwareConnector+AntMode.h>

Instance Methods

(BOOL- initializeAdvancedMode:
 Sets the WFHardwareConnetor to Advanced ANT mode. More...
 
(BOOL- sendAntMessage:
 Sends the specified ANT message. More...
 

Detailed Description

A category on the WFHardwareConnector class which facilitates using the Wahoo Fitness API in Advanced ANT mode.

Method Documentation

- (BOOL) initializeAdvancedMode: (id< WFAntReceiverDelegate >)  rxDelegate_

Sets the WFHardwareConnetor to Advanced ANT mode.

In Advanced mode, no internal processing of ANT messages is performed. ANT messages are sent via the sendAntMessage: method and received using the antMessageReceived: (WFAntReceiverDelegate-p) method.

Note
In Advanced mode all ANT channel configuration and message processing are the responsibility of the application developer, no internal processing is performed.
Parameters
rxDelegate_A reference to the WFAntReceiverDelegate instance which will handle the RX messages from ANT. If this parameter is nil, the Advanced mode will be disabled, and the API will return to standard operation mode.
Returns
TRUE if advanced mode was set successfully, otherwise FALSE.

Extends class WFHardwareConnector.

- (BOOL) sendAntMessage: (WFAntMessage *)  pstMessage

Sends the specified ANT message.

Note
The WFHardwareConnector must be in Advanced mode for this method to work properly (see initializeAdvancedMode:).
Parameters
pstMessageA pointer to the ANT message to be sent.
Returns
TRUE if the message was sent successfully, otherwise FALSE.

Extends class WFHardwareConnector.