bluetooth/btstack/avctp/avctpmuxerstates.cpp
branchRCL_3
changeset 13 20fda83a6398
parent 0 29b1cd4cb562
child 51 20ac952a623c
equal deleted inserted replaced
12:8a27654f7b62 13:20fda83a6398
   820 		TPckgBuf<TL2CapConfig> config;
   820 		TPckgBuf<TL2CapConfig> config;
   821 		config().SetMaxTransmitUnitSize(KAvctpSecondaryChannelInboundMTU);
   821 		config().SetMaxTransmitUnitSize(KAvctpSecondaryChannelInboundMTU);
   822 		config().SetMinMTU(KDefaultMtu);
   822 		config().SetMinMTU(KDefaultMtu);
   823 		config().SetMaxReceiveUnitSize(KAvctpSecondaryChannelInboundMTU);
   823 		config().SetMaxReceiveUnitSize(KAvctpSecondaryChannelInboundMTU);
   824 		config().SetMinMRU(KDefaultMtu);
   824 		config().SetMinMRU(KDefaultMtu);
       
   825 		config().ConfigureReliableChannel(TL2CapConfig::EDefaultRetransmission);
       
   826 		config().SetLegacyModesDisallowed(ETrue);
   825 
   827 
   826 		err = aTransport.iChannelSAPs[KAvctpSecondaryChannel]->SetOption(KSolBtL2CAP, KL2CAPUpdateChannelConfig, config); 
   828 		err = aTransport.iChannelSAPs[KAvctpSecondaryChannel]->SetOption(KSolBtL2CAP, KL2CAPUpdateChannelConfig, config); 
   827 		__ASSERT_DEBUG(err == KErrNone, Panic(ESetOptionError));
   829 		__ASSERT_DEBUG(err == KErrNone, Panic(ESetOptionError));
   828 
   830 
   829 		aTransport.iChannelSAPs[KAvctpSecondaryChannel]->ActiveOpen();
   831 		aTransport.iChannelSAPs[KAvctpSecondaryChannel]->ActiveOpen();