Searched refs:reservedInfo (Results 1 - 5 of 5) sorted by relevance
/foundation/communication/dsoftbus/tests/core/discovery/coap/unittest/ |
H A D | disc_nstackx_adapter_test.cpp | 71 .reservedInfo = "reserved" }; 392 ret = strcpy_s(testDeviceList.reservedInfo, sizeof(testDeviceList.reservedInfo), "{\"version\":\"1.0.0\"}"); in HWTEST_F() 414 * @tc.desc: Test DiscParseReservedInfo should return SOFTBUS_OK when given Json NSTACKX_DeviceInfo.reservedInfo, 415 * should return SOFTBUS_PARSE_JSON_ERR when given non-Json format NSTACKX_DeviceInfo.reservedInfo 426 ret = strcpy_s(testNstackxDevice.reservedInfo, sizeof(testNstackxDevice.reservedInfo), "{\"version\":\"1.0.0\"}"); in HWTEST_F() 431 ret = strcpy_s(testNstackxDevice.reservedInfo, sizeof(testNstackxDevice.reservedInfo), "test"); in HWTEST_F() 450 ret = strcpy_s(testNstackxDevice.reservedInfo, sizeo in HWTEST_F() [all...] |
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | nstackx_device.c | 227 if (sprintf_s(deviceList->reservedInfo, sizeof(deviceList->reservedInfo), in SetReservedInfoFromDeviceInfo() 229 DFINDER_LOGE(TAG, "sprintf_s reservedInfo with wifiIpAddr fails"); in SetReservedInfoFromDeviceInfo() 232 cJSON *item = cJSON_Parse(deviceList->reservedInfo); in SetReservedInfoFromDeviceInfo() 251 (void)memset_s(deviceList->reservedInfo, sizeof(deviceList->reservedInfo), in SetReservedInfoFromDeviceInfo() 252 0, sizeof(deviceList->reservedInfo)); in SetReservedInfoFromDeviceInfo() 253 if (strcpy_s(deviceList->reservedInfo, sizeof(deviceList->reservedInfo), newData) != EOK) { in SetReservedInfoFromDeviceInfo()
|
/foundation/communication/dsoftbus/tests/core/discovery/dfinder/ |
H A D | nstackx_test.c | 68 printf("reservedInfo = %s.\n", nstackxDeviceInfo->reservedInfo); in OnDeviceFound()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/interface/ |
H A D | nstackx.h | 99 char reservedInfo[NSTACKX_MAX_RESERVED_INFO_LEN]; member
|
/foundation/communication/dsoftbus/core/discovery/coap/nstackx_coap/src/ |
H A D | disc_nstackx_adapter.c | 104 cJSON *reserveInfo = cJSON_Parse(nstackxDevice->reservedInfo);
in ParseReservedInfo()
|
Completed in 5 milliseconds