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

Describes the metadata for an ANT FS directory entry. More...

#include <wf_antfs_types.h>

Public Attributes

UCHAR ucFileDataType
 This field specifies the data type of the file. More...
 
UCHAR ucFileSubType
 Specifies the data sub type of the .FIT file. More...
 
UCHAR ucGeneralFlags
 Bit mapped flags of file permissions. More...
 
UCHAR ucSpecificFlags
 Bit mapped flags of file data type specific permissions. More...
 
ULONG ulFileSize
 Size of file in bytes. More...
 
ULONG ulTimestamp
 The number of seconds elapsed since 00:00 in the morning of December 31, 1989. More...
 
USHORT usFileIndex
 This field specifies the data file index. More...
 
USHORT usFileNumber
 Number used to identify a specific instance of a file sub-type. More...
 

Detailed Description

Describes the metadata for an ANT FS directory entry.

Member Data Documentation

UCHAR ANTFSP_DIRECTORY::ucFileDataType

This field specifies the data type of the file.

The File Data Type informs the host how the file may be interpreted.

UCHAR ANTFSP_DIRECTORY::ucFileSubType

Specifies the data sub type of the .FIT file.

UCHAR ANTFSP_DIRECTORY::ucGeneralFlags

Bit mapped flags of file permissions.

Bits (0-7)
76543210
||||X---—> (bit 3) Append (can append to file only)
|||X----—> (bit 4) Archive (been downloaded)
||X-----—> (bit 5) Erase (can erase)
|X------—> (bit 6) Write (can upload)
X-------—> (bit 7) Read (can download)

Bits 0-2 are reserved.

UCHAR ANTFSP_DIRECTORY::ucSpecificFlags

Bit mapped flags of file data type specific permissions.

Bits (0-7)
76543210

Bits are defined by the File Data Type. Bits should be allocated starting from Bit 0.

ULONG ANTFSP_DIRECTORY::ulFileSize

Size of file in bytes.

If file size is 0, then file has not been uploaded but may be available for upload.

ULONG ANTFSP_DIRECTORY::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.

USHORT ANTFSP_DIRECTORY::usFileIndex

This field specifies the data file index.

This is the value used when referencing files for download, upload, and erase.

USHORT ANTFSP_DIRECTORY::usFileNumber

Number used to identify a specific instance of a file sub-type.

Can refer to user, session number, etc.