bluetooth/btstack/linkmgr/physicallinks.h
branchRCL_3
changeset 11 20fda83a6398
parent 10 8a27654f7b62
child 12 9b6d3ca0c601
equal deleted inserted replaced
10:8a27654f7b62 11:20fda83a6398
   442 	CBTPasskeyEntry* InstancePasskeyEntry() const;
   442 	CBTPasskeyEntry* InstancePasskeyEntry() const;
   443 	TBool IsPasskeyEntryActive()const;
   443 	TBool IsPasskeyEntryActive()const;
   444 	void DeletePasskeyEntry();
   444 	void DeletePasskeyEntry();
   445 	void CancelPasskeyEntry();
   445 	void CancelPasskeyEntry();
   446 	void PasskeyEntryKeyPressed(THCIPasskeyEntryNotificationType aKey);
   446 	void PasskeyEntryKeyPressed(THCIPasskeyEntryNotificationType aKey);
       
   447 
       
   448 	void NewUserConfirmerL(const TBTDevAddr aAddr,CBTSecMan& aSecMan,TBool aInternallyInitiated);
       
   449 
       
   450 	CBTUserConfirmer* InstanceUserConfirmer() const;
       
   451 	TBool IsUserConfirmerActive()const;
       
   452 	void DeleteUserConfirmer();
       
   453 	void CancelUserConfirmer();
       
   454 
       
   455 	
   447 	TBasebandTime GetSniffInterval() const;
   456 	TBasebandTime GetSniffInterval() const;
   448 	
   457 	
   449 	TBool IsPairable() const;
   458 	TBool IsPairable() const;
   450 
   459 
       
   460 	TBool IsPairingExpected() const;
       
   461 	
   451 private:
   462 private:
   452 	CPhysicalLink(CPhysicalLinksManager& aParent, CRegistrySession& aRegSess, const TBTNamelessDevice& aDevice);
   463 	CPhysicalLink(CPhysicalLinksManager& aParent, CRegistrySession& aRegSess, const TBTNamelessDevice& aDevice);
   453 	void ConstructL();
   464 	void ConstructL();
   454 	void GetRemoteDetailsL(const TBTConnect& aConn);
   465 	void GetRemoteDetailsL(const TBTConnect& aConn);
   455 	void DoUpdateNameL(const TBTDeviceName8& aName);
   466 	void DoUpdateNameL(const TBTDeviceName8& aName);
   484 	void HandlePrefetch();
   495 	void HandlePrefetch();
   485 	void PINCodeRequestReply(const TBTDevAddr& aDevAddr,const TDesC8& aPin);
   496 	void PINCodeRequestReply(const TBTDevAddr& aDevAddr,const TDesC8& aPin);
   486 	void PINCodeRequestNegativeReply(const TBTDevAddr& aDevAddr);
   497 	void PINCodeRequestNegativeReply(const TBTDevAddr& aDevAddr);
   487 	
   498 	
   488 	inline TBool IsAuthenticationPending() const;
   499 	inline TBool IsAuthenticationPending() const;
   489 
   500 	
   490 	void LinkKeyRequestResponseAttempt(TBool aForceResponse = EFalse);
   501 	void LinkKeyRequestResponseAttempt(TBool aForceResponse = EFalse);
   491 	void DoLinkKeyResponse(TBool aPositive);
   502 	void DoLinkKeyResponse(TBool aPositive);
   492 
   503 
   493 	void RemoteSimplePairingModeDetermined(TPhysicalLinkSimplePairingMode aSimplePairingMode);
   504 	void RemoteSimplePairingModeDetermined(TPhysicalLinkSimplePairingMode aSimplePairingMode);
   494 	void SetPeerInSecurityMode3();
   505 	void SetPeerInSecurityMode3();
   517 	
   528 	
   518 	// the PHY's UI handlers
   529 	// the PHY's UI handlers
   519 	CBTPinRequester*						iPinRequester;	// looks after PIN entry UI/state
   530 	CBTPinRequester*						iPinRequester;	// looks after PIN entry UI/state
   520 	CBTNumericComparator*					iNumericComparator; // looks after the numeric comparison UI/state
   531 	CBTNumericComparator*					iNumericComparator; // looks after the numeric comparison UI/state
   521 	CBTPasskeyEntry*						iPasskeyEntry; // looks after the passkey entry UI/state
   532 	CBTPasskeyEntry*						iPasskeyEntry; // looks after the passkey entry UI/state
       
   533 	CBTUserConfirmer*					iUserConfirmer; // looks after the user confirmation UI/state
   522 	
   534 	
   523 	CEncryptionEnforcer*					iEncryptionEnforcer;
   535 	CEncryptionEnforcer*					iEncryptionEnforcer;
   524 	
   536 	
   525 	// the PHY's supported logical links...
   537 	// the PHY's supported logical links...
   526 	RPointerArray<CACLLink>					iACLLogicalLinks;
   538 	RPointerArray<CACLLink>					iACLLogicalLinks;
   577 	TInt						iIdleTimeout;
   589 	TInt						iIdleTimeout;
   578 
   590 
   579 	TBool						iNewPinCodeValid;
   591 	TBool						iNewPinCodeValid;
   580 	TBTPinCode					iNewPinCode;
   592 	TBTPinCode					iNewPinCode;
   581 
   593 
       
   594 	TBool						iLinkKeyReturnedInThisAuthentication;
       
   595 	TBool						iLinkKeyObtainedThroughDedicatedBonding;
   582 private:
   596 private:
   583 	/**
   597 	/**
   584 	Enumeration to represent the current state of the physical links storage in the registry,
   598 	Enumeration to represent the current state of the physical links storage in the registry,
   585 	this is to cover the asynchronous properties of actions to the registry.
   599 	this is to cover the asynchronous properties of actions to the registry.
   586 	*/
   600 	*/