bluetooth/btstack/linkmgr/physicallinks.h
changeset 3 4e39398d58ed
parent 0 29b1cd4cb562
child 10 8a27654f7b62
equal deleted inserted replaced
2:91980f93208a 3:4e39398d58ed
    68 	to prevent an early switch back into a low power mode.
    68 	to prevent an early switch back into a low power mode.
    69 **/
    69 **/
    70 	{
    70 	{
    71 public:
    71 public:
    72 	static CArbitrationDelayTimer* NewL(CPhysicalLink* aParent);
    72 	static CArbitrationDelayTimer* NewL(CPhysicalLink* aParent);
    73 	void Start();
    73     void Start(TBool aLocalPriority=EFalse);
    74 	
    74 	
    75 private:
    75 private:
    76 	CArbitrationDelayTimer(CPhysicalLink* aParent);
    76 	CArbitrationDelayTimer(CPhysicalLink* aParent);
    77 	void ConstructL();
    77 	void ConstructL();
    78 	void RunL();
    78 	void RunL();
    79 	
    79     void DoCancel();
    80 public:	
    80     
       
    81 private:
    81 	CPhysicalLink* 	iParent;
    82 	CPhysicalLink* 	iParent;
       
    83     TBool iLocalPriority;	
    82 	};
    84 	};
    83 
    85 
    84 
    86 
    85 NONSHARABLE_STRUCT(TLogicalLinkListener)
    87 NONSHARABLE_STRUCT(TLogicalLinkListener)
    86 	{
    88 	{
   299 	TInt SCOConnect(const TUint16 aUserHVPacketTypes);
   301 	TInt SCOConnect(const TUint16 aUserHVPacketTypes);
   300 	TInt SynchronousConnect(TUint aTransmitBandwidth, TUint aReceiveBandwidth,
   302 	TInt SynchronousConnect(TUint aTransmitBandwidth, TUint aReceiveBandwidth,
   301 		TUint16 aMaxLatency, TUint16 aVoiceSettings,
   303 		TUint16 aMaxLatency, TUint16 aVoiceSettings,
   302 		TUint8 aRetransmissionEffort, const TBTSyncPacketTypes aUserPacketTypes);
   304 		TUint8 aRetransmissionEffort, const TBTSyncPacketTypes aUserPacketTypes);
   303 	TInt PassiveOpen();
   305 	TInt PassiveOpen();
   304 	TInt Arbitrate(const TBool aImmediately=EFalse, const TBool aLocalPriority=EFalse);	
   306     TInt Arbitrate(TBool aImmediately=EFalse, TBool aLocalPriority=EFalse); 
       
   307     TInt DoArbitrate(TBool aLocalPriority);
   305 	void SetPassKey(const TDesC8& aPassKey);
   308 	void SetPassKey(const TDesC8& aPassKey);
   306 	const TBTPinCode& PassKey() const;		
   309 	const TBTPinCode& PassKey() const;		
   307 
   310 
   308 	void StartArbitrationTimer() const;
   311 	void StartArbitrationTimer() const;
   309 	
   312