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 ); |
161 |
172 |
162 /** |
173 /** |
163 * ?description |
174 * ?description |
164 * |
175 * |
165 * @since S60 v3.2 |
176 * @since S60 v3.2 |
166 * @return ?description |
177 * @return ?description |
167 */ |
178 */ |
168 TInt PrepareDiscovery(); |
179 TInt PrepareDiscovery(); |
169 |
180 |
|
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 |
170 }; |
196 }; |
171 |
197 |
172 |
198 |
173 #endif // BTENGCLIENT_H |
199 #endif // BTENGCLIENT_H |