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 D | coap_discover.c | 63 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, ¶m); 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 D | coap_app.c | 45 const char *remoteUrl; member
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/ |
H A D | coap_discover.c | 122 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 D | json_payload.c | 500 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 D | coap_discover.h | 56 const char *remoteUrl; member
|