Home
last modified time | relevance | path

Searched refs:localHandle (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/wifi_aware/frameworks/source/
H A Dwifiaware.c53 int SubscribeService(const char* svcName, unsigned char localHandle, RecvCallback recvCB) in SubscribeService() argument
71 …if (HalWifiSdpStartService((char*)shaSvcName, localHandle, (HalRecvCallback)recvCB, HAL_WIFI_SDP_S… in SubscribeService()
78 int SendData(unsigned char* macAddr, unsigned char peerHandle, unsigned char localHandle, in SendData() argument
81 if (HalWifiSdpSend(macAddr, peerHandle, localHandle, msg, len) != 0) { in SendData()
88 int StopSubscribe(unsigned char localHandle) in StopSubscribe() argument
90 if (HalWifiSdpStopService(localHandle, HAL_WIFI_SDP_SUBSCRIBE) != 0) { in StopSubscribe()
/ohos5.0/foundation/communication/wifi_aware/interfaces/kits/
H A Dwifiaware.h114 …ef int (*RecvCallback)(unsigned char* macAddr, unsigned char peerHandle, unsigned char localHandle,
158 int SubscribeService(const char* svcName, unsigned char localHandle, RecvCallback recvCB);
180 int SendData(unsigned char* macAddr, unsigned char peerHandle, unsigned char localHandle,
197 int StopSubscribe(unsigned char localHandle);
/ohos5.0/foundation/communication/wifi_aware/hals/
H A Dhal_wifiaware.h31 …int (*HalRecvCallback)(unsigned char* macAddr, unsigned char peerHandle, unsigned char localHandle,
38 int HalWifiSdpStartService(const char* svcName, unsigned char localHandle, HalRecvCallback recvCB, …
40 int HalWifiSdpSend(unsigned char* macAddr, unsigned char peerHandle, unsigned char localHandle,
43 int HalWifiSdpStopService(unsigned char localHandle, unsigned char role);