Synchronized Swimming

JSON fields received by the App:

Field Name Field Type Field Description
year int Data date: year
month int Data date: month
day int Data date: day
hour int Data date: hour
minute int Data date: minute
second int Data date: second
version int Protocol version number
type int Type: 0 invalid, 1 indoor swimming, 2 open water swimming
calories int Calories burned
Uint:Kcal
distance int Distance in meters
Uint:meter
confirm_distance int User-confirmed distance
Uint:meter
duration int Duration
Uint:seconds
trips int Number of swimming laps
average_swolf int Average swolf
total_strokes_number int Total number of strokes
swimming_posture int Main swimming posture
0: medley
1: freestyle
2: Breaststroke
3: Backstroke
4: butterfly
pool_distance int Pool distance
Uint:meter
avg_speed int Average speed
The time it takes to swim 100 meters
Unit: seconds
Valid for version=1, otherwise the field is 0
avg_frequency int Average stroke frequency
Uint:Times/min
Valid for version=1, otherwise the field is 0
items array Swimming data details, containing swolf, strokesNumber, duration, swimmingPosture, distance, frequency, speed, stop_time, difference_time
interval_item Collection Interval training array,
a collection of stage_type & repeat_num & stage_data_type_item
Field Name Field Type Field Description
swolf int Stroke efficiency
swimming_posture int Swimming posture
0: medley
1: freestyle
2: Breaststroke
3: Backstroke
4: butterfly
strokes_number int Stroke count
duration int Time in seconds
Unit: seconds
distance int Distance
Unit: meter
frequency int Stroke frequency
Uint:Times/min
Valid for version=1, otherwise the field is 0
speed int The time it takes to swim 100 meters
Unit: seconds
Valid for version=1, otherwise the field is 0
stop_time int End time
Unit: seconds
Valid for version=1, otherwise the field is 0
difference_time int Rest time between two laps
Unit: seconds
Valid for version=1, otherwise the field is 0
Field name Field type Field description
stage_type int Current training step type
repeat_num int Current number of repetitions
stage_data_type_item Collection The training data of the current training step,
a set of stage_support_type & stage_data_value
Field name Field type Field description
stage_support_type int The type of training data for the current training step
stage_data_value int The time value is in s, the distance is in m, the calories are in kcal, the pace is in s/km, the speed is in km/h multiplied by 100 times
stage_type value
None (invalid) 0x00
Warm up 0x01
Training 0x02
Rest 0x03
Relax 0x04
stage_support_type value
None (invalid) 0x00
Duration 0x01
Average heart rate 0x02
Distance 0x03
Calories 0x04
Average pace 0x05
Average speed 0x06

Example:

{
    "averageSWOLF" : 102,
    "avg_frequency" : 0,
    "avg_speed" : 144,
    "calories" : 4,
    "confirmDistance" : 0,
    "day" : 1,
    "distance" : 25,
    "duration" : 78,
    "hour" : 0,
    "items" : 
    [
        {
            "difference_time" : 7,
            "distance" : 25,
            "duration" : 36,
            "frequency" : 25,
            "speed" : 0,
            "stop_time" : 0,
            "strokesNumber" : 15,
            "swimmingPosture" : 1,
            "swolf" : 102
        }
    ],
    "minute" : 2,
    "month" : 1,
    "poolDistance" : 25,
    "pool_distance_decimal" : 0.0,
    "second" : 43,
    "swimmingPosture" : 1,
    "totalStrokesNumber" : 15,
    "total_duration" : 36,
    "total_rest_time" : 42,
    "trips" : 1,
    "type" : 1,
    "version" : 2,
    "year" : 2023
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2025-03-12 16:13:05

results matching ""

    No results matching ""