Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/coap/unittest/
H A Ddisc_nstackx_adapter_test.cpp79 .reservedInfo = "reserved"
420 …ret = strcpy_s(testDeviceList.reservedInfo, sizeof(testDeviceList.reservedInfo), "{\"version\":\"1…
454 …ret = strcpy_s(testNstackxDevice.reservedInfo, sizeof(testNstackxDevice.reservedInfo), "{\"version…
459 ret = strcpy_s(testNstackxDevice.reservedInfo, sizeof(testNstackxDevice.reservedInfo), "test");
478 …ret = strcpy_s(testNstackxDevice.reservedInfo, sizeof(testNstackxDevice.reservedInfo), "{\"version…
528 .reservedInfo = "{\"version\":\"1.0.0\"}",
537 … ret = strcpy_s(testNstackxDevInfo.reservedInfo, sizeof(testNstackxDevInfo.reservedInfo), "test");
558 .reservedInfo = "{\"version\":\"1.0.0\"}",
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_device.c227 if (sprintf_s(deviceList->reservedInfo, sizeof(deviceList->reservedInfo), in SetReservedInfoFromDeviceInfo()
232 cJSON *item = cJSON_Parse(deviceList->reservedInfo); in SetReservedInfoFromDeviceInfo()
255 (void)memset_s(deviceList->reservedInfo, sizeof(deviceList->reservedInfo), in SetReservedInfoFromDeviceInfo()
256 0, sizeof(deviceList->reservedInfo)); in SetReservedInfoFromDeviceInfo()
257 if (strcpy_s(deviceList->reservedInfo, sizeof(deviceList->reservedInfo), newData) != EOK) { in SetReservedInfoFromDeviceInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/dfinder/
H A Dnstackx_test.c68 printf("reservedInfo = %s.\n", nstackxDeviceInfo->reservedInfo); in OnDeviceFound()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/interface/
H A Dnstackx.h101 char reservedInfo[NSTACKX_MAX_RESERVED_INFO_LEN]; member
/ohos5.0/foundation/communication/dsoftbus/core/discovery/coap/nstackx_coap/src/
H A Ddisc_nstackx_adapter.c107 cJSON *reserveInfo = cJSON_Parse(nstackxDevice->reservedInfo); in ParseReservedInfo()