bluetoothengine/bteng/inc/btengclient.h
changeset 28 7e2761e776bd
parent 0 f63038272f30
child 56 9386f31cc85b
equal deleted inserted replaced
27:6c10323ce807 28:7e2761e776bd
   156      * @since S60 v3.2
   156      * @since S60 v3.2
   157      * @param aEvent ?description
   157      * @param aEvent ?description
   158      * @return ?description
   158      * @return ?description
   159      */
   159      */
   160     TInt CancelNotifyConnectionEvents();
   160     TInt CancelNotifyConnectionEvents();
   161     
       
   162     /**
       
   163      * Set a pairing observer in BTEngine.
       
   164      *
       
   165      * @since S60 v3.2
       
   166      * @param aAddr The address of the remote device that is being paired.
       
   167      * @param aActivate If ETrue, the observer will be activated, otherwise
       
   168      *                  the observer will be removed.
       
   169      * @return KErrNone on success, otherwise a system-wide error code.
       
   170      */
       
   171     TInt SetPairingObserver( const TBTDevAddr& aAddr, TBool aActivate );
       
   172 
   161 
   173     /**
   162     /**
   174      * ?description
   163      * ?description
   175      *
   164      *
   176      * @since S60 v3.2
   165      * @since S60 v3.2
   177      * @return ?description
   166      * @return ?description
   178      */
   167      */
   179     TInt PrepareDiscovery();
   168     TInt PrepareDiscovery();
   180     
   169     
   181     /**
       
   182      * Pair a device.
       
   183      * @param aAddr The address of the remote device to be paired.
       
   184      * @param aDeviceClass the CoD of the device to be paired.
       
   185      * @param aStatus contains the pair result at request completion.
       
   186      */
       
   187     void PairDevice( const TBTDevAddrPckgBuf& aAddr, 
       
   188                      const TUint32& aDeviceClass, 
       
   189                      TRequestStatus& aStatus  );
       
   190     
       
   191     /**
       
   192      * Cancels an outstanding pair request
       
   193      */
       
   194     void CancelPairDevice();
       
   195     
       
   196     };
   170     };
   197 
   171 
   198 
   172 
   199 #endif // BTENGCLIENT_H
   173 #endif // BTENGCLIENT_H