react-native-bt-device/Glucose_calculation_array.h

20 lines
856 B
C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*******************struct bloodmember***********************
BLOODMEMBER[0]Bagnumber//当前包号
BLOODMEMBER[1]Current//当前蓝牙原始电流
BLOODMEMBER[2]Real_fix_current//待函数返回计算的电流修正值;
BLOODMEMBER[3]Before_fix_current//前一个包的Real_fix_current
BLOODMEMBER[4]Reference_k//参比系数第一个参比之前为0每次有参比输入后会更新一次
BLOODMEMBER[5]Reference_bloodsugar//当前包输入的参比血糖值当前包没有输入参比血糖时应为0放大10倍保存
BLOODMEMBER[6]Real_B//未有参比输入时应为0每次有参比输入后会更新一次
BLOODMEMBER[7]Blood_sugar//待函数返回计算的值未计算时为0放大10倍保存
//函数返回计算后的数组;
uint16 * Glucose_calculation(uint16 A[] ){
return BLOODMEMBER;
}
*********************struct bloodmember*********************/
typedef unsigned short uint16; /* Unsigned 16 bit value */
uint16 BLOODMEMBER[8];