Home
last modified time | relevance | path

Searched refs:remoteUrl (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/mini_discover/
H A Dcoap_discover.c70 static int32_t HndPostServiceDiscoverInner(const uint8_t *buf, size_t size, char **remoteUrl, DeviceInfo *deviceInfo) in HndPostServiceDiscoverInner() argument
72 if (GetServiceDiscoverInfo(buf, size, deviceInfo, remoteUrl) != NSTACKX_EOK) { in HndPostServiceDiscoverInner()
78 deviceInfo->discoveryType = (*remoteUrl != NULL) ? NSTACKX_DISCOVERY_TYPE_PASSIVE : NSTACKX_DISCOVERY_TYPE_ACTIVE; in HndPostServiceDiscoverInner()
99 static void GetBuildCoapParam(const CoapPacket *pkt, const char *remoteUrl, const char *remoteIp, CoapBuildParam *param) in GetBuildCoapParam() argument
103 if (remoteUrl != NULL) { in GetBuildCoapParam()
115 static int32_t CreateUnicastCoapParam(const char *remoteUrl, const char *remoteIp, CoapBuildParam *param) in CreateUnicastCoapParam() argument
117 if ((remoteUrl == NULL) || (remoteIp == NULL)) { in CreateUnicastCoapParam()
128 static void CoapResponseServiceDiscovery(const char *remoteUrl, const CoapPacket *pkt, in CoapResponseServiceDiscovery() argument
134 GetBuildCoapParam(pkt, remoteUrl, wifiIpAddr, &param); in CoapResponseServiceDiscovery()
135 if (remoteUrl ! in CoapResponseServiceDiscovery()
157 char *remoteUrl = NULL; HndPostServiceDiscoverEx() local
560 char remoteUrl[NSTACKX_MAX_URI_BUFFER_LENGTH] = {0}; SendDiscoveryRspEx() local
[all...]
H A Dcoap_app.c45 const char *remoteUrl; member
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/
H A Dcoap_discover.c122 if (coapRequest == NULL || coapRequest->remoteUrl == NULL || session == NULL) { in CoapPackToPdu()
148 coapRequest->remoteUrl = url; in FillCoapRequest()
169 if (CoapUriParse(coapRequest.remoteUrl, &coapUri) != NSTACKX_EOK) { in CoapSendRequestEx()
219 static int32_t CoapResponseService(CoapCtxType *ctx, const char *remoteUrl, uint8_t businessType) in CoapResponseService() argument
227 int ret = CoapSendRequest(ctx, COAP_MESSAGE_CON, remoteUrl, data, strlen(data) + 1); in CoapResponseService()
239 static int32_t HndPostServiceDiscoverInner(const coap_pdu_t *request, char **remoteUrl, DeviceInfo *deviceInfo) in HndPostServiceDiscoverInner() argument
252 if (GetServiceDiscoverInfo(buf, size, deviceInfo, remoteUrl) != NSTACKX_EOK) { in HndPostServiceDiscoverInner()
258 deviceInfo->discoveryType = (*remoteUrl != NULL) ? NSTACKX_DISCOVERY_TYPE_PASSIVE : NSTACKX_DISCOVERY_TYPE_ACTIVE; in HndPostServiceDiscoverInner()
273 static void CoapResponseServiceDiscovery(const char *remoteUrl, const coap_context_t *currCtx, in CoapResponseServiceDiscovery() argument
276 if (remoteUrl ! in CoapResponseServiceDiscovery()
296 char *remoteUrl = NULL; HndPostServiceDiscoverEx() local
1299 char remoteUrl[NSTACKX_MAX_URI_BUFFER_LENGTH] = {0}; global() local
[all...]
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/coap_discover/
H A Dcoap_discover.h56 const char *remoteUrl; member
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Djson_payload.c473 char *remoteUrl = NULL; in ParseServiceDiscoverEx() local
509 remoteUrl = strdup(item->valuestring); in ParseServiceDiscoverEx()
510 if (remoteUrl == NULL) { in ParseServiceDiscoverEx()
511 DFINDER_LOGE(TAG, "remoteUrl strdup fail"); in ParseServiceDiscoverEx()
520 *remoteUrlPtr = remoteUrl; in ParseServiceDiscoverEx()

Completed in 7 milliseconds