/* This function decodes duration in minute type variable  */
static void decode_zcl_msg_duration(gchar *s, guint16 value)
/* This function decodes duration in minute type variable  */
static void decode_zcl_msg_duration(gchar *s, guint16 value)
{
    if (value == 0xffff)
        g_snprintf(s, ITEM_LABEL_LENGTH, "Until changed");
    else
        g_snprintf(s, ITEM_LABEL_LENGTH, "%d minutes", value);
    return;
}