From d94dbf6647043b53c6a49a7b371fe8606fb3ffd5 Mon Sep 17 00:00:00 2001 From: Jacques Gagnon Date: Wed, 14 Dec 2022 20:13:40 -0500 Subject: [PATCH] [ATT_CFG] Return something on CMD read if prior setup is missing --- main/bluetooth/att_cfg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main/bluetooth/att_cfg.c b/main/bluetooth/att_cfg.c index 6568ca5b..1b64022d 100644 --- a/main/bluetooth/att_cfg.c +++ b/main/bluetooth/att_cfg.c @@ -401,6 +401,7 @@ static void bt_att_cfg_cmd_rd_hdlr(uint16_t handle) { break; default: printf("# Invalid read cfg cmd: %02X\n", cfg_cmd); + bt_att_cfg_cmd_abi_ver_rsp(handle); break; } }