From 2d220fdcf7b309aefba31c4514dd3da981acbde1 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 3 Feb 2016 13:42:37 +0200 Subject: [PATCH] drivers/nble: Increase buffer size to 384 bytes This is the MTU supported by the firmware and is necessary in order to register bigger services such as vendor specific in the peripheral sample. Change-Id: I24b2f9e983d8e2da22d41a40f538f0daf7d526d0 Signed-off-by: Luiz Augusto von Dentz --- drivers/nble/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nble/uart.c b/drivers/nble/uart.c index 4346e277682..b90304cdc76 100644 --- a/drivers/nble/uart.c +++ b/drivers/nble/uart.c @@ -33,7 +33,7 @@ /* TODO: check size */ #define NBLE_IPC_COUNT 2 -#define NBLE_BUF_SIZE 100 +#define NBLE_BUF_SIZE 384 static struct nano_fifo rx; static NET_BUF_POOL(rx_pool, NBLE_IPC_COUNT, NBLE_BUF_SIZE, &rx, NULL, 0);