]> sigrok.org Git - libsigrok.git/blobdiff - hardware/gmc-mh-1x-2x/protocol.h
gmc-mh-1x-2x-rs232: Support for Metrahit 16T and similiar models.
[libsigrok.git] / hardware / gmc-mh-1x-2x / protocol.h
index 49fd73533e094f38eac915aef7cff529a6f50258..aa19be38a8a8d161ae7723f88d41b81293140242 100644 (file)
@@ -60,10 +60,11 @@ enum model {
        METRAHIT_14S            = 14,
        METRAHIT_15S            = 15,
        METRAHIT_16S            = 16,
-       METRAHIT_16I            = 17,
-       METRAHIT_16X = METRAHIT_16I,  /**< All Metrahit 16 */
+       METRAHIT_16I            = 17, /**< Metrahit 16I, L */
+       METRAHIT_16T            = 18, /**< Metrahit 16T, U, KMM2002 */
+       METRAHIT_16X = METRAHIT_16T,  /**< All Metrahit 16 */
        /* A Metrahit 17 exists, but seems not to have an IR interface. */
-       METRAHIT_18S            = 18,
+       METRAHIT_18S            = 19,
        METRAHIT_2X             = 20, /**< For model type comparisons */
        METRAHIT_22SM           = METRAHIT_2X + 1,      /**< Send mode */
        METRAHIT_22S            = METRAHIT_22SM + 1,    /**< Bidi mode */
@@ -120,7 +121,7 @@ struct dev_context {
 
 /* Forward declarations */
 SR_PRIV int config_set(int key, GVariant *data, const struct sr_dev_inst *sdi,
-               const struct sr_probe_group *probe_group);
+               const struct sr_channel_group *cg);
 SR_PRIV void create_cmd_14(guchar addr, guchar func, guchar* params, guchar* buf);
 SR_PRIV void dump_msg14(guchar* buf, gboolean raw);
 SR_PRIV int gmc_decode_model_bd(uint8_t mcode);