From b5a347a3f95059fe0b2fa7ebe0054edbff90d37e Mon Sep 17 00:00:00 2001 From: Simon Lin Date: Fri, 22 Apr 2022 00:28:58 +0800 Subject: [PATCH] [simulation] use 128 max children for simulation (#7620) --- .../simulation/openthread-core-simulation-config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/examples/platforms/simulation/openthread-core-simulation-config.h b/examples/platforms/simulation/openthread-core-simulation-config.h index 665713101..879f069bf 100644 --- a/examples/platforms/simulation/openthread-core-simulation-config.h +++ b/examples/platforms/simulation/openthread-core-simulation-config.h @@ -199,6 +199,16 @@ #define OPENTHREAD_CONFIG_CLI_UART_RX_BUFFER_SIZE 640 #endif +/** + * @def OPENTHREAD_CONFIG_MLE_MAX_CHILDREN + * + * The maximum number of children. + * + */ +#ifndef OPENTHREAD_CONFIG_MLE_MAX_CHILDREN +#define OPENTHREAD_CONFIG_MLE_MAX_CHILDREN 128 +#endif + /** * @def OPENTHREAD_CONFIG_MLE_INFORM_PREVIOUS_PARENT_ON_REATTACH *