 #include <RFduinoBLE.h>
 #else
 #include <SimbleeBLE.h>
+#include <ota_bootloader.h>
 #endif
 
 #include <SPI.h>
 #include <Stream.h>
 #include <Memory.h>
+
+// by @clvsjr9 to Arduino 1.6.5 compile
+//#include <data_types.h>
 
 /* ************************** NFC defines ************************************** */
 

    #ifdef DEBUG
      Serial.println("V-command received.");
      Serial.println(v);
    #endif
    RFduinoBLE.send(v.cstr(), v.length());   
    displayData();
  }
  if ( toupper(command_buff.commandBuffer[0]) == 'M' ) {

  if (protocolType == 1) SimbleeBLE.deviceName = LB_NAME;
#ifdef USE_XBRIDGE2
  Serial.print(" - setting xbridge/wixel device");
  SimbleeBLE.advertisementData = LB_ADVERT;
  SimbleeBLE.customUUID = "0000ffe0-0000-1000-8000-00805f9b34fb";
#else /* USE_XBRIDGE2 */
  Serial.print(" - setting LimiTTer device");
