X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Ffluke-dmm%2Ffluke-dmm.h;h=152e09c4dcc9135e358c4bed056cbd17c0fbd271;hb=50985c2019b2b5a6ce394589d89ee925b4f5e3a9;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..152e09c4 100644 --- a/hardware/fluke-dmm/fluke-dmm.h +++ b/hardware/fluke-dmm/fluke-dmm.h @@ -1,5 +1,5 @@ /* - * This file is part of the sigrok project. + * This file is part of the libsigrok project. * * Copyright (C) 2012 Bert Vermeulen * @@ -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. */ @@ -51,8 +54,6 @@ struct dev_context { const struct flukedmm_profile *profile; 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 +64,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);