diff options
author | Sven Gothel <[email protected]> | 2022-01-01 16:35:58 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-01-01 16:35:58 +0100 |
commit | 285123765cf9b5cf9a490366ff8351d95e80474d (patch) | |
tree | 74f422d60bfa9871eac75d6e5948f2bc6d6378e6 /api | |
parent | b9d92b36faa57cb56d3ed16350964953c92159c5 (diff) |
Fix BTGattHandler::sendIndication(..): AttPDUMsg::get_type(): HANDLE_VALUE_CFM -> RESPONSE (offloaded to attPDURing)
Diffstat (limited to 'api')
-rw-r--r-- | api/direct_bt/ATTPDUTypes.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/direct_bt/ATTPDUTypes.hpp b/api/direct_bt/ATTPDUTypes.hpp index 758010a4..ed4a6211 100644 --- a/api/direct_bt/ATTPDUTypes.hpp +++ b/api/direct_bt/ATTPDUTypes.hpp @@ -415,6 +415,8 @@ namespace direct_bt { case Opcode::EXECUTE_WRITE_RSP: [[fallthrough]]; case Opcode::READ_MULTIPLE_VARIABLE_RSP: + [[fallthrough]]; + case Opcode::HANDLE_VALUE_CFM: // A response from master/gatt-client to slave/gatt-server return OpcodeType::RESPONSE; case Opcode::EXCHANGE_MTU_REQ: @@ -444,8 +446,6 @@ namespace direct_bt { case Opcode::READ_MULTIPLE_VARIABLE_REQ: [[fallthrough]]; case Opcode::SIGNED_WRITE_CMD: - [[fallthrough]]; - case Opcode::HANDLE_VALUE_CFM: // A response from master/gatt-client to slave/gatt-server return OpcodeType::REQUEST; default: |