bluetooth/btstack/linkmgr/physicallinks.h
branchRCL_3
changeset 10 8a27654f7b62
parent 3 4e39398d58ed
child 11 20fda83a6398
equal deleted inserted replaced
8:2b6718f05bdb 10:8a27654f7b62
   485 	void PINCodeRequestReply(const TBTDevAddr& aDevAddr,const TDesC8& aPin);
   485 	void PINCodeRequestReply(const TBTDevAddr& aDevAddr,const TDesC8& aPin);
   486 	void PINCodeRequestNegativeReply(const TBTDevAddr& aDevAddr);
   486 	void PINCodeRequestNegativeReply(const TBTDevAddr& aDevAddr);
   487 	
   487 	
   488 	inline TBool IsAuthenticationPending() const;
   488 	inline TBool IsAuthenticationPending() const;
   489 
   489 
       
   490 	void LinkKeyRequestResponseAttempt(TBool aForceResponse = EFalse);
       
   491 	void DoLinkKeyResponse(TBool aPositive);
       
   492 
       
   493 	void RemoteSimplePairingModeDetermined(TPhysicalLinkSimplePairingMode aSimplePairingMode);
       
   494 	void SetPeerInSecurityMode3();
       
   495 
   490 private: // from MPINCodeResponseHandler
   496 private: // from MPINCodeResponseHandler
   491 	TInt PINCodeRequestReply(const TBTDevAddr& aDevAddr,const TDesC8& aPin) const;
   497 	TInt PINCodeRequestReply(const TBTDevAddr& aDevAddr,const TDesC8& aPin) const;
   492 	TInt PINCodeRequestNegativeReply(const TBTDevAddr& aDevAddr) const;
   498 	TInt PINCodeRequestNegativeReply(const TBTDevAddr& aDevAddr) const;
   493 
   499 
   494 private:
   500 private:
   517 	CEncryptionEnforcer*					iEncryptionEnforcer;
   523 	CEncryptionEnforcer*					iEncryptionEnforcer;
   518 	
   524 	
   519 	// the PHY's supported logical links...
   525 	// the PHY's supported logical links...
   520 	RPointerArray<CACLLink>					iACLLogicalLinks;
   526 	RPointerArray<CACLLink>					iACLLogicalLinks;
   521 	CBTSynchronousLink*						iSyncLogicalLink; // stack only supports a signal one per PHY
   527 	CBTSynchronousLink*						iSyncLogicalLink; // stack only supports a signal one per PHY
   522 	
   528 
   523 
   529 	TBool						iLinkKeyRequestOutstanding;	// for if we have to wait for Registry or SSP support status
   524 	MPINCodeResponseHandler*	iPinHandler;
   530 
       
   531 	MPINCodeResponseHandler*	iPinHandler;		// for forwarding responses to
       
   532 
   525 	TBTConnect 					iLastPendingConnection;		// for if we have to wait for Registry to decide whether to rject or accept a connection
   533 	TBTConnect 					iLastPendingConnection;		// for if we have to wait for Registry to decide whether to rject or accept a connection
   526 	TBool						iPendingConnection;  // is a connection request waiting for a reply
   534 	TBool						iPendingConnection;  // is a connection request waiting for a reply
   527 	TSglQue<CBTProxySAP>		iProxySAPs;			// the proxies bound to us
   535 	TSglQue<CBTProxySAP>		iProxySAPs;			// the proxies bound to us
   528 	TDeltaTimerEntry			iIdleTimerEntry;
   536 	TDeltaTimerEntry			iIdleTimerEntry;
   529 	TBool						iIdleTimerQueued;
   537 	TBool						iIdleTimerQueued;
   568 	
   576 	
   569 	TInt						iIdleTimeout;
   577 	TInt						iIdleTimeout;
   570 
   578 
   571 	TBool						iNewPinCodeValid;
   579 	TBool						iNewPinCodeValid;
   572 	TBTPinCode					iNewPinCode;
   580 	TBTPinCode					iNewPinCode;
   573 
       
   574 	TBool						iWaitingForLinkKeyFromRegistry;
       
   575 
   581 
   576 private:
   582 private:
   577 	/**
   583 	/**
   578 	Enumeration to represent the current state of the physical links storage in the registry,
   584 	Enumeration to represent the current state of the physical links storage in the registry,
   579 	this is to cover the asynchronous properties of actions to the registry.
   585 	this is to cover the asynchronous properties of actions to the registry.