118 * Requests the scan results from the server |
118 * Requests the scan results from the server |
119 * @since S60 5.0 |
119 * @since S60 5.0 |
120 * @param aInfoArray Array for the scan results. Ownership not changed. |
120 * @param aInfoArray Array for the scan results. Ownership not changed. |
121 */ |
121 */ |
122 IMPORT_C void UpdateWlanListL( CWsfWlanInfoArray* aInfoArray ); |
122 IMPORT_C void UpdateWlanListL( CWsfWlanInfoArray* aInfoArray ); |
|
123 |
|
124 /** |
|
125 * Asyncronous request to the server to return wlan list size |
|
126 * @since S60 5.2 |
|
127 * @param aPckg request result |
|
128 * @param aStatus The request status object used to contain |
|
129 * the completion status of the request. |
|
130 */ |
|
131 IMPORT_C void GetWlanListSize( TPckgBuf<TUint>& aPckg, |
|
132 TRequestStatus& aStatus ); |
|
133 |
|
134 |
|
135 /** |
|
136 * Asyncronous request to the server to return wlan list |
|
137 * @since S60 5.2 |
|
138 * @param aPckg request result |
|
139 * @param aPtr wlan list |
|
140 * @param aStatus The request status object used to contain |
|
141 * the completion status of the request. |
|
142 */ |
|
143 IMPORT_C void GetWlanList( TPckgBuf<TUint>& aPckg, TPtr8& aPtr, |
|
144 TRequestStatus& aStatus ); |
123 |
145 |
124 /** |
146 /** |
125 * Cancel all pending tasks. |
147 * Cancel all pending tasks. |
126 * @since S60 5.0 |
148 * @since S60 5.0 |
127 */ |
149 */ |
139 * @since S60 5.0 |
161 * @since S60 5.0 |
140 * @param aWlanInfo The wlaninfo object to fill |
162 * @param aWlanInfo The wlaninfo object to fill |
141 * @return ETrue if success, EFalse otherwise |
163 * @return ETrue if success, EFalse otherwise |
142 */ |
164 */ |
143 IMPORT_C TBool GetConnectedWlanDetailsL( TWsfWlanInfo& aWlanInfo ); |
165 IMPORT_C TBool GetConnectedWlanDetailsL( TWsfWlanInfo& aWlanInfo ); |
|
166 |
|
167 /** |
|
168 * Asyncronous request to the server to return connected wlan network |
|
169 * @since S60 5.2 |
|
170 * @param aPckg request result |
|
171 * @param aWlanInfo The wlaninfo object to fill |
|
172 * @param aStatus The request status object used to contain |
|
173 * the completion status of the request. |
|
174 */ |
|
175 IMPORT_C void GetConnectedWlanDetails( TPckgBuf<TBool>& aPckg, |
|
176 TWsfWlanInfo& aWlanInfo, |
|
177 TRequestStatus& aStatus ); |
144 |
178 |
145 /** |
179 /** |
146 * Start monitoring events for the specified access point |
180 * Start monitoring events for the specified access point |
147 * @since S60 5.0 |
181 * @since S60 5.0 |
148 * @param aMonitoredIap The id of the IAP to be monitored |
182 * @param aMonitoredIap The id of the IAP to be monitored |
159 */ |
193 */ |
160 IMPORT_C TInt ConnectWlanBearerL( TUint32 aIapId, |
194 IMPORT_C TInt ConnectWlanBearerL( TUint32 aIapId, |
161 TWsfIapPersistence aPersistence = EIapPersistent ); |
195 TWsfIapPersistence aPersistence = EIapPersistent ); |
162 |
196 |
163 /** |
197 /** |
164 * Connect to the given WLAN IAP. The function requests connection from |
198 * Asyncronous request to the server to connect |
165 * server without waiting the connection process to finish |
199 * @since S60 5.2 |
166 * @since S60 5.2 |
200 * @param aPckg request result |
167 * @param aIapId The id of the IAP to connect to |
201 * @param aIapId The id of the IAP to connect to |
168 * @param aPersistence The value of the persistence property |
202 * @param aPersistence The value of the persistence property |
169 * @return KErrNone if connection request is succesfully sent to server |
203 * @param aStatus The request status object used to contain |
170 */ |
204 * the completion status of the request. |
171 IMPORT_C TInt ConnectWlanBearerWithoutConnWaiterL( TUint32 aIapId, |
205 */ |
172 TWsfIapPersistence aPersistence = EIapPersistent ); |
206 IMPORT_C void ConnectWlanBearer( TPckgBuf<TBool>& aPckg, |
|
207 TUint32 aIapId, |
|
208 TWsfIapPersistence aPersistence, |
|
209 TRequestStatus& aStatus ); |
|
210 |
|
211 /** |
|
212 * Sets connection result |
|
213 * @since S60 5.2 |
|
214 * @param aResult The connection request result |
|
215 */ |
|
216 IMPORT_C void SetConnectWlanBearerResult( TInt aResult ); |
173 |
217 |
174 /** |
218 /** |
175 * Sets the persistence property of the currently monitored IAP |
219 * Sets the persistence property of the currently monitored IAP |
176 * @since S60 5.0 |
220 * @since S60 5.0 |
177 * @param aPersistence The value of the property |
221 * @param aPersistence The value of the property |
186 * disconnected successfully, otherwise EFalse |
230 * disconnected successfully, otherwise EFalse |
187 */ |
231 */ |
188 IMPORT_C TBool DisconnectWlanBearerL(); |
232 IMPORT_C TBool DisconnectWlanBearerL(); |
189 |
233 |
190 /** |
234 /** |
|
235 * Asyncronous request to the server to disconnect |
|
236 * @since S60 5.2 |
|
237 * @param aPckg request result |
|
238 * @param aStatus The request status object used to contain |
|
239 * the completion status of the request. |
|
240 */ |
|
241 IMPORT_C void DisconnectWlanBearer( TPckgBuf<TBool>& aPckg, |
|
242 TRequestStatus& aStatus ); |
|
243 |
|
244 /** |
191 * Request the server to make a forced scan |
245 * Request the server to make a forced scan |
192 * @since S60 5.0 |
246 * @since S60 5.0 |
193 * @return ETrue on success |
247 * @return ETrue on success |
194 */ |
248 */ |
195 IMPORT_C TBool RequestScanL(); |
249 IMPORT_C TBool RequestScanL(); |
|
250 |
|
251 /** |
|
252 * Asyncronous request to the server to make a scan |
|
253 * @since S60 5.2 |
|
254 * @param aPckg request result |
|
255 * @param aStatus The request status object used to contain |
|
256 * the completion status of the request. |
|
257 */ |
|
258 IMPORT_C void RequestScan( TPckgBuf<TBool>& aPckg, |
|
259 TRequestStatus& aStatus ); |
196 |
260 |
197 /** |
261 /** |
198 * Queries if there is an active WLAN connection. |
262 * Queries if there is an active WLAN connection. |
199 * @since S60 5.0 |
263 * @since S60 5.0 |
200 * @return ETrue if there is an active WLAN connection, |
264 * @return ETrue if there is an active WLAN connection, |