/*==============================================================================
 * cmd_sensor.h - Sensor measurement handlers (battery / temperature / IMU)
 *============================================================================*/
#ifndef CMD_SENSOR_H
#define CMD_SENSOR_H

#include "parser.h"

int Cmd_msn(const ParsedCmd *cmd);   /* msn? -> rsn:  battery ADC measurement */
int Cmd_mst(const ParsedCmd *cmd);   /* mst? -> rso:  IMU die temperature */
int Cmd_msp(const ParsedCmd *cmd);   /* msp? -> rsp:  IMU 6-axis single read */
/* Helper for the mbb? handler: sequentially measures battery / IMU / temperature, then emits a single rbb: response.
 * Called from Cmd_mbb() in cmd_piezo.c. */
void all_sensors(void);

/* Optional helper: battery / temperature only, then rbb: [batt 2B] [temp 2B].
 * (mtb? no longer calls this; kept for reuse / tooling.) */
void all_sensors_batt_temp(void);

/* Test helper for mtb?: drains IMU FIFO and emits rim: packet(s). */
void send_imu_rim_fifo(void);

#endif /* CMD_SENSOR_H */
