LifeTrak Move Watch

From IoT
Jump to: navigation, search

Go Up to ThingConnect Devices

LifeTrak Move Watch is a fitness tracker watch with podometer.

Use the TLifeTrakMoveWatch component to communicate with the LifeTrak Move watch.

Demo Location

You can find the sample projects for the LifeTrak Move Watch in the following IoT demo directories after installing the component:

  • Start | Programs | Embarcadero RAD Studio Berlin | Samples and then navigate to:
    • Delphi: Internet of Things\Object Pascal\Thing Connect\LifeTrakMoveWatches
    • C++: Internet of Things\CPP\Thing Connect\LifeTrakMoveWatches

Supported Services

The LifeTrak Move Watch component supports the following Bluetooth LE services and characteristics:

Service Characteristic Property Event Read Subscribe Write
Battery Service Battery Level BatteryLevel OnBatteryLevelUpdate
Device Information Firmware Revision String FirmwareRevision OnFirmwareRevisionUpdate
Hardware Revision String HardwareRevision OnHardwareRevisionUpdate
IEEE 11073-20601 Regulatory Certification Data List IEEECertificationData OnIEEECertificationDataUpdate
Manufacturer Name String ManufacturerName OnManufacturerNameUpdate
Model Number String ModelNumber OnModelNumberUpdate
Serial Number String SerialNumber OnSerialNumberUpdate
Software Revision String SoftwareRevision OnSoftwareRevisionUpdate
System ID SystemID OnSystemIDUpdate

The LifeTrak Move Watch component supports the following custom services:

Service Property Event Read Subscribe Write Description
LifeTrak Service OnResponseUpdate
Returns the response data from the device.
Sends a command data to the device.

Device Details

  • Device: LifeTrak
  • Model: Move (C300)
  • Firmware: V0220
  • Technology: Bluetooth LE

Custom Data Types

The LifeTrak Move Watch defines its custom data types in the following unit:

  • Iot.Device.LifeTrakMoveWatchTypes

LifeTrak Move Watch Command

The TLifeTrakMoveWatchesCommand type creates a command to send data to the LifeTrak Move Watch.

  • Value: Returns the raw array of bytes to send to the device.

Use the following functions in TLifeTrakMoveWatchesCommand to create the corresponding command for different actions:

  • Function CommunicationDone: Command CommandCommunicationDoneID = 70 to end the communication with the device.
  • Function ModelNumber: Command ModelNumberID = 76 to ask for the model number.
  • Function DataHeaders: Command DataHeadersID = 160 to ask for the statistical data headers.
  • Function DataPointsSelectedDateStamp: Command DataPointsSelectedDateStampID = 161 to ask for the statistical data of a particular header index (HeaderIndex).
  • Function DataPointsSelectedDateStampIndexed: Command DataPointsSelectedDateStampIndexedID = 162 to ask for statistical data of particular header (HeaderIndex) and start index (StartIndex).
  • Function DataPointsBlock: Command DataPointsBlockID = 163 to ask for the statistical data of a particular header, starn and end indexes.
  • Function WeightTrackDatabase: Command WeightTrackDatabaseID = 176 to ask for weight statistical data.
  • Function AllAllocationBlocks: Command AllAllocationBlocksID = 224 to ask for all allocation block.
  • Function SingleAllocationBlock: Command SingleAllocationBlockID = 225 to ask for particular allocation block (Index).
  • Function AllocationBlockData: Command AllocationBlockDataID = 229 to ask for particular block data (Index).
  • Function Time: Command TimeID = 208 to ask for the time profile.
  • Function UserProfile: Command UserProfileID = 192 to ask for the user profile.
  • Function GoalDistance: Command GoalDistanceID = 194 to ask for the currently goal distance that has been set.
  • Function GoalCalorie: Command GoalCalorieID = 196 to ask for the currently goal calories that have been set.
  • Function GoalSteps: Command GoalStepsID = 198 to ask for the currently goal steps that have been set.
  • Function SetTime: Command SetTimeID = 209 to set the time profile (ATimeProfile).
  • Function SetUserProfile: Command SetUserProfileID = 193 to set the user profile (AUserProfile).
  • Function SetGoalDistance: Command SetGoalDistanceID = 195 to set the current goal distance (Range value: 0-621.3 mi or 0-999.9 kilometres).
  • Function SetGoalCalorie: Command SetGoalCalorieID = 197 to set the current goal calorie (Range value: 0-99,999 calories).
  • Function SetGoalSteps: Command SetGoalStepsID = 199 to set the current goal steps (Range value: 0-99,999 steps).

LifeTrak Move Watch Response

The TLifeTrakMoveWatchesResponse type returns the response to the request data, received from the LifeTrak Move Watch.

  • Value: Raw array of bytes received from the device.

Use the following functions in TLifeTrakMoveWatchesResponse to retrieve the response from the device:

  • Function ModelNumber returns the model number from the current content.
  • Function Time returns the time profile.
  • Function UserProfile returns the data from the current user profile.
  • Function GoalDistance returns the goal distance. Range value: 0-621.3 miles or 0-999.9 kilometres.
  • Function GoalCalorie returns the goal calorie. Range value: 0-99,999 calories.
  • Function GoalSteps returns the goal steps set. Range value: 0-99,999 steps.
  • Function ExtractHeaders returns an array of the stored statistical data (TLifeTrakMoveHeader).
  • Function ExtractDataPoints returns an array of the stored data points (TLifeTrakMoveDataPointArray).
  • Function ExtractWeightPoints returns an array of the stored weight points (TLifeTrakMoveWeightPointArray).
  • Function IsBlockComplete checks if the data is split in several blocks.

LifeTrak Move Watch User Profile

The TLifeTrakMoveUserProfile contains the user information and preferences set for the current user:

  • BirthDate: Date of birth (day/month/year).
  • UserGender: User gender (Male = 0, Female = 1).
  • UnitSystem: Unit system used. Imperial units (Imperial = 0) or metric system (SI = 1).
  • Sensitivity: Sensitivity settings (not supported by the device, this parameter returns 0).
  • Weight: User weight value in pounds or kilograms (depending on the unit system). Range values: 44-440 pounds or 20-200 Kg.
  • Height: User height value in inches or centimetres (depending on the unit system). Range values: 40-84 inches or 100-220 cm.

LifeTrak Move Watch Time Profile

The TLifeTrakMoveTimeProfile contains the time settings and preferences set:

  • DateTime: Sets the date and the time.
  • HourFormat: User hour format, 24 hours (TwenyFour = 1) or AM/PM (Twelve = 0).
  • DateFormat: User date format (DDMM = 0, MMDD = 1, DDMMM = 2, MMMDD = 3).
  • TimeDisplaySize: User time display size (not supported by device).

LifeTrak Move Data Point

The TLifeTrakMoveDataPoint contains the following statistical data:

  • AverageHeartRate: Defines the average heart rate.
  • Distance: Defines the distance.
  • Steps: Defines the steps.
  • Calories: Defines the calories.
  • SleepPoint_0_2: Defines the Sleep Point from 0 to 2.
  • SleepPoint_2_4: Defines the Sleep Point from 2 to 4.
  • SleepPoint_4_6: Defines the Sleep Point from 4 to 6.
  • SleepPoint_6_8: Defines the Sleep Point from 6 to 8.
  • SleepPoint_8_10: Defines the Sleep Point from 8 to 10.
  • DominantAxis: Defines the dominant step axis.
  • AxisDirection: Defines the movement direction along the dominant axis.
  • AxisMagnitude: Defines the movement magnitude along dominant axis.
  • Lux: Defines the light level in Lux.

LifeTrak Move Header

The TLifeTrakMoveHeader contains the following overall information:

  • Datestamp: Defines the date.
  • StartTime: Defines the time of beginning of record.
  • EndTime: Defines the time of end of record.
  • AllocationBlockIndex: Defines the index within the data storage.
  • Steps: Defines the steps during a defined period period.
  • Distance: Defines the distance during a defined period period.
  • Calorie: Defines the consumed calories during a defined period.
  • Sleep: Defines the sleep/inactivity time during a period.

LifeTrak Move Weight Point

The TLifeTrakMoveWeightPoint contains the following user weight information:

  • Timestamp: Defines the time of the statistical event.
  • Weight: Sets the weight.

See Also