Home
last modified time | relevance | path

Searched refs:nstackxDeviceInfo (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/dsoftbus/tests/core/discovery/dfinder/
H A Dnstackx_test.c53 const NSTACKX_DeviceInfo *nstackxDeviceInfo = deviceList + i; in OnDeviceFound() local
54 if (nstackxDeviceInfo == NULL) { in OnDeviceFound()
57 if (((nstackxDeviceInfo->update) & 0x1) == 0) { in OnDeviceFound()
61 printf("deviceId = %s.\n", nstackxDeviceInfo->deviceId); in OnDeviceFound()
62 printf("deviceName = %s.\n", nstackxDeviceInfo->deviceName); in OnDeviceFound()
63 printf("capabilityBitmapNum = %d.\n", nstackxDeviceInfo->capabilityBitmapNum); in OnDeviceFound()
64 for (uint32_t j = 0; j < nstackxDeviceInfo->capabilityBitmapNum; j++) { in OnDeviceFound()
65 printf("capabilityBitmap = %d.\n", nstackxDeviceInfo->capabilityBitmap[j]); in OnDeviceFound()
67 printf("deviceType = %d.\n", nstackxDeviceInfo->deviceType); in OnDeviceFound()
68 printf("reservedInfo = %s.\n", nstackxDeviceInfo in OnDeviceFound()
[all...]
/foundation/communication/dsoftbus/core/discovery/coap/nstackx_coap/src/
H A Ddisc_nstackx_adapter.c161 const NSTACKX_DeviceInfo *nstackxDeviceInfo = deviceList + i; in OnDeviceFound() local
162 if (nstackxDeviceInfo == NULL) { in OnDeviceFound()
168 if ((nstackxDeviceInfo->update & 0x1) == 0) { in OnDeviceFound()
170 Anonymize(nstackxDeviceInfo->deviceName, &anonymizedName); in OnDeviceFound()
177 ret = ParseDiscDevInfo(nstackxDeviceInfo, discDeviceInfo); in OnDeviceFound()
182 ret = DiscCoapProcessDeviceInfo(nstackxDeviceInfo, discDeviceInfo, g_discCoapInnerCb); in OnDeviceFound()

Completed in 2 milliseconds