diff options
author | Sven Gothel <[email protected]> | 2020-05-10 06:17:20 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-05-10 06:17:20 +0200 |
commit | b784da70133b4b5859bb8b6f86ab48a48a6d87af (patch) | |
tree | 28f1baa5caf8e4ce1c3fb9b3592b33398e1e7c08 /api/direct_bt/GATTHandler.hpp | |
parent | 0f53fde528dea4470d152d30f33f357dde1b2e10 (diff) |
Converging Java/JNI and C++ API to match tinyb interface requirements (step-2)
- BasicTypes: Align exception names w/ Java.
- BTTypes / EInfoReport: Add getDeviceIDModalias()
- DBTManager: Add getConnectionInfo(..) and setLocalName(..)
- OctetTypes: Fix put_octets(..), removed sizeof(). Adding put/get string methods
+++
DBTTypes:
- Fix Comments
- DBTDevice: Add appearance, getConnectionInfo(), connectGATT(..) and disconnectGATT().
Last two GATT's ease association of GATTHandler w/ device for tinyb binding.
- DBTDevice: Fix defaultConnect(): Differenciate le public/random
- DBTDevice: New getConnectionInfo() - also may issue deviceUpdate callback on rssi/tx_power changes
- DBTAdapter: Add missing DBTAdapterStatusListener list declaration of previous commit.
- DBTAdapter: Add misc information access for tinyb binding.
+++
Java
- DBTAdapter: Adding more tinyb implementation code, sorting methods - ~90% complete
- DBTDevice: Adding more tinyb implementation code, sorting methods - ~70% complete
Diffstat (limited to 'api/direct_bt/GATTHandler.hpp')
-rw-r--r-- | api/direct_bt/GATTHandler.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/direct_bt/GATTHandler.hpp b/api/direct_bt/GATTHandler.hpp index 198846c3..ce694eb3 100644 --- a/api/direct_bt/GATTHandler.hpp +++ b/api/direct_bt/GATTHandler.hpp @@ -38,7 +38,6 @@ #include "UUID.hpp" #include "BTTypes.hpp" -#include "DBTTypes.hpp" #include "L2CAPComm.hpp" #include "ATTPDUTypes.hpp" #include "GATTTypes.hpp" @@ -53,6 +52,8 @@ namespace direct_bt { + class DBTDevice; // forward + typedef std::shared_ptr<GATTCharacterisicsDecl> GATTCharacterisicsDeclRef; class GATTNotificationListener { |