X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Ffluke-dmm%2Ffluke-dmm.h;h=ec48678d6e33e66ae694e82c741c15ed838d7a5b;hb=ee7e9bee5d943261d866f92cb8b81584e290df01;hp=9994af5c6e9848492e4a295e2c73894f33927d60;hpb=31d84da3a22cc6fc9b2226ab3863e9235a3d5b87;p=libsigrok.git diff --git a/hardware/fluke-dmm/fluke-dmm.h b/hardware/fluke-dmm/fluke-dmm.h index 9994af5c..ec48678d 100644 --- a/hardware/fluke-dmm/fluke-dmm.h +++ b/hardware/fluke-dmm/fluke-dmm.h @@ -36,6 +36,7 @@ enum { FLUKE_187 = 1, FLUKE_287, + FLUKE_190, }; /* Supported device profiles */ @@ -44,6 +45,8 @@ struct flukedmm_profile { const char *modelname; /* How often to poll, in ms. */ int poll_period; + /* If no response received, how long to wait before retrying. */ + int timeout; }; /* Private, per-device-instance driver context. */ @@ -52,7 +55,6 @@ struct dev_context { uint64_t limit_samples; uint64_t limit_msec; struct sr_serial_dev_inst *serial; - char *serialcomm; /* Opaque pointer passed in by the frontend. */ void *cb_data; @@ -63,6 +65,11 @@ struct dev_context { int buflen; int64_t cmd_sent_at; int expect_response; + int meas_type; + int is_relative; + int mq; + int unit; + int mqflags; }; SR_PRIV int fluke_receive_data(int fd, int revents, void *cb_data);