 }
 
 //----- MQTT -----
+
+void mqttPrintCurrentMsg(){
+      Serial.print("Pack MQTT Topic:");
+      Serial.println(mqttTopic);
+      Serial.println(msg);
+}
+
 #if ALARM_ENABLE == 1
 void msgDisplay(char* topic, byte* payload, unsigned int len){
   int i;

    
    while (checkWifiConnected() == 0)
      {
      }
    server.begin();
      webserver_loop();
  }
  
   if(LED_MODE != LED_MODE_OFF){ // LED_MODE_OFF never light on  

  //Serial.println(msg);

}



void mqttSubscribeRoutine(){
