V2 blood pressure data query

Parameter description

  • IDOSyncBpDataItemInfoBluetoothModel
parameter explain remarks
sysBlood Large systolic blood pressure int
diasBlood Small diastolic blood pressure int
offset Sub time offset int (minute)
serialNumber serialNumber int
dateStr time stamp Accurate to date str
timeStr time stamp Accurate to minute str
isLocal Set the data locally to distinguish the synchronized data of the bracelet bool
  • IDOSyncBpDataInfoBluetoothModel
parameter explain remarks
itemsCount Blood pressure packet volume int
sleepAvgBp Sleep mean blood pressure int
maxBp Maximum blood pressure int
year year int
month month int
day day int
bloodbPressures Blood pressure collection array (IDOSyncBpDataItemInfoBluetoothModel)
dateStr time stamp Accurate to date str
minuteOffset Total time offset int (minute)
isLocal Set the data locally to distinguish the synchronized data of the bracelet bool

Query blood pressure by year

Objc:

//Parameter: year, MAC address, query details
[IDOSyncBpDataModel queryOneYearBloodPressuresWithYear:year                                  
                                               macAddr:macAddr     
                                          isQueryItems:NO];

Swift:

//Parameter: year, MAC address, query details
IDOSyncBpDataModel.queryOneYearBloodPressures(withYear: year, macAddr: macAddr, isQueryItems: false);

Query blood pressure by month

Objc:

//parameter: Year, month, MAC address, day collection in the month, query details
[IDOSyncBpDataModel queryOneMonthBloodPressuresWithYear:year                                     
                                                  month:month 
                                                macAddr:macAddr 
                                           datesOfMonth:&days
                                            isQueryItems:NO];

Swift:

//parameter: Year, month, MAC address, day collection in the month, query details
IDOSyncBpDataModel.queryOneMonthBloodPressures(withYear:year, month:month, macAddr:macAddr, datesOfMonth:&days, isQueryItems:false);

Query blood pressure by week

Objc:

//parameter: Week index, week start, MAC address, day collection within the week, query details
[IDOSyncBpDataModel queryOneWeekBloodPressuresWithWeekIndex:week
                                               weekStartDay:0                                                             
                                                    macAddr:macAddr                                                           
                                                datesOfWeek:&days                                                 
                                               isQueryItems:NO];

Swift:

//parameter: Week index, week start, MAC address, day collection within the week, query details
IDOSyncBpDataModel.queryOneWeekBloodPressures(withWeekIndex:week, weekStartDay:0, macAddr:macAddr, datesOfWeek:&days, isQueryItems: false);

Query blood pressure by day

Objc:

//parameter: Year, month, day, MAC address
[IDOSyncBpDataModel queryOneDayBloodPressureDetailWithMac:macAddr                                                                                                             
                                                     year:year                                                                    
                                                    month:month 
                                                      day:day];

Swift:

//parameter: Year, month, day, MAC address
IDOSyncBpDataModel.queryOneDayBloodPressureDetail(withMac:macAddr, year:year, month:month, day:day);

Query all blood pressure

Objc:

//parameter: MAC address
[IDOSyncBpDataModel queryAllBloodPressuresWithMac:macAddr];

Swift:

//parameter: MAC address
IDOSyncBpDataModel.queryAllBloodPressures(withMac:macAddr);

Query blood pressure of the last day

Objc:

//parameter: MAC address
[IDOSyncBpDataModel queryLastDayBloodPressureDetailWithMac:macAddr];

Swift:

//parameter: MAC address
IDOSyncBpDataModel.queryLastDayBloodPressureDetail(withMac:macAddr);
Copyright © 2015-2020 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2023-12-18 10:04:13

results matching ""

    No results matching ""