Packages

p

fit.stream

reader

package reader

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class FileHeader(size: Int, protocolVersion: Int, profileVersion: Int, dataSize: Long, dataType: String, crc: Int) extends Message with Product with Serializable

    The file header provides information about the FIT File.

    The file header provides information about the FIT File. The minimum size of the file header is 12 bytes including protocol and profile version numbers, the amount of data contained in the file and data type signature. The 12 byte header is considered legacy, using the 14 byte header is preferred. The header size should always be decoded before attempting to interpret a FIT file, Dynastream may extend the header as necessary. Computing the CRC is optional when using a 14 byte file header, it is permissible to set it to 0x0000. Including the CRC in the file header allows the CRC of the file to be computed as the file is being written when the amount of data to be contained in the file is not known.

    Ref: FIT rev 2.3: Table 3-1. Byte Description of File Header.

  2. trait Message extends Product

Value Members

  1. object FileHeader extends Serializable

Ungrouped