bluetooth/btstack/linkmgr/hostresolver.h
changeset 50 0bcc0c74cec9
parent 32 f72906e669b4
equal deleted inserted replaced
47:a1b8f5cc021e 50:0bcc0c74cec9
   303 	CBTInqResultSet		iResults;
   303 	CBTInqResultSet		iResults;
   304 	// Member of Q in InquiryMgr.
   304 	// Member of Q in InquiryMgr.
   305 	TDblQueLink iLink;
   305 	TDblQueLink iLink;
   306 	//Mixin providing security checking, This is not an owned variable.
   306 	//Mixin providing security checking, This is not an owned variable.
   307 	MProvdSecurityChecker* iSecurityChecker;
   307 	MProvdSecurityChecker* iSecurityChecker;
       
   308 	TInquirySockAddr	iSockAddr;
   308 	};
   309 	};
   309 
   310 
   310 #ifdef CONNECTION_PREEMPTS_INQUIRY
   311 #ifdef CONNECTION_PREEMPTS_INQUIRY
   311 class CConnectingStatusSubscriber;
   312 class CConnectingStatusSubscriber;
   312 #endif
   313 #endif
   436 	void EnableFlusher();
   437 	void EnableFlusher();
   437 
   438 
   438 	TInt CacheAge(TUint aIAC) const;
   439 	TInt CacheAge(TUint aIAC) const;
   439 	void SetCacheAge(TUint aIAC, TInt aAge);
   440 	void SetCacheAge(TUint aIAC, TInt aAge);
   440 	
   441 	
       
   442 	TUint RequestedInquiryIAC();
       
   443 	
   441 private:
   444 private:
   442 	MHCICommandQueue*   iCommandQueue;
   445 	MHCICommandQueue*   iCommandQueue;
   443 
   446 
   444 	// Singleton owner of us
   447 	// Singleton owner of us
   445 	CLinkMgrProtocol& iLinkMgrProtocol;
   448 	CLinkMgrProtocol& iLinkMgrProtocol;
   446 
   449 
   447 	// What the hardware is currently up to (as far as we know)
   450 	// What the hardware is currently up to (as far as we know)
   448 	THWState		iHWState;
   451 	THWState		iHWState;
   449 	// IAC of the current inquiry
   452 	// IAC of the current inquiry
   450 	TUint			iCurrentInquiryIAC;
   453 	TUint			iCurrentInquiryIAC;
   451 	// IAC of the inquiry that is currently requested by a host resolver, either in progress or about to start
       
   452 	TUint			iRequestedInquiryIAC;
       
   453 	// IAC of the inquiry that has been put on hold while a higher priority IAC is in progress
       
   454 	TUint			iQueuedInquiryIAC;
       
   455 	// Number of times we've interrupted the current inquiry
   454 	// Number of times we've interrupted the current inquiry
   456 	TInt			iInquiryInteruptions;
   455 	TInt			iInquiryInteruptions;
   457 	// Time since the last inquiry, per IAC
   456 	// Time since the last inquiry, per IAC
   458 	RArray<TInquiryCacheAge> iCacheAge;
   457 	RArray<TInquiryCacheAge> iCacheAge;
   459 	// Timer to age records and the cache itself
   458 	// Timer to age records and the cache itself