]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/scpi-pps/protocol.h
scpi-pps: Disable beeper during session.
[libsigrok.git] / src / hardware / scpi-pps / protocol.h
index 93c4580c559dce4fbbc16b73dcb89fd8d8fceca3..8a810af7f32ce67aaf362794b881cf2e35e77cf6 100644 (file)
@@ -30,6 +30,9 @@
 enum pps_scpi_cmds {
        SCPI_CMD_REMOTE,
        SCPI_CMD_LOCAL,
+       SCPI_CMD_BEEPER,
+       SCPI_CMD_BEEPER_ENABLE,
+       SCPI_CMD_BEEPER_DISABLE,
        SCPI_CMD_SELECT_CHANNEL,
        SCPI_CMD_GET_MEAS_VOLTAGE,
        SCPI_CMD_GET_MEAS_CURRENT,
@@ -138,6 +141,7 @@ struct dev_context {
        void *cb_data;
 
        /* Operational state */
+       gboolean beeper_was_set;
 
        /* Temporary state across callbacks */
        struct sr_channel *cur_channel;