summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-01-01 16:35:58 +0100
committerSven Gothel <[email protected]>2022-01-01 16:35:58 +0100
commit285123765cf9b5cf9a490366ff8351d95e80474d (patch)
tree74f422d60bfa9871eac75d6e5948f2bc6d6378e6 /api
parentb9d92b36faa57cb56d3ed16350964953c92159c5 (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.hpp4
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: