enum {
FLUKE_187 = 1,
FLUKE_287,
+ FLUKE_190,
};
/* Supported device profiles */
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. */
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;
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);