You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ko...@apache.org on 2023/08/24 08:27:12 UTC

[mynewt-nimble] 12/16: host/ble_att.c: add missing OP code in ble_att_is_request_op

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

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

commit 74a157a6194610576ef44dfa8bf473bb1a8be2b5
Author: Krzysztof Kopyściński <kr...@codecoup.pl>
AuthorDate: Wed Aug 16 08:39:23 2023 +0200

    host/ble_att.c: add missing OP code in ble_att_is_request_op
    
    Assert was hit when BLE_ATT_OP_NOTIFY_MULTI_REQ was received.
---
 nimble/host/src/ble_att.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nimble/host/src/ble_att.c b/nimble/host/src/ble_att.c
index a65bc939..3c5eaf75 100644
--- a/nimble/host/src/ble_att.c
+++ b/nimble/host/src/ble_att.c
@@ -649,6 +649,7 @@ ble_att_is_request_op(uint8_t opcode)
     case BLE_ATT_OP_EXEC_WRITE_REQ:
     case BLE_ATT_OP_INDICATE_REQ:
     case BLE_ATT_OP_READ_MULT_VAR_REQ:
+    case BLE_ATT_OP_NOTIFY_MULTI_REQ:
         return true;
     }
     return false;