net: openthread: cli: Align config of OT and Zephyr shell max cmd size
This PR enables the user to configure the maximum command length for OpenThread's CLI using Zephyr's shell, which is currently fixed to 256 characteres. This limitation was not enough for certain allowed OpenThread commands, like some variants of 'ot dataset mgmtsetcommand'. Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
This commit is contained in:
parent
fc1d0635df
commit
75a69b940e
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "platform-zephyr.h"
|
||||
|
||||
#define OT_SHELL_BUFFER_SIZE 256
|
||||
#define OT_SHELL_BUFFER_SIZE CONFIG_SHELL_CMD_BUFF_SIZE
|
||||
|
||||
static char rx_buffer[OT_SHELL_BUFFER_SIZE];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue