#define WIFIDIRECT_DISPLAY_FEATURE "http://tizen.org/feature/network.wifi.direct.display"
#define WIFIDIRECT_SERVICE_DISCOVERY_FEATURE "http://tizen.org/feature/network.wifi.direct.service_discovery"
-#if !defined TIZEN_TV
#define CHECK_FEATURE_SUPPORTED(feature_name)\
do {\
bool feature_supported = FALSE;\
}\
}while(0)
-#else
-#define CHECK_FEATURE_SUPPORTED(feature_name)
-#endif
-
typedef struct
{
bool is_registered;
__WDC_LOG_FUNC_END__;
return WIFI_DIRECT_ERROR_ALREADY_INITIALIZED;
}
-
-/*TEMP: Hawk-P Tizen TV Platform does not support security check*/
-#if !defined TIZEN_TV
res = system_info_get_platform_bool("tizen.org/feature/network.wifi.direct", &wifi_direct_enable);
if (res < 0) {
WDC_LOGE("Failed to get sys info");
WDC_LOGE("Wi-Fi Direct not supported");
return WIFI_DIRECT_ERROR_NOT_SUPPORTED;
}
-
-#endif
sockfd = socket(AF_UNIX, SOCK_STREAM, 0);
if (sockfd < 0) {
WDC_LOGE("Error!!! creating sync socket[%s]", strerror(errno));