1 /* Copyright 2014 Samsung Electronics Co., Ltd All Rights Reserved
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
7 * http://www.apache.org/licenses/LICENSE-2.0
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
17 * @file geofence_server_wifi.h
18 * @brief Geofence server wifi related APIs
22 #ifndef GEOFENCE_MANAGER_WIFI_H_
23 #define GEOFENCE_MANAGER_WIFI_H_
26 * @brief Handles the wifi scan results
27 * @param[in] ap_list The ap list.
28 * @param[in] user_data The user data.
31 void handle_scan_result(GList *ap_list, void *user_data);
34 * @brief Indicated the wifi scan results
35 * @param[in] ap_list The ap list.
36 * @param[in] user_data The user data.
39 void wifi_indication(GList *ap_list, void *user_data);
42 * @brief Gets Wifi enabled status
43 * @Param[in] data The status of the wifi connection
45 * @retval false if disabled and true if enabled
48 gboolean geofence_get_enable_wifi_state(gpointer data);
51 * @brief Handles Wifi connection status change
52 * @Param[in] state The status of the wifi connection
53 * @Param[in] ap The wifi ap
54 * @Param[in] user_data The user data
57 void wifi_conn_state_changed(wifi_connection_state_e state, wifi_ap_h ap, void *user_data);
60 * @brief Wifi device status change
61 * @Param[in] state The status of the wifi device
62 * @Param[in] user_data The user data
65 void wifi_device_state_changed(wifi_device_state_e state, void *user_data);
68 * @brief Wifi AP rssi level change
69 * @Param[in] rssi_level The level of the RSSI received
70 * @Param[in] user_data The user data
73 void wifi_rssi_level_changed(wifi_rssi_level_e rssi_level, void *user_data);
74 #endif /* GEOFENCE_MANAGER_WIFI_H_ */