V3 Blood Pressure Calibration Control

function table:setSupportV3Bp

Flutter Example:

/// v3 blood pressure calibration control
setBpCalControlV3(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.func_v3_bp_cal_control),

/// v3 blood pressure calibration control
libManager.send(evt: CmdEvtType.setBpCalControlV3, json: jsonEncode(json));

JSON Fields Sent by the App:

Field Name Field Type Field Description
operate int 0: Invalid
1: Start blood pressure calibration
2: Stop blood pressure calibration
3: Get feature vector information
file_path char [] The file path to save the raw data obtained during firmware blood pressure calibration
Path includes file name (../../blood.txt)
Valid when operate=1

Example:

{
  "operate": 1,
  "file_path": "/sdcard/lx/blood.txt"
}

JSON Fields Received by the App:

Field Name Field Type Field Description
error_code int Error code: 0 for success, non-zero for failure
operate int Operation
0: Invalid
1: Start blood pressure calibration
2: Stop blood pressure calibration
3: Get feature vector
sbp_ppg_feature_num int Number of high blood pressure PPG feature vectors
Valid when operate=3
dbp_ppg_feature_num int Number of low blood pressure PPG feature vectors
Valid when operate=3
sbp_ppg_feature_items int [] Array of high blood pressure PPG feature vectors
Valid when operate=3
dbp_ppg_feature_items int [] Array of low blood pressure PPG feature vectors
Valid when operate=3

Example:

{
  "error_code": 0,
  "operate": 1,
  "sbp_ppg_feature_num": 0,
  "dbp_ppg_feature_num": 0,
  "sbp_ppg_feature_items": null,
  "dbp_ppg_feature_items": null
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2025-04-30 09:32:44

results matching ""

    No results matching ""