summaryrefslogtreecommitdiffstats
path: root/api/direct_bt/BTGattHandler.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-11-13 05:00:34 +0100
committerSven Gothel <[email protected]>2021-11-13 05:00:34 +0100
commit414c81b7214d895aba694ff444feca9cdc491bc5 (patch)
tree42d2a7731ccba09b2c7300d575d26738c7a8b459 /api/direct_bt/BTGattHandler.hpp
parent1688dd7b10c705f691da1f14dd88e0f800aead1b (diff)
DBGatt[Desc|Char|Service]: Use shared_ptr references to support Java binding and hence derive from JavaUplink
Diffstat (limited to 'api/direct_bt/BTGattHandler.hpp')
-rw-r--r--api/direct_bt/BTGattHandler.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/direct_bt/BTGattHandler.hpp b/api/direct_bt/BTGattHandler.hpp
index 0eec414f..e28f1361 100644
--- a/api/direct_bt/BTGattHandler.hpp
+++ b/api/direct_bt/BTGattHandler.hpp
@@ -217,7 +217,7 @@ namespace direct_bt {
bool validateConnected() noexcept;
bool hasServerHandle(const uint16_t handle) noexcept;
- DBGattChar* findServerGattCharByValueHandle(const uint16_t char_value_handle) noexcept;
+ DBGattCharRef findServerGattCharByValueHandle(const uint16_t char_value_handle) noexcept;
AttErrorRsp::ErrorCode applyWrite(BTDeviceRef device, const uint16_t handle, const jau::TROOctets & value, const uint16_t value_offset);
void replyWriteReq(const AttPDUMsg * pdu);