   // set timestamps in queue for inital backfilling
   initialFillupBackfillTimestamps();
 #endif
-  print_state("NFCReady = "); Serial.print(NFCReady); Serial.print(", BatOK = "); Serial.print(BatteryOK);
+  print_state(""); 
+  Serial.printf("NFCReady = %d, BatOK = %d", NFCReady, BatteryOK);
 
   check_stack("#setup#");
   memAndStack("setup()");


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

  check_stack("#stxvble#");

#ifndef USE_XBRIDGE2
  TxBuffer[0] = '\0';
  sprintf(TxBuffer, "%d %d %d %d", \ 
    sensorData:TREND[0] * 100, SoCData.voltage, SoCData.voltagePercent, sensorData.minutesSinceProgramStart/10);

  print_state("");
  Serial.printf("sendToXdripViaBLE: %s", TxBuffer);
#ifdef RFD
  // send is queued (the ble stack delays send to start of next tx window)
  while ( !RFduinoBLE.send(TxBuffer, strlen(TxBuffer)) ) {
    // check for endless loop needed!
    ;
  }
  // wait for end of BLE stack time slot (roughly 6 ms)
  while ( RFduinoBLE.radioActive);
#else
  SimbleeBLE.send(TxBuffer, strlen(TxBuffer));
  while ( SimbleeBLE.radioActive);
#endif
#else /* USE_XBRIDGE2 */
  boolean resend_pkt = 0;
  int more_than_one = 0;
  // if we are connected via BLE, the queue contains BG readings to be send and we have enough time left
  while ((Pkts.read != Pkts.write) && BTconnected && ((mymillis() - pkt_time) < ((DXQUEUESIZE + 1) * 5000) )) {
    got_ack = 0;
    unsigned long got_ack_time;

    // dont send a 0 entry
    if ( Pkts.buffer[Pkts.read].raw ) {

      // waiting time before next packet will be sended
      if ( more_than_one++ )
        waitDoingServices(100, 1);
      got_ack_time = mymillis();
      print_state("");
      Serial.printf("try sending [%d BG / -%d min / %d] - ", Pkts.buffer[Pkts.read].raw/1000, (mymillis() - Pkts.buffer[Pkts.read].ms)/60000, Pkts.read);
//      Serial.printf("[%d/-%d]", Pkts.buffer[Pkts.read].raw/1000, (mymillis() - Pkts.buffer[Pkts.read].ms)/60000);

      sendBgViaBLE(&Pkts.buffer[Pkts.read]);

#ifdef SEND_LIMITTER_SA
      last_raw = Pkts.buffer[Pkts.read].raw;
#endif
      // wait 10 s for ack
      int j;
      for ( j = 0 ; j < 10 ; j++ ) {
