localconnectivityservice/obexsendservices/obexservicesendutils/src/BTServiceClient.cpp
branchRCL_3
changeset 41 fb2c519f85e0
parent 40 52a167391590
--- a/localconnectivityservice/obexsendservices/obexservicesendutils/src/BTServiceClient.cpp	Wed Sep 01 12:20:40 2010 +0100
+++ b/localconnectivityservice/obexsendservices/obexservicesendutils/src/BTServiceClient.cpp	Tue Sep 14 22:59:42 2010 +0300
@@ -25,9 +25,9 @@
 #include "BTConnectionTimer.h"
 #include "BTSUDebug.h"
 
-const TUint16 KMtuSizeReceiv    = 0xFFFF;	// 64kB - 1 (65535)
-const TUint16 KMtuSizeTrans     = 0x8000;	// 32kB
-const TInt    KBufferSize       = 0x8000;	// 32kB
+const TUint16 KMtuSizeReceiv    = 0xFFFF;   // 64kB - 1 (65535)
+const TUint16 KMtuSizeTrans     = 0x7200;   // 29kB 
+const TInt    KBufferSize       = 0x7200;   // 29kB
 
 const TInt KBTConnectionTimeout = 20 * 1000 * 1000;	// 20 seconds
 const TInt KBTAbortTimeout      = 2 * 1000 * 1000;	// 2 seconds
@@ -403,8 +403,7 @@
 
     FTRACE(FPrint(_L("[BTSU]\t CBTServiceClient::GetProgressStatus() completed, bytes sent %d"), iTotalBytesSent + bytesSent ) );
 
-   // return iTotalBytesSent + bytesSent;
-    return bytesSent;
+    return iTotalBytesSent + bytesSent;
     }
 
 // -----------------------------------------------------------------------------