V3 blood pressure data query

parameterexplain

  • IDOSyncV3BpDataModel
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 Blood pressure collection @[{@"sys_blood":@(0),@"dias_blood":@(0),@"offset":@(0)}...]
sys_blood : systolic blood pressure
dias_blood : diastolic blood pressure
offset : offset (minute)
dateStr time stamp Accurate to date str
minuteOffset Total time offset int (minute)

Query blood pressure by year

Objc:

//parameter: Year, MAC address
[IDOSyncV3BpDataModel queryOneYearBpWithYear:year                                  
                                     macAddr:macAddr];

Swift:

//parameter: Year, MAC address
IDOSyncV3BpDataModel.queryOneYearBp(withYear: year, macAddr: macAddr);

Query blood pressure by month

Objc:

//parameter: Year, month, MAC address, day collection in month
[IDOSyncV3BpDataModel queryOneMonthBpWithYear:year                                     
                                        month:month 
                                      macAddr:macAddr 
                                 datesOfMonth:&days];

Swift:

//parameter: Year, month, MAC address, day collection in month
IDOSyncV3BpDataModel.queryOneMonthBp(withYear:year, month:month, macAddr:macAddr, datesOfMonth:&days);

Query blood pressure by week

Objc:

//parameter: Week index, week start, MAC address, day of the week collection
[IDOSyncV3BpDataModel queryOneWeekBpWithWeekIndex:week
                                     weekStartDay:0                                                             
                                          macAddr:macAddr                                                           
                                      datesOfWeek:&days];

Swift:

//parameter: Week index, week start, MAC address, day of the week collection
IDOSyncV3BpDataModel.queryOneWeekBp(withWeekIndex:week, weekStartDay:0, macAddr:macAddr, datesOfWeek:&days);

Query blood pressure by day

Objc:

//parameter: Year, month, day, MAC address
[IDOSyncV3BpDataModel queryOneDayBpDetailWithMac:macAddr                                                                                                             
                                           year:year                                                                    
                                          month:month 
                                            day:day];

Swift:

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

Query all blood pressure

Objc:

//parameter: MAC address
[IDOSyncV3BpDataModel queryAllBpWithMac:macAddr];

Swift:

//parameter: MAC address
IDOSyncV3BpDataModel.queryAllBp(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 ""