SelfSync

File capabilities message

File capabilities messages tell which file types a device supports, where they are stored and how many of them it can hold.

FIT name
file_capabilities
Global message number
37
JavaScript SDK key
fileCapabilitiesMesgs
Fields
7

Fields

  • Index of the message among the messages of the same kind in the file, starting at 0. Other messages use it to reference this one.

  • typeEnum

    Type of file.

    20 possible values
    • device
    • settings
    • sport
    • activity
    • workout
    • course
    • schedules
    • weight
    • totals
    • goals
    • bloodPressure
    • monitoringA
    • activitySummary
    • monitoringDaily
    • monitoringB
    • segment
    • segmentList
    • exdConfiguration
    • mfgRangeMin
    • mfgRangeMax
  • flagsEnum

    Operations allowed on the files: read, write, erase.

    3 possible values
    • write
    • read
    • erase
  • directoryString

    Directory where the files are stored on the device.

  • maxCountUint16

    Maximum number of files of the type.

  • maxSizeUint32bytes

    Maximum size of a file of the type.

  • mesgNumString

    Global message number identifying the kind of message. Decoders use it to know which profile to apply to the data.

Other file and device messages

See all the FIT messages