     // 1 min distance
     Serial.printf(" %d (-%d min)", (scale_bg(sensorData.trend[i])+500)/1000, i);
   }
+#if 0
   if ( 0 ) {
     long average;
     Serial.println("");


bool BatteryOK = false;

byte noOfBuffersToTransmit = 1;     // LimiTTer type string
char TxBuffer[30];

byte NFCReady = 0;            // 0 - not initialized, 1 - initialized, no data, 2 - initialized, data OK


  if ( !BTconnected ) {
    print_state("");
    Serial.printf("dataTransferBLE(), wait 100 s for BLE connect (protocolType = %d) ...", protocolType);
  }
  for (int i = 0; i < 100; i++) {
    if (BTconnected) {
      if (protocolType == 1) {
        sendToXdripViaBLE();
      }
      else {
        print_state("");
        Serial.printf(" *** wrong protocol type %d", protocolType);
