]> sigrok.org Git - libsigrok.git/blobdiff - hardware/tondaj-sl-814/protocol.h
Add initial Tondaj SL-814 protocol handling.
[libsigrok.git] / hardware / tondaj-sl-814 / protocol.h
index f7877db7957610a4bb1c73ac043fac34d122a52f..69b7c68fcca87d5631175d9ee80140afa97fa893 100644 (file)
@@ -47,6 +47,15 @@ struct dev_context {
 
        /** The current number of already received samples. */
        uint64_t num_samples;
+
+       struct sr_serial_dev_inst *serial;
+
+       char *serialcomm;
+
+       int state;
+
+       uint8_t buf[4];
+       uint8_t buflen;
 };
 
 SR_PRIV int tondaj_sl_814_receive_data(int fd, int revents, void *cb_data);