bluetooth/btextnotifiers/inc/BTExtNotifiersPartner.h
branchRCL_3
changeset 13 20fda83a6398
parent 0 29b1cd4cb562
child 32 f72906e669b4
equal deleted inserted replaced
12:8a27654f7b62 13:20fda83a6398
   182 @publishedPartner
   182 @publishedPartner
   183 @released
   183 @released
   184 */
   184 */
   185 const TUid KBTPasskeyDisplayNotifierUid={0x10285AD4};
   185 const TUid KBTPasskeyDisplayNotifierUid={0x10285AD4};
   186 
   186 
       
   187 /*
       
   188 UID of the "User Confirmation" confirmation request RNotifier plugin.
       
   189 
       
   190 The notifier will be started with a parameter of type TBTUserConfirmationParamsPckg.
       
   191 
       
   192 The notifier will receive updates of type TBTNotifierUpdateParamsPckg2.
       
   193 
       
   194 @see TBTNotifierUpdateParamsPckg2
       
   195 
       
   196 @publishedPartner
       
   197 @released
       
   198 */
       
   199 const TUid KBTUserConfirmationNotifierUid={0x2002E224};
       
   200 
   187 /**
   201 /**
   188 UID of the "PIN Code Entry" RNotifier plugin.
   202 UID of the "PIN Code Entry" RNotifier plugin.
   189 
   203 
   190 Note that this is an SSP aware notifier taking the new parameter type.  This is
   204 Note that this is an SSP aware notifier taking the new parameter type.  This is
   191 intended to replace the deprecated KBTManPinNotifierUid RNotifier plugin.
   205 intended to replace the deprecated KBTManPinNotifierUid RNotifier plugin.
   328 	// This data padding has been added to help prevent future binary compatibility breaks	
   342 	// This data padding has been added to help prevent future binary compatibility breaks	
   329 	// iPadding1 has not been zero'd because it is currently not used
   343 	// iPadding1 has not been zero'd because it is currently not used
   330 	TUint32	iPadding1; 
   344 	TUint32	iPadding1; 
   331 	};
   345 	};
   332 
   346 
       
   347 /** 
       
   348 Secure simple pairing "User Confirmation" parameters.
       
   349 This class packages the parameters passed to a numeric comparison notifier.
       
   350 	
       
   351 @publishedPartner
       
   352 @released
       
   353 */
       
   354 NONSHARABLE_CLASS(TBTUserConfirmationParams)
       
   355 	: public TBTNotifierParams2
       
   356 	{	
       
   357 public:
       
   358 	IMPORT_C TBTUserConfirmationParams(const TBTDevAddr& aDevAddr, const TDesC& aDeviceName, TBool aLocallyInitiated);
       
   359 	IMPORT_C TBTUserConfirmationParams();
       
   360 	
       
   361 public:
       
   362 	IMPORT_C TBool LocallyInitiated() const;
       
   363 	
       
   364 private:
       
   365 	TBool				iLocallyInitiated;
       
   366 	
       
   367 	// This data padding has been added to help prevent future binary compatibility breaks	
       
   368 	// Neither iPadding1 nor iPadding2 have been zero'd because they are currently not used
       
   369 	TUint32	iPadding1;
       
   370 	TUint32 iPadding2;
       
   371 	};
       
   372 
       
   373 
   333 /**
   374 /**
   334 The base update parameter for the Bluetooth pairing notifiers.
   375 The base update parameter for the Bluetooth pairing notifiers.
   335 This class is intended to allow multiple different updates parameters to be
   376 This class is intended to allow multiple different updates parameters to be
   336 passed to the Bluetooth notifiers.
   377 passed to the Bluetooth notifiers.
   337 	
   378 	
   429 @publishedPartner
   470 @publishedPartner
   430 @released
   471 @released
   431 */
   472 */
   432 typedef TPckgBuf<TBTPasskeyDisplayParams> TBTPasskeyDisplayParamsPckg;
   473 typedef TPckgBuf<TBTPasskeyDisplayParams> TBTPasskeyDisplayParamsPckg;
   433 /**
   474 /**
       
   475 Typedef'ed pckgbuf to send passkey entry display parameters to the notifier framework.
       
   476 @publishedPartner
       
   477 @released
       
   478 */
       
   479 typedef TPckgBuf<TBTUserConfirmationParams> TBTUserConfirmationParamsPckg;
       
   480 /**
   434 Typedef'ed pckgbuf to send PIN code entry parameters to the notifier framework.
   481 Typedef'ed pckgbuf to send PIN code entry parameters to the notifier framework.
   435 @publishedPartner
   482 @publishedPartner
   436 @released
   483 @released
   437 */
   484 */
   438 typedef TPckgBuf<TBTPinCodeEntryNotifierParams> TBTPinCodeEntryNotifierParamsPckg;
   485 typedef TPckgBuf<TBTPinCodeEntryNotifierParams> TBTPinCodeEntryNotifierParamsPckg;