]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
serial-dmm: Add per-driver hw_dev_list() wrappers.
[libsigrok.git] / libsigrok.h
index 94bc52291a7dbaa2eaa1c8bce7a13d5558adaa9d..90a57f790baaa264c3355e8ed1f102f0f205474f 100644 (file)
@@ -426,6 +426,12 @@ enum {
        /** The device can act as a sound level meter. */
        SR_HWCAP_SOUNDLEVELMETER,
 
+       /** The device can measure temperature. */
+       SR_HWCAP_THERMOMETER,
+
+       /** The device can measure humidity. */
+       SR_HWCAP_HYGROMETER,
+
        /*--- Device configuration ------------------------------------------*/
 
        /** The device supports setting/changing its samplerate. */
@@ -625,6 +631,8 @@ struct sr_dev_driver {
 
        /* Dynamic */
        void *priv;
+
+       int subdriver;
 };
 
 struct sr_session {