|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- BM15Data (BM15 data) |
|
|
- BM15Data (BM15 data) |
|
|
|
|
|
|
|
|
|Type | Parameter |Description |
|
|
|Type | Parameter |Description |
|
|
|---|---|--- |
|
|
|---|---|--- |
|
|
|String |version|Bluetooth version |
|
|
|String |version|Bluetooth version |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- BodyFatData |
|
|
- BodyFatData |
|
|
|
|
|
|
|
|
|Type | Parameter |Description |
|
|
|Type | Parameter |Description |
|
|
|---|---|--- |
|
|
|---|---|--- |
|
|
|String |date|measurement date |
|
|
|String |date|measurement date |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- BroadData (broadcast data) |
|
|
- BroadData (broadcast data) |
|
|
|
|
|
|
|
|
|Type | Parameter |Description |
|
|
|Type | Parameter |Description |
|
|
|---|---|--- |
|
|
|---|---|--- |
|
|
|String| name|device name |
|
|
|String| name|device name |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- DecimalInfo (decimal point information) |
|
|
- DecimalInfo (decimal point information) |
|
|
|
|
|
|
|
|
|Type | Parameter |Description |
|
|
|Type | Parameter |Description |
|
|
|---|---|--- |
|
|
|---|---|--- |
|
|
|int |sourceDecimal|source data decimal places |
|
|
|int |sourceDecimal|source data decimal places |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- User (User Information) |
|
|
- User (User Information) |
|
|
|
|
|
|
|
|
|Type | Parameter |Description |
|
|
|Type | Parameter |Description |
|
|
|---|---|--- |
|
|
|---|---|--- |
|
|
|int| id| |
|
|
|int| id| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- WeightData (weight data) |
|
|
- WeightData (weight data) |
|
|
|
|
|
|
|
|
|Type | Parameter |Description |
|
|
|Type | Parameter |Description |
|
|
|---|---|--- |
|
|
|---|---|--- |
|
|
|int |cmdType|command type (1, change; 2, stable; 3, in impedance measurement) |
|
|
|int |cmdType|command type (1, change; 2, stable; 3, in impedance measurement) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- cn.net.aicare.algorithmutil.BodyFatData(Calculated body fat data) |
|
|
- cn.net.aicare.algorithmutil.BodyFatData(Calculated body fat data) |
|
|
|
|
|
|
|
|
|Type | Parameter |Description |
|
|
|Type | Parameter |Description |
|
|
|---|---|--- |
|
|
|---|---|--- |
|
|
|double| bmi| Body mass index |
|
|
|double| bmi| Body mass index |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- MoreFatData |
|
|
- MoreFatData |
|
|
|
|
|
|
|
|
|Type | Parameter |Description |
|
|
|Type | Parameter |Description |
|
|
|---|---|--- |
|
|
|---|---|--- |
|
|
|double| standardWeight| Standard weight |
|
|
|double| standardWeight| Standard weight |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
``` |
|
|
``` |
|
|
- BleProfileService Connection Status |
|
|
- BleProfileService Connection Status |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
public static final int STATE_CONNECTING = 4; // connecting |
|
|
public static final int STATE_CONNECTING = 4; // connecting |
|
|
public static final int STATE_DISCONNECTED = 0; // disconnect |
|
|
public static final int STATE_DISCONNECTED = 0; // disconnect |
|
|
|
|
|
|
|
|
public static final int STATE_TIME_OUT = 5; // connection timed out |
|
|
public static final int STATE_TIME_OUT = 5; // connection timed out |
|
|
``` |
|
|
``` |
|
|
- AicareBleConfig.SettingStatus Status information returned by the device |
|
|
- AicareBleConfig.SettingStatus Status information returned by the device |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
int NORMAL = 0; // Normal |
|
|
int NORMAL = 0; // Normal |
|
|
int LOW_POWER = 1; // Low power |
|
|
int LOW_POWER = 1; // Low power |
|
|
|
|
|
|
|
|
int UNKNOWN = -1; // unknown |
|
|
int UNKNOWN = -1; // unknown |
|
|
``` |
|
|
``` |
|
|
- WBYService Bluetooth information returned by the device |
|
|
- WBYService Bluetooth information returned by the device |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
public final static int BLE_VERSION = 0; // Bluetooth version |
|
|
public final static int BLE_VERSION = 0; // Bluetooth version |
|
|
public final static int MCU_DATE = 1; // mcu date |
|
|
public final static int MCU_DATE = 1; // mcu date |