struct scope {
struct {
struct usb_dev_handle *dev;
+ int ep_bulk_out;
+ int ep_bulk_in;
+ unsigned int wMaxPacketSize_in;
+ unsigned char bTag;
+ int brokenRigol;
+ struct usbtmc_capabilities *cap;
} usb;
char idn[128];
};
void closescope(struct scope* sc);
void claimscope(struct scope* sc);
void releasescope(struct scope* sc);
+void resetscope(struct scope* sc);
char *scope_idn(struct scope *sc);