--- a/bluetooth/btextnotifiers/inc/BTExtNotifiersPartner.h Fri Mar 12 15:49:00 2010 +0200
+++ b/bluetooth/btextnotifiers/inc/BTExtNotifiersPartner.h Mon Mar 15 12:44:59 2010 +0200
@@ -184,6 +184,20 @@
*/
const TUid KBTPasskeyDisplayNotifierUid={0x10285AD4};
+/*
+UID of the "User Confirmation" confirmation request RNotifier plugin.
+
+The notifier will be started with a parameter of type TBTUserConfirmationParamsPckg.
+
+The notifier will receive updates of type TBTNotifierUpdateParamsPckg2.
+
+@see TBTNotifierUpdateParamsPckg2
+
+@publishedPartner
+@released
+*/
+const TUid KBTUserConfirmationNotifierUid={0x2002E224};
+
/**
UID of the "PIN Code Entry" RNotifier plugin.
@@ -330,6 +344,33 @@
TUint32 iPadding1;
};
+/**
+Secure simple pairing "User Confirmation" parameters.
+This class packages the parameters passed to a numeric comparison notifier.
+
+@publishedPartner
+@released
+*/
+NONSHARABLE_CLASS(TBTUserConfirmationParams)
+ : public TBTNotifierParams2
+ {
+public:
+ IMPORT_C TBTUserConfirmationParams(const TBTDevAddr& aDevAddr, const TDesC& aDeviceName, TBool aLocallyInitiated);
+ IMPORT_C TBTUserConfirmationParams();
+
+public:
+ IMPORT_C TBool LocallyInitiated() const;
+
+private:
+ TBool iLocallyInitiated;
+
+ // This data padding has been added to help prevent future binary compatibility breaks
+ // Neither iPadding1 nor iPadding2 have been zero'd because they are currently not used
+ TUint32 iPadding1;
+ TUint32 iPadding2;
+ };
+
+
/**
The base update parameter for the Bluetooth pairing notifiers.
This class is intended to allow multiple different updates parameters to be
@@ -431,6 +472,12 @@
*/
typedef TPckgBuf<TBTPasskeyDisplayParams> TBTPasskeyDisplayParamsPckg;
/**
+Typedef'ed pckgbuf to send passkey entry display parameters to the notifier framework.
+@publishedPartner
+@released
+*/
+typedef TPckgBuf<TBTUserConfirmationParams> TBTUserConfirmationParamsPckg;
+/**
Typedef'ed pckgbuf to send PIN code entry parameters to the notifier framework.
@publishedPartner
@released
@@ -456,4 +503,4 @@
*/
typedef TPckgBuf<TBTPasskeyDisplayUpdateParams> TBTPasskeyDisplayUpdateParamsPckg;
-#endif // BTEXTNOTIFIERSPARTNER_H
\ No newline at end of file
+#endif // BTEXTNOTIFIERSPARTNER_H