|
|
@ -246,6 +246,17 @@ typedef struct { |
|
|
|
uint8_t cmd; |
|
|
|
|
|
|
|
uint32_t sample_data_index; |
|
|
|
uint16_t leadoff_state; |
|
|
|
uint16_t sample_data_num; |
|
|
|
int16_t frame[]; // 上报的数据 |
|
|
|
} m1003_heartrate_report_packet_t; |
|
|
|
|
|
|
|
typedef struct { |
|
|
|
uint8_t frame_type; |
|
|
|
uint8_t frame_index; |
|
|
|
uint8_t cmd; |
|
|
|
|
|
|
|
uint32_t sample_data_index; |
|
|
|
uint32_t reportdata[50]; |
|
|
|
} ads1291_report_packet_t; |
|
|
|
|
|
|
|