2 * Network Configuration Module
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd. All rights reserved.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
21 * This file declares wifi direct service functions and structures.
23 * @file wifi-direct-service.h
24 * @author Gibyoung Kim (lastkgb.kim@samsung.com)
28 #ifndef __WIFI_DIRECT_SERVICE_H__
29 #define __WIFI_DIRECT_SERVICE_H__
37 WFD_SERVICE_TYPE_BONJOUR,
38 WFD_SERVICE_TYPE_UPNP,
39 WFD_SERVICE_TYPE_WS_DISCOVERY,
40 WFD_SERVICE_TYPE_WIFI_DISPLAY,
41 WFD_SERVICE_TYPE_VENDOR = 0xff,
45 WFD_BONJOUR_RDATA_PTR = 0x0c,
46 WFD_BONJOUR_RDATA_TXT = 0x10,
47 } wfd_bonjour_rdata_type_e;
56 wfd_bonjour_rdata_type_e rdata_type;
58 } wfd_service_bonjour_s;
73 wfd_bonjour_rdata_type_e rdata_type;
83 int wfd_service_add(int type, char *data, int *service_id);
84 int wfd_service_del(int service_id);
86 int wfd_service_disc_req(unsigned char *addr, int type, char *data);
87 int wfd_service_disc_cancel(int handle);
94 #endif /* __WIFI_DIRECT_SERVICE_H__ */