저장 측정 커맨드 추가(VesiSeek)
- mfq? / mfe? / mqb
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
#include "imu_i2c.h"
|
||||
#include "piezo_measure.h"
|
||||
#include "measure_queue.h"
|
||||
|
||||
void cmd_reboot_after_response(void);
|
||||
uint16_t cmd_crc16_compute(const uint8_t *p_data, uint32_t size);
|
||||
@@ -28,5 +29,10 @@ void cmd_send_response_echo(uint8_t session, uint8_t channel, const uint16_t *sa
|
||||
void cmd_send_response_bundle(uint16_t batt_mv, const int16_t accel[3], const int16_t gyro[3], int16_t temp_cdeg);
|
||||
void cmd_send_response_rim(const uint8_t *sample_bytes, uint16_t sample_count);
|
||||
void cmd_send_response_piezo_config(const char *tag, uint16_t freq, uint16_t cycles, uint16_t avg, uint16_t delay_us, uint16_t samples);
|
||||
int cmd_send_response_rfq(uint32_t tick_start);
|
||||
int cmd_send_response_rfe(uint16_t status, uint8_t session, uint32_t tick_end, uint16_t total_frames);
|
||||
int cmd_send_response_rqh(const measure_queue_frame_header_t *header);
|
||||
int cmd_send_response_rqb(uint16_t frame_idx, uint8_t channel, const uint16_t *samples, uint8_t num_samples);
|
||||
int cmd_send_response_rqd(uint16_t status, uint16_t sent_frames);
|
||||
|
||||
#endif /* CMD_COMMON_H__ */
|
||||
|
||||
Reference in New Issue
Block a user