localconnectivityservice/obexsendservices/obexservicesendutils/src/BTServiceClient.cpp
branchRCL_3
changeset 41 fb2c519f85e0
parent 40 52a167391590
equal deleted inserted replaced
40:52a167391590 41:fb2c519f85e0
    23 #include "BTServiceClient.h"
    23 #include "BTServiceClient.h"
    24 #include "BTServiceUtils.h"
    24 #include "BTServiceUtils.h"
    25 #include "BTConnectionTimer.h"
    25 #include "BTConnectionTimer.h"
    26 #include "BTSUDebug.h"
    26 #include "BTSUDebug.h"
    27 
    27 
    28 const TUint16 KMtuSizeReceiv    = 0xFFFF;	// 64kB - 1 (65535)
    28 const TUint16 KMtuSizeReceiv    = 0xFFFF;   // 64kB - 1 (65535)
    29 const TUint16 KMtuSizeTrans     = 0x8000;	// 32kB
    29 const TUint16 KMtuSizeTrans     = 0x7200;   // 29kB 
    30 const TInt    KBufferSize       = 0x8000;	// 32kB
    30 const TInt    KBufferSize       = 0x7200;   // 29kB
    31 
    31 
    32 const TInt KBTConnectionTimeout = 20 * 1000 * 1000;	// 20 seconds
    32 const TInt KBTConnectionTimeout = 20 * 1000 * 1000;	// 20 seconds
    33 const TInt KBTAbortTimeout      = 2 * 1000 * 1000;	// 2 seconds
    33 const TInt KBTAbortTimeout      = 2 * 1000 * 1000;	// 2 seconds
    34 
    34 
    35 // CONSTANTS
    35 // CONSTANTS
   401         bytesSent = iPutObject->BytesSent();
   401         bytesSent = iPutObject->BytesSent();
   402         }
   402         }
   403 
   403 
   404     FTRACE(FPrint(_L("[BTSU]\t CBTServiceClient::GetProgressStatus() completed, bytes sent %d"), iTotalBytesSent + bytesSent ) );
   404     FTRACE(FPrint(_L("[BTSU]\t CBTServiceClient::GetProgressStatus() completed, bytes sent %d"), iTotalBytesSent + bytesSent ) );
   405 
   405 
   406    // return iTotalBytesSent + bytesSent;
   406     return iTotalBytesSent + bytesSent;
   407     return bytesSent;
       
   408     }
   407     }
   409 
   408 
   410 // -----------------------------------------------------------------------------
   409 // -----------------------------------------------------------------------------
   411 // CBTServiceClient::GetUserPasswordL
   410 // CBTServiceClient::GetUserPasswordL
   412 // -----------------------------------------------------------------------------
   411 // -----------------------------------------------------------------------------