bluetooth/btstack/avctp/avctp.cpp
branchRCL_3
changeset 11 20fda83a6398
parent 0 29b1cd4cb562
equal deleted inserted replaced
10:8a27654f7b62 11:20fda83a6398
   396 	TPckgBuf<TL2CapConfig> config;
   396 	TPckgBuf<TL2CapConfig> config;
   397 	config().SetMaxTransmitUnitSize(KAvctpSecondaryChannelInboundMTU);
   397 	config().SetMaxTransmitUnitSize(KAvctpSecondaryChannelInboundMTU);
   398 	config().SetMinMTU(KDefaultMtu);
   398 	config().SetMinMTU(KDefaultMtu);
   399 	config().SetMaxReceiveUnitSize(KAvctpSecondaryChannelInboundMTU);
   399 	config().SetMaxReceiveUnitSize(KAvctpSecondaryChannelInboundMTU);
   400 	config().SetMinMRU(KDefaultMtu);
   400 	config().SetMinMRU(KDefaultMtu);
       
   401 	config().ConfigureReliableChannel(TL2CapConfig::EDefaultRetransmission);
       
   402 	config().SetLegacyModesDisallowed(ETrue);
   401 	
   403 	
   402 	__DEBUG_ONLY(TInt err =) sap2->SetOption(KSolBtL2CAP, KL2CAPUpdateChannelConfig, config); 
   404 	__DEBUG_ONLY(TInt err =) sap2->SetOption(KSolBtL2CAP, KL2CAPUpdateChannelConfig, config); 
   403 	__ASSERT_DEBUG(err == KErrNone, Panic(ESetOptionError));
   405 	__ASSERT_DEBUG(err == KErrNone, Panic(ESetOptionError));
   404 	
   406 	
   405 	// security for the secondary channel is not required
   407 	// security for the secondary channel is not required