Searched refs:intervalLen (Results 1 - 4 of 4) sorted by relevance
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/coap_discover/ |
H A D | coap_discover.h | 95 int32_t LocalizeNotificationInterval(const uint16_t *intervals, const uint8_t intervalLen);
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | nstackx_common.c | 1848 if (config->intervalLen == 0 || config->intervalLen > NSTACKX_MAX_ADVERTISE_COUNT) { in CheckNotificationConfig() 1850 config->intervalLen, NSTACKX_MAX_ADVERTISE_COUNT); in CheckNotificationConfig() 1862 for (size_t i = 1; i < config->intervalLen; ++i) { in CheckNotificationConfig() 1881 for (size_t i = 0; i < src->intervalLen; ++i) { in CopyNotificationConfig() 1884 dst->intervalLen = src->intervalLen; in CopyNotificationConfig() 1892 int32_t retInterval = LocalizeNotificationInterval(config->intervalsMs, config->intervalLen); in NotificationInner() 1925 dupConfig->intervalsMs = (uint16_t *)calloc(config->intervalLen, sizeof(uint16_t)); in NSTACKX_SendNotification() 1927 DFINDER_LOGE(TAG, "calloc for intervals fail, size wanted: %zu", sizeof(uint16_t) * (config->intervalLen)); in NSTACKX_SendNotification() [all...] |
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/ |
H A D | coap_discover.c | 1333 int32_t LocalizeNotificationInterval(const uint16_t *intervals, const uint8_t intervalLen) argument 1335 uint16_t *tmp = (uint16_t *)calloc(intervalLen, sizeof(uint16_t)); 1341 for (size_t i = 0; i < intervalLen; ++i) { 1344 g_notificationTargetCnt = intervalLen; 1347 DFINDER_LOGW(TAG, "calloc for notification intervals fail, interval len %hhu", intervalLen);
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/interface/ |
H A D | nstackx.h | 207 uint8_t intervalLen; /* configured number of intervals */ member
|
Completed in 7 milliseconds