7#ifndef __SOC_WIFI_SDP_API_H__
8#define __SOC_WIFI_SDP_API_H__
24typedef int (*
hi_wifi_sdp_recv_cb)(
unsigned char* mac,
unsigned char peer_handle,
unsigned char local_handle,
25 unsigned char* msg,
unsigned char len);
31int uapi_wifi_sdp_send(
unsigned char* mac_addr,
unsigned char peer_handle,
unsigned char local_handle,
32 unsigned char* msg,
int len);
int uapi_wifi_sdp_set_retry_times(td_u32 retries)
int(* hi_wifi_sdp_recv_cb)(unsigned char *mac, unsigned char peer_handle, unsigned char local_handle, unsigned char *msg, unsigned char len)
Definition soc_wifi_sdp_api.h:24
int uapi_wifi_sdp_beacon_switch(const char *ifname, unsigned char enable)
int uapi_wifi_sdp_adjust_tx_power(const char *ifname, signed char power)
int uapi_wifi_sdp_restore_tx_power(const char *ifname)
int uapi_wifi_sdp_init(const char *ifname)
int uapi_wifi_sdp_stop_service(unsigned char local_handle, unsigned char role)
int uapi_wifi_sdp_restore_rx_param(const char *ifname)
int uapi_wifi_sdp_start_service(const char *service_name, unsigned char local_handle, hi_wifi_sdp_recv_cb recv_cb, unsigned char role)
int uapi_wifi_sdp_adjust_rx_param(const char *ifname, signed char rssi)
int uapi_wifi_sdp_deinit(void)
wifi_sdp_type_enum
Definition soc_wifi_sdp_api.h:18
@ WIFI_SDP_PUBLISH
Definition soc_wifi_sdp_api.h:19
@ WIFI_SDP_SUBSCRIBE
Definition soc_wifi_sdp_api.h:20
@ WIFI_SDP_BUTT
Definition soc_wifi_sdp_api.h:21
int uapi_wifi_sdp_send(unsigned char *mac_addr, unsigned char peer_handle, unsigned char local_handle, unsigned char *msg, int len)
unsigned int td_u32
Definition td_type.h:38