Name: org.tizen.settings-tv-ref
Summary: Setting Reference Application
-Version: 0.1
+Version: 0.2
Release: 1
Group: Applications/Native Applications
License: Apache-2.0
BuildRequires: pkgconfig(capi-network-wifi)
BuildRequires: pkgconfig(capi-network-connection)
BuildRequires: pkgconfig(capi-media-sound-manager)
-BuildRequires: pkgconfig(wifi-direct)
+BuildRequires: pkgconfig(capi-network-wifi-direct)
BuildRequires: gettext-devel
BuildRequires: vconf
#BuildRequires: pkgconfig(capi-appfw-tvcontext)
capi-appfw-application
capi-network-wifi
capi-network-connection
- wifi-direct
+ capi-network-wifi-direct
)
#ecore-x
FOREACH(FLAG ${UG_WIFI_DIRECT_PKGS_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${FLAG}")
ENDFOREACH(FLAG)
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fvisibility=hidden -Wall -Werror")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -fvisibility=hidden")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS}")
SET(SRCS
wifi_direct_connected_peer_cb cb, void *data);
int wifi_direct_mgr_start_discovery(void);
int wifi_direct_mgr_cancel_discovery(void);
-int wifi_direct_mgr_connect(const char *mac_addr);
-int wifi_direct_mgr_disconnect(const char *mac_addr);
+int wifi_direct_mgr_connect(char *mac_addr);
+int wifi_direct_mgr_disconnect(char *mac_addr);
int wifi_direct_mgr_reject_connection(const char *mac_addr);
int wifi_direct_mgr_accept_connection(char *mac_addr);
int wifi_direct_mgr_get_wps_type(Eina_Bool *is_pbc);
* @param[in] mac_adrr the MAC address
* @return 0 on success, otherwise -1
*/
-int wifi_direct_mgr_connect(const char *mac_addr)
+int wifi_direct_mgr_connect(char *mac_addr)
{
int ret;
* @param[in] mac_adrr the MAC address
* @return 0 on success, otherwise -1
*/
-int wifi_direct_mgr_disconnect(const char *mac_addr)
+int wifi_direct_mgr_disconnect(char *mac_addr)
{
int ret;