       break;
 #endif
   }
-
+  sendReqCounter++;
   // Release the lock.
   ir_lock = false;
 

uint32_t lastReconnectAttempt = 0;  // MQTT last attempt reconnection number
bool boot = true;
bool ir_lock = false;  // Primitive locking for gating the IR LED.

#ifdef MQTT_ENABLE
// MQTT client parameters
void callback(char* topic, byte* payload, unsigned int length);
PubSubClient mqtt_client(MQTT_SERVER, MQTT_PORT, callback, espClient);
// Create a unique MQTT client id.
const char* mqtt_clientid = String(MQTTprefix +
                                   String(ESP.getChipId(), HEX)).c_str();
#endif  // MQTT_ENABLE

// Debug messages get sent to the serial port.

    case TROTEC:  // 28
    case TOSHIBA_AC:  // 32
    case FUJITSU_AC:  // 33
    case HAIER_AC:  // 38
      parseStringAndSendAirCon(ir_type, code_str);
      break;
#if SEND_DENON
