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
fit_convert.h File Reference
#include "fit_product.h"
+ Include dependency graph for fit_convert.h:

Go to the source code of this file.

Classes

struct  FIT_CONVERT_STATE
 

Enumerations

enum  FIT_CONVERT_DECODE_STATE {
  FIT_CONVERT_DECODE_FILE_HDR,
  FIT_CONVERT_DECODE_RECORD,
  FIT_CONVERT_DECODE_RESERVED1,
  FIT_CONVERT_DECODE_ARCH,
  FIT_CONVERT_DECODE_GTYPE_1,
  FIT_CONVERT_DECODE_GTYPE_2,
  FIT_CONVERT_DECODE_NUM_FIELD_DEFS,
  FIT_CONVERT_DECODE_FIELD_DEF,
  FIT_CONVERT_DECODE_FIELD_DEF_SIZE,
  FIT_CONVERT_DECODE_FIELD_BASE_TYPE,
  FIT_CONVERT_DECODE_FIELD_DATA
}
 
enum  FIT_CONVERT_RETURN {
  FIT_CONVERT_CONTINUE,
  FIT_CONVERT_MESSAGE_AVAILABLE,
  FIT_CONVERT_ERROR,
  FIT_CONVERT_END_OF_FILE,
  FIT_CONVERT_PROTOCOL_VERSION_NOT_SUPPORTED,
  FIT_CONVERT_DATA_TYPE_NOT_SUPPORTED
}
 

Functions

const FIT_UINT8FitConvert_GetMessageData (void)
 
FIT_MESG_NUM FitConvert_GetMessageNumber (void)
 
void FitConvert_Init (FIT_BOOL read_file_header)
 
FIT_CONVERT_RETURN FitConvert_Read (const void *data, FIT_UINT32 size)
 
void FitConvert_RestoreFields (const void *mesg_data)
 
FIT_UINT32 WFFitConvert_CurrentOffset ()
 

Enumeration Type Documentation

Enumerator
FIT_CONVERT_DECODE_FILE_HDR 
FIT_CONVERT_DECODE_RECORD 
FIT_CONVERT_DECODE_RESERVED1 
FIT_CONVERT_DECODE_ARCH 
FIT_CONVERT_DECODE_GTYPE_1 
FIT_CONVERT_DECODE_GTYPE_2 
FIT_CONVERT_DECODE_NUM_FIELD_DEFS 
FIT_CONVERT_DECODE_FIELD_DEF 
FIT_CONVERT_DECODE_FIELD_DEF_SIZE 
FIT_CONVERT_DECODE_FIELD_BASE_TYPE 
FIT_CONVERT_DECODE_FIELD_DATA 
Enumerator
FIT_CONVERT_CONTINUE 
FIT_CONVERT_MESSAGE_AVAILABLE 
FIT_CONVERT_ERROR 
FIT_CONVERT_END_OF_FILE 
FIT_CONVERT_PROTOCOL_VERSION_NOT_SUPPORTED 
FIT_CONVERT_DATA_TYPE_NOT_SUPPORTED 

Function Documentation

const FIT_UINT8* FitConvert_GetMessageData ( void  )
FIT_MESG_NUM FitConvert_GetMessageNumber ( void  )
void FitConvert_Init ( FIT_BOOL  read_file_header)
FIT_CONVERT_RETURN FitConvert_Read ( const void *  data,
FIT_UINT32  size 
)
void FitConvert_RestoreFields ( const void *  mesg_data)
FIT_UINT32 WFFitConvert_CurrentOffset ( )