/* Dissects Attribute ID field. This could be done with the */
static void dissect_zcl_attr_id(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint16 cluster_id)
/* Dissects Attribute ID field. This could be done with the */
static void dissect_zcl_attr_id(tvbuff_t *tvb, proto_tree *tree, guint *offset, guint16 cluster_id)
{
    zbee_zcl_cluster_desc *desc;
    int hf_attr_id = hf_zbee_zcl_attr_id;
    desc = zbee_zcl_get_cluster_desc(cluster_id);
    if (desc && (desc->hf_attr_id >= 0)) hf_attr_id = desc->hf_attr_id;
    proto_tree_add_item(tree, hf_attr_id, tvb, *offset, 2, ENC_LITTLE_ENDIAN);
    *offset += 2;
}