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
ANTFS_DIRECTORY_HEADER Struct Reference

Describes the ANT FS directory header. More...

#include <wf_antfs_types.h>

Public Attributes

UCHAR ucElementLength
 The length of each structure in bytes. More...
 
UCHAR ucReserved01
 Reserved byte. More...
 
UCHAR ucReserved02
 Reserved byte. More...
 
UCHAR ucReserved03
 Reserved byte. More...
 
UCHAR ucReserved04
 Reserved byte. More...
 
UCHAR ucReserved05
 Reserved byte. More...
 
UCHAR ucTimeFormat
 Defines how the system will keep track of Date/Time Stamps. More...
 
UCHAR ucVersion
 The version of the Directory File Structure. More...
 
ULONG ulSystemTime
 The number of seconds elapsed since the system was powered up. More...
 
ULONG ulTimestamp
 The number of seconds elapsed since 00:00 in the morning of December 31, 1989. More...
 

Detailed Description

Describes the ANT FS directory header.

Member Data Documentation

UCHAR ANTFS_DIRECTORY_HEADER::ucElementLength

The length of each structure in bytes.

UCHAR ANTFS_DIRECTORY_HEADER::ucReserved01

Reserved byte.

UCHAR ANTFS_DIRECTORY_HEADER::ucReserved02

Reserved byte.

UCHAR ANTFS_DIRECTORY_HEADER::ucReserved03

Reserved byte.

UCHAR ANTFS_DIRECTORY_HEADER::ucReserved04

Reserved byte.

UCHAR ANTFS_DIRECTORY_HEADER::ucReserved05

Reserved byte.

UCHAR ANTFS_DIRECTORY_HEADER::ucTimeFormat

Defines how the system will keep track of Date/Time Stamps.

0 – Device will use time as described in the Date parameter below, if the correct time is not known (prior to initial time sync) the device will use system time instead.
1 - Device will only use system time (seconds since power up).
2 – Device will only use the Date parameter as a counter.

UCHAR ANTFS_DIRECTORY_HEADER::ucVersion

The version of the Directory File Structure.

The most significant 4 bits indicate major revision (format of Index and File Data Type) while the least significant 4 bits indicate a minor revision.

ULONG ANTFS_DIRECTORY_HEADER::ulSystemTime

The number of seconds elapsed since the system was powered up.

If Time Format 0 is selected, the system time should roll over at 268435455 (0x0FFFFFFF). If the system time is not used, it should be set to zero.

ULONG ANTFS_DIRECTORY_HEADER::ulTimestamp

The number of seconds elapsed since 00:00 in the morning of December 31, 1989.

0 specifies an unknown date. Values of less than 268435455 (0x0FFFFFFF) will be interpreted as being system time or some other custom time format. This field is updated every time the directory entries are modified. In systems where time is unknown, this variable can be used as a counter that is incremented every time the directory entries are modified.