186 /** |
186 /** |
187 * Connect to the given WLAN IAP. The function requests the server, |
187 * Connect to the given WLAN IAP. The function requests the server, |
188 * then starts a synchronous wait until the connection is established. |
188 * then starts a synchronous wait until the connection is established. |
189 * @since S60 5.0 |
189 * @since S60 5.0 |
190 * @param aIapId The id of the IAP to connect to |
190 * @param aIapId The id of the IAP to connect to |
|
191 * @param aConnectOnly ETrue if Connect selected |
191 * @param aPersistence The value of the persistence property |
192 * @param aPersistence The value of the persistence property |
192 * @return KErrNone if managed to connect, otherwise error code |
193 * @return KErrNone if managed to connect, otherwise error code |
193 */ |
194 */ |
194 IMPORT_C TInt ConnectWlanBearerL( TUint32 aIapId, |
195 IMPORT_C TInt ConnectWlanBearerL( TUint32 aIapId, |
|
196 TBool aConnectOnly, |
195 TWsfIapPersistence aPersistence = EIapPersistent ); |
197 TWsfIapPersistence aPersistence = EIapPersistent ); |
196 |
198 |
197 /** |
199 /** |
198 * Asyncronous request to the server to connect |
200 * Asyncronous request to the server to connect |
199 * @since S60 5.2 |
201 * @since S60 5.2 |
200 * @param aPckg request result |
202 * @param aPckg request result |
201 * @param aIapId The id of the IAP to connect to |
203 * @param aIapId The id of the IAP to connect to |
|
204 * @param aConnectOnly ETrue if Connect selected |
202 * @param aPersistence The value of the persistence property |
205 * @param aPersistence The value of the persistence property |
203 * @param aStatus The request status object used to contain |
206 * @param aStatus The request status object used to contain |
204 * the completion status of the request. |
207 * the completion status of the request. |
205 */ |
208 */ |
206 IMPORT_C void ConnectWlanBearer( TPckgBuf<TBool>& aPckg, |
209 IMPORT_C void ConnectWlanBearer( TPckgBuf<TBool>& aPckg, |
207 TUint32 aIapId, |
210 TUint32 aIapId, |
208 TWsfIapPersistence aPersistence, |
211 TBool aConnectOnly, |
|
212 TWsfIapPersistence aPersistence, |
209 TRequestStatus& aStatus ); |
213 TRequestStatus& aStatus ); |
210 |
214 |
211 /** |
215 /** |
212 * Sets connection result |
216 * Sets connection result |
213 * @since S60 5.2 |
217 * @since S60 5.2 |