/*==============================================================================
 * 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:  TMP235 with piezo power cycle */
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);

#endif /* CMD_SENSOR_H */
