Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/mini_discover/
H A Dcoap_discover.c63 if (GetServiceDiscoverInfo(buf, size, deviceInfo, remoteUrl) != NSTACKX_EOK) { in HndPostServiceDiscoverInner()
94 if (remoteUrl != NULL) { in GetBuildCoapParam()
108 if ((remoteUrl == NULL) || (remoteIp == NULL)) { in CreateUnicastCoapParam()
125 GetBuildCoapParam(pkt, remoteUrl, wifiIpAddr, &param); in CoapResponseServiceDiscovery()
126 if (remoteUrl != NULL) { in CoapResponseServiceDiscovery()
148 char *remoteUrl = NULL; in HndPostServiceDiscoverEx() local
169 uint8_t receiveBcast = (remoteUrl == NULL) ? NSTACKX_FALSE : NSTACKX_TRUE; in HndPostServiceDiscoverEx()
187 free(remoteUrl); in HndPostServiceDiscoverEx()
551 char remoteUrl[NSTACKX_MAX_URI_BUFFER_LENGTH] = {0}; in SendDiscoveryRspEx() local
558 if (sprintf_s(remoteUrl, sizeof(remoteUrl), "coap://%s/" COAP_DEVICE_DISCOVER_URI, host) < 0) { in SendDiscoveryRspEx()
[all …]
H A Dcoap_app.c45 const char *remoteUrl; member
/ohos5.0/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()
252 if (GetServiceDiscoverInfo(buf, size, deviceInfo, remoteUrl) != NSTACKX_EOK) { in HndPostServiceDiscoverInner()
276 if (remoteUrl != NULL) { in CoapResponseServiceDiscovery()
280 (void)CoapResponseService(ctx, remoteUrl, businessType); in CoapResponseServiceDiscovery()
296 char *remoteUrl = NULL; in HndPostServiceDiscoverEx() local
323 uint8_t receiveBcast = (remoteUrl == NULL) ? NSTACKX_FALSE : NSTACKX_TRUE; in HndPostServiceDiscoverEx()
338 free(remoteUrl); in HndPostServiceDiscoverEx()
1300 char remoteUrl[NSTACKX_MAX_URI_BUFFER_LENGTH] = {0}; local
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Djson_payload.c500 char *remoteUrl = NULL; in ParseServiceDiscoverEx() local
536 remoteUrl = strdup(item->valuestring); in ParseServiceDiscoverEx()
537 if (remoteUrl == NULL) { in ParseServiceDiscoverEx()
547 *remoteUrlPtr = remoteUrl; in ParseServiceDiscoverEx()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/coap_discover/
H A Dcoap_discover.h56 const char *remoteUrl; member