/** 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. */
char *name;
char *longname;
int api_version;
- int (*init) (void);
+ int (*init) (struct sr_context *sr_ctx);
int (*cleanup) (void);
GSList *(*scan) (GSList *options);
GSList *(*dev_list) (void);