You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ut...@apache.org on 2021/04/28 12:09:40 UTC

[mynewt-mcumgr] branch master updated: samples: smp_svr: zephyr: Update MTU Kconfig values

This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git


The following commit(s) were added to refs/heads/master by this push:
     new 757965c  samples: smp_svr: zephyr: Update MTU Kconfig values
     new 798f7fe  Merge pull request #121 from XavierChapron/xch/update-zephyr-sample
757965c is described below

commit 757965cba413796805400aa076a01289155b543c
Author: Xavier Chapron <xa...@stimio.fr>
AuthorDate: Wed Apr 28 13:47:54 2021 +0200

    samples: smp_svr: zephyr: Update MTU Kconfig values
    
    The usage of theses kconfig have changed in
    zephyrproject-rtos/zephyr#26447
    
    Hence their values should be updated.
    
    Signed-off-by: Xavier Chapron <xa...@stimio.fr>
---
 samples/smp_svr/zephyr/prj.conf      | 3 ++-
 samples/smp_svr/zephyr/prj_tiny.conf | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/samples/smp_svr/zephyr/prj.conf b/samples/smp_svr/zephyr/prj.conf
index fe7fdcd..ce0551b 100644
--- a/samples/smp_svr/zephyr/prj.conf
+++ b/samples/smp_svr/zephyr/prj.conf
@@ -8,7 +8,8 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
 CONFIG_BOOTLOADER_MCUBOOT=y
 
 # Allow for large Bluetooth data packets.
-CONFIG_BT_L2CAP_TX_MTU=260
+CONFIG_BT_L2CAP_TX_MTU=252
+CONFIG_BT_L2CAP_RX_MTU=252
 CONFIG_BT_RX_BUF_LEN=260
 
 # Enable the Bluetooth (unauthenticated) and shell mcumgr transports.
diff --git a/samples/smp_svr/zephyr/prj_tiny.conf b/samples/smp_svr/zephyr/prj_tiny.conf
index 9f526ba..c53800d 100644
--- a/samples/smp_svr/zephyr/prj_tiny.conf
+++ b/samples/smp_svr/zephyr/prj_tiny.conf
@@ -12,7 +12,8 @@ CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
 CONFIG_BOOTLOADER_MCUBOOT=y
 
 # Allow for large Bluetooth data packets.
-CONFIG_BT_L2CAP_TX_MTU=260
+CONFIG_BT_L2CAP_TX_MTU=252
+CONFIG_BT_L2CAP_RX_MTU=252
 CONFIG_BT_RX_BUF_LEN=260
 
 # Enable the Bluetooth (unauthenticated) and UART mcumgr transports.