     iq_DLEN++;                                 // increment length
     if ( readData == '\n' )                    // end of message
     {
+      iq_DLEN--; iq_DLEN--;
       if ( ( iq_spistat == TR_STAT_COM_MODE || iq_spistat == TR_STAT_SLOW_MODE ) && IQRF_SPI_Busy == IQRF_NOT_BUSY )
       {                                           // TR module is in communication mode and the SPI is not busy
         iq_PTYPE = ( iq_DLEN | 0x80 );      // PTYPE set bit7 - write to bufferCOM of TR module


      case IQRF_SPI_DATA_READY:           // received packet is in IQRF_SPI_RxBuf
          for ( byte i = 0; i < iq_DLEN; i++ )
            Serial.write( IQRF_SPI_RxBuf[i + 2] );
          Serial.println( "\n" );
          break;
      }
      IQRF_SPI_Task_Message = 0;

      if ( ( iq_spistat & 0xC0 ) == 0x40 )
      {                                   // data ready in bufferCOM of TR module
        Clear_IQRF_SPI_TxBuf();
        iq_DLEN = iq_spistat & 0x3F;      // clear bit 7,6 - rest is length
		if ( iq_spistat == 0x40 ) iq_DLEN = 64;
        iq_PTYPE = iq_DLEN;
        IQRF_SPI_TxBuf[0] = TR_CMD_WR_RD;
        IQRF_SPI_TxBuf[1] = iq_PTYPE;
