 
   delay(10);
   // We start by connecting to a WiFi network
-  Serial.printf("[Jarvis] Connecting to : %s\n", ssid);
+  Serial.print("[Jarvis] Connecting to : ");
+  Serial.println(ssid);
 
   WiFi.begin(ssid, password);
   while (WiFi.status() != WL_CONNECTED) {


#include <ESP8266wifi.h>
#include <PubSubClient.h>
#include <SoftwareSerial.h>

/************************* Configuration *********************************/

const char* ssid = "xxxxxxx";
const char* password = "xxxxxxxxxxx";
const char* mqtt_server = "192.10.10.2";
const int mqtt_port = 8083;

/************************* End configuration *****************************/


WiFiClient wifiClient;
PubSubClient mqttClient;


SoftwareSerial cptSerial(2, 3);


    Serial.print(".");
  }

  Serial.print("[Jarvis] WiFi connected. IP: ");
  Serial.println(WiFi.localIP());
}

void callback(char* topic, byte* payload, unsigned int length) {
  Serial.println("[Jarvis] Message arrived:  topic: " + String(topic));
  Serial.println("[Jarvis] Length: " + String(length,DEC));
  unsigned int i;
  for(i=0; i<length; i++) {
    message_buff[i] = payload[i];
  }
