From 68a41845f638d1d285c5117184fb87ac0d09f9a5 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 21 Nov 2022 15:30:20 +0100 Subject: [PATCH] nimble/ll: Require 257 bytes HCI events when enabling fake dual-mode Some BR/EDR commands eg. Read Local Name command have fixed (max allowed HCI event size) return values. If event size is smaller it results in assert. --- nimble/controller/syscfg.hbd.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nimble/controller/syscfg.hbd.yml b/nimble/controller/syscfg.hbd.yml index d5a05e144..ee5a86e94 100644 --- a/nimble/controller/syscfg.hbd.yml +++ b/nimble/controller/syscfg.hbd.yml @@ -23,3 +23,5 @@ syscfg.defs: device. It can be initialized and used by Windows 10 to some extent. value: 0 + restrictions: + - '(BLE_TRANSPORT_EVT_SIZE == 257) if 1'