Searched refs:NSTACKX_MAX_SERVICE_DATA_LEN (Results 1 - 8 of 8) sorted by relevance
/foundation/communication/dsoftbus/tests/core/discovery/dfinder/ |
H A D | nstackx_test.c | 214 (void)memset_s(g_capData, NSTACKX_MAX_SERVICE_DATA_LEN, 0, NSTACKX_MAX_SERVICE_DATA_LEN); in TestRegisterServiceData() 215 int32_t ret = sprintf_s(g_capData, NSTACKX_MAX_SERVICE_DATA_LEN, "port:%d,", authPort); in TestRegisterServiceData() 227 g_capData = (char *)malloc(NSTACKX_MAX_SERVICE_DATA_LEN); in TestInit() 232 (void)memset_s(g_capData, NSTACKX_MAX_SERVICE_DATA_LEN, 0, NSTACKX_MAX_SERVICE_DATA_LEN); in TestInit()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/ |
H A D | nstackx_device.h | 133 char serviceData[NSTACKX_MAX_SERVICE_DATA_LEN];
|
/foundation/communication/dsoftbus/core/discovery/coap/nstackx_coap/src/ |
H A D | disc_nstackx_adapter.c | 248 char serviceData[NSTACKX_MAX_SERVICE_DATA_LEN] = {0};
in DiscCoapRegisterServiceData() 249 if (sprintf_s(serviceData, NSTACKX_MAX_SERVICE_DATA_LEN, "port:%d,", authPort) == -1) {
in DiscCoapRegisterServiceData() 254 ret = DiscCoapFillServiceData(option, serviceData, NSTACKX_MAX_SERVICE_DATA_LEN, allCap);
in DiscCoapRegisterServiceData()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/interface/ |
H A D | nstackx.h | 35 #define NSTACKX_MAX_SERVICE_DATA_LEN 64 macro
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | nstackx_device.c | 185 if (strlen(deviceInfo->serviceData) != 0 && strlen(deviceInfo->serviceData) < NSTACKX_MAX_SERVICE_DATA_LEN) { in SetServiceDataFromDeviceInfo()
|
H A D | nstackx_common.c | 1242 if (strlen(serviceData) >= NSTACKX_MAX_SERVICE_DATA_LEN) { in NSTACKX_RegisterServiceData() 1247 serviceDataTmp = calloc(1U, NSTACKX_MAX_SERVICE_DATA_LEN); in NSTACKX_RegisterServiceData() 1251 if (strncpy_s(serviceDataTmp, NSTACKX_MAX_SERVICE_DATA_LEN, serviceData, strlen(serviceData)) != EOK) { in NSTACKX_RegisterServiceData()
|
H A D | nstackx_device_local.c | 518 if (strcpy_s(g_localDevice.deviceInfo.serviceData, NSTACKX_MAX_SERVICE_DATA_LEN, serviceData) != EOK) { in SetLocalDeviceServiceData()
|
H A D | nstackx_device_remote.c | 377 if (strcpy_s(curInfo->serviceData, NSTACKX_MAX_SERVICE_DATA_LEN, newInfo->serviceData) != EOK) { in UpdateDeviceInfo()
|
Completed in 14 milliseconds