aboutsummaryrefslogtreecommitdiffstats
path: root/.cproject
Commit message (Collapse)AuthorAgeFilesLines
* Eclipse: Update ...Sven Gothel2021-09-151-0/+1
|
* Eclipse updatev2.3.1Sven Gothel2021-09-011-4/+0
|
* Eclipse: Add jaulib/java/jni in source pathv2.2.8Sven Gothel2021-08-031-0/+1
|
* Eclipse .cproject (Add other examples for refactoring/indexing), project not ↵Sven Gothel2021-07-281-0/+2
| | | | producing a working binary anyways
* eclipse cdt changesSven Gothel2021-06-111-2/+4
|
* Eclipse cdt setting: Added '-Wno-float-equal' for check2Sven Gothel2021-02-091-2/+2
|
* Eclipse: Add '-Wno-multichar' for jaulib's "enum class endian" on gcc (not ↵Sven Gothel2021-02-081-0/+2
| | | | having __builtin_bit_cast())
* eclipse: adjust path ..Sven Gothel2021-01-251-4/+6
|
* eclipse: update settingsSven Gothel2021-01-051-3/+158
|
* Move jaucpp -> jaulib; Full integration of jaulib's unit tests (TODO: Use ↵Sven Gothel2020-12-211-13/+9
| | | | | | | Catch2 for own unit tests) Also: cmake: Add "null-dereference" to NO_ERROR, as it causes trouble with jau::get_uint8(..) with "-O3" See jaulib commit db34007f905dab9feeba16e95c16d84bfb0ff11a
* Eclipse .cprojectSven Gothel2020-10-201-11/+36
|
* .cproject: C++17 and C11Sven Gothel2020-10-201-2/+2
|
* Eclipse: .cproject: Werror setting, add jaucpp/includeSven Gothel2020-10-181-2/+3
|
* Eclipse CDT: Update Setting w/ full warnings etcSven Gothel2020-10-171-34/+24
|
* Extract common C++ Support Library inclusive Java JNI Binding to sub-project ↵Sven Gothel2020-10-161-3/+47
| | | | jaucpp, namespace jau
* Eclipse: Update project settings, use g++ 10 include header pathSven Gothel2020-10-031-394/+197
|
* Eclipse Settings: Use C++17 (C++20 not yet supported on all target ↵Sven Gothel2020-09-121-3/+7
| | | | platforms, i.e. Debian 10 Buster with GCC 8.3)
* Eclipse project: build-x86_64 -> build-amd64Sven Gothel2020-06-181-3/+3
|
* Eclipse: Use direct_bt_scanner10 for debugging binary blobSven Gothel2020-05-291-1/+1
|
* Working GATT Java Side; GATT Types made fully functional for user to avoid ↵Sven Gothel2020-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'technical' GATTHandler GATT Types made fully functional for user to avoid 'technical' GATTHandler (C++) > GATTService, GATTCharacteristic, GATTDescriptor -- Reside in their own respective files -- Added semantic methods (readValue(), ..) implemented using DBTDevice -> GATTHandler -- GATTDescriptor owns its value -- GATTHandler setSendIndicationConfirmation(..) defaults to true -- Allow user to cirvumvent using GATTHandler manually completely, device 1--*> services 1--*> characteristics 1--*> descriptor -- C++ GATT types aligned 1:1 to TinyB (Java) > Merged GATTIndicationListener + GATTNotificationListener -> GATTCharacteristicListener -- Simplifying usage, unifying notification and indication -- Now using a list of shared_ptr<GATTCharacteristicListener> allowing multiple actors instead of just a one shot entry. Similar to AdapterStatusListener, we utilize this also on the Java side to implement the TinyB notifications. See dbt_scanner00.cpp: Simplified high-level usage. See dbt_scanner01.cpp: Lower-level technical usage w/ GATTHandler. +++ > Simplified more names > Removed redundancy in listener callbacks, -- don't pass adapter when device is already given. device <*--1> adapter -- don't pass GATT handle explicitly when characteristic is passed > Comparison of all GATT types are done by their respective unique handle Attribute handles are unique for each device (server) (BT Core Spec v5.2: Vol 3, Part F Protocol..: 3.2.2 Attribute Handle) > GATTHandler: Own L2CAPComm instance directly, instead of shared_ptr. > JNIMem: Added JNICriticalArray class for RAII style release ++++ ++++ Working GATT Java Side > All toString() methods return the C++ toString() via JNI for better representation. > DBTDevice.java/JNI: Resolved the odd 'adapter' reference issue: -- Was not passing the jobject of DBTAdapter, but its shared container refeference ;-) > All GATT types receive their GATT handler for equal test and identity @ ctor > GATT read/write Value update the cached value as well as issue the notifyValue on change, including GATTCharacteristic notification/indication listener
* Eclipse settingsSven Gothel2020-05-041-32/+30
|
* Eclipse settingsSven Gothel2020-04-211-1/+9
|
* Initial working Java binding for the direct_bt C++ moduleSven Gothel2020-04-201-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example ScannerTinyB01 demonstrates efficient scanning devices using the new BluetoothDeviceDiscoveryListener interface. The C++ HCIObject extends JavaUplink, which handles the java object references via 'std::shared_ptr<JavaAnonObj>', where JavaAnonObj relies on later polymorph specialization. JavaAnonObj gets derived in the java/jni of direct_bt, where the JNI header + libraries are available. +++ The java inplementing NativeDownlink implementations store the nativeInstance to the C++ instances as well as handle their java references within the native instances. The C++ JavaUplink and Java NativeDownlink interfaces are complete the cross referencing java <-> native. +++ Native libraries are now split into pairs: - tinyb + javatinyb - direct_bt + javadirect_bt TODO: BluetoothFactory must chose the proper bundle! +++ The Java Adapter received a BluetoothDeviceDiscoveryListener hook, matching C++ Adapter's HCIDeviceDiscoveryListener. Since the Java Adapter implements its own discovery thread, using the BluetoothDeviceDiscoveryListener is more efficient then polling over a list of Devices fetched. ++++ TODO: Align Java and C++ class names, foremost in the C++ direct_bt space. TODO: Bind the whole C++ GATT functionality More testing.
* Eclipse: Enable -Wextra -WallSven Gothel2020-04-111-0/+4
|
* Eclipse: Rename project tinyb -> direct_btSven Gothel2020-04-111-26/+26
|
* Eclipse settingsdirect_bt-tinyb_2-syncSven Gothel2020-04-091-0/+380