summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump 2.1.30v2.1.30Sven Gothel2020-10-191-1/+5
|
* DBTAdapter: ERR -> WARN: startDiscovery + startDiscoveryBackground on ↵Sven Gothel2020-10-191-2/+5
| | | | Adapter not enabled/powered
* Bump jaucpp 3e5a9c125d34b1e40ade99757b9b48c015cf9939Sven Gothel2020-10-191-0/+0
|
* run-dbt-scanner10: Use export for VALGRIND invocation macroSven Gothel2020-10-191-4/+4
|
* Update valgrind.supp fileSven Gothel2020-10-191-71/+115
|
* Bump jaucpp v0.2.2 c43b6689bd0d98cc18d7c0410af2546f529e0099Sven Gothel2020-10-191-0/+0
|
* DBTObject::toString(): Add missing overrideSven Gothel2020-10-191-1/+1
|
* DBTManager: Use read lock-free cow_vector for mgmtEventCallbackLists, ↵Sven Gothel2020-10-193-39/+23
| | | | avoiding locks in callback iteration
* HCIHandler: Use read lock-free cow_vector for mgmtEventCallbackLists, ↵Sven Gothel2020-10-193-36/+19
| | | | avoiding locks in callback iteration
* GATTHandler: Use read lock-free cow_vector for characteristicListenerList, ↵Sven Gothel2020-10-192-30/+38
| | | | | | avoiding locks in callback iteration Also use relaxed_atomic_bool for sendIndicationConfirmation.
* DBTDevice: Have shared GattGenericAccessSvc owned by GATTHandler, similar to ↵Sven Gothel2020-10-194-4/+19
| | | | services.
* DBTDevice::dtor: Don't recurse back into remove() -> adapter removeDevice(), ↵Sven Gothel2020-10-194-12/+25
| | | | | | | | that is how it potentially has been deleted! This fix also gives us the opportunity back to use a simple mutex for mtx_sharedDevices. Also add dedicated close() for better leak testing.
* DBTAdapter::removeStatusListener(const AdapterStatusListener * l): Use ↵Sven Gothel2020-10-181-2/+2
| | | | | | copy_store() on custom mutable operation Also std::move(snapshot) back to cow_vector, as set_store is now a move operation.
* DBTDevice/DBTAdapter: Move WORDY_PRINT to adapter::removeDevice(..)Sven Gothel2020-10-182-2/+2
|
* direct_bt/JNI: Adopt to JavaUplink changesSven Gothel2020-10-182-4/+3
|
* Bump jaucpp 0.2.1 5fac18ef7a04fe69f1bb3c0b75b25f540c7f7c9cSven Gothel2020-10-181-0/+0
|
* DBTAdapter fix regression: mtx_sharedDevices needs to be recursive due to ↵Sven Gothel2020-10-182-7/+7
| | | | device remove -> ~device -> remove from Java
* Bump jaucpp tag 0.2.0, commit 4f701e24f714f69f075a78f8623119207ad94b09Sven Gothel2020-10-181-0/+0
|
* Build: Separate GCC sanitize flags from DEBUG=ON, enable via INSTRUMENTATION=ONSven Gothel2020-10-183-4/+18
|
* Bump jaucpp (API doc)Sven Gothel2020-10-181-0/+0
|
* Eclipse: .cproject: Werror setting, add jaucpp/includeSven Gothel2020-10-181-2/+3
|
* DBTAdapter: Have remaining recursive mutex -> simple mutex (sharedDevices, ↵Sven Gothel2020-10-182-11/+11
| | | | discovery): No recursion nor deadlock covering most small code blocks.
* DBTAdapter: Have statusListenerList lock-free using jau::cow_vectorSven Gothel2020-10-182-41/+31
|
* Bump jaucpp ff4252f37017aa2bedf347745b6986c9a23b75fcSven Gothel2020-10-181-0/+0
|
* HCIHandler (UBSAN): Replace 'nasty' cast to 'HCIStructCmdCompleteMetaEvt<T> ↵Sven Gothel2020-10-172-48/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | *' with wrapper 'HCIStructCmdCompleteMetaEvtWrap<T>' ctor Assume T is any 'hci_cmd_event_struct' template type. We had [1] HCIStructCmdCompleteMetaEvt<T> * ev_cc = (HCIStructCmdCompleteMetaEvt<T> *) orig_ptr; now use simple (actual) wrapper (as was intended) [2] HCIStructCmdCompleteMetaEvtWrap<T> ev_cc(*orig_ptr); ++++ [1] is a potential violation of virtual function pointer table, as HCIStructCmdCompleteMetaEvt<T> might not have indentical heritage as the type 'orig_ptr' points to. The intention was to just access the orig_ptr data to deliver certain aspects in regards to any 'hci_cmd_event_struct' -> a wrapper. [2] Resolves the issue, using a temporary instance of the wrapper. This inconsistency was found with 'UndefinedBehaviorSanitizer' UBSAN, using GCC '-fsanitize=undefined' option.
* HCIPacket API doc: Add missing 'packet_type' (payload)Sven Gothel2020-10-171-0/+1
|
* examples/tinyb/esstinyb.cpp: Fix '-Wcast-align=strict'Sven Gothel2020-10-171-3/+5
|
* GCC: Add -Wcast-align=strict and cleanup -Wformat flags, also add DEBUG ↵Sven Gothel2020-10-171-3/+4
| | | | -fsanitize-address-use-after-scope
* Bump jaucpp to 10bede8947bfa35886edb931f6ff739ec1e3d6abSven Gothel2020-10-171-0/+0
|
* Add DEBUG flag '-fsanitize-address-use-after-scope'Sven Gothel2020-10-171-1/+1
|
* Bump jaucpp f4681f5ff116ce9e320f8804aa4d09480f3c97e7Sven Gothel2020-10-171-0/+0
|
* Bump jaucpp to 4b1ed1d84c7ddd046403f0a404e709735c3976f5Sven Gothel2020-10-171-0/+0
|
* Eclipse CDT: Update Setting w/ full warnings etcSven Gothel2020-10-172-35/+25
|
* .gitignore: += *.logSven Gothel2020-10-171-0/+1
|
* CMakeLists.txt: Fix setting CMAKE_CXX_FLAGS based on CMAKE_COMPILER_IS_GNUCC ↵Sven Gothel2020-10-171-22/+27
| | | | | | | | | | | and DEBUG For GCC always enable all Warnings possible, supporting -Werror (Warning == Error). in DEBUG mode enable '-fstack-protector-strong -fstack-check' and all non-thread sanitizer: '-fsanitize=address -fsanitize=pointer-compare -fsanitize=pointer-subtract -fsanitize=undefined -fsanitize=leak'. Notable: -fsanitize=thread TSAN's lacks ability to properly handle GCC's atomic macros (like helgrind etc), can't check SC-DRF!
* Require cmake >= 3.13 and use LANGUAGES C CXX (JAVA is specified later on)Sven Gothel2020-10-172-3/+3
|
* DBTAdapter::stopDiscovery(): Fix uninitialized 'HCIStatusCode status', ↵Sven Gothel2020-10-171-1/+1
| | | | | | erroneously overriden by local variable! Was detected with Full Warnings enabled!
* dbt_scanner10: Fix WarningsSven Gothel2020-10-171-2/+2
|
* direct_bt::DBTManager, ieee11073::DataTypes: Fix WarningsSven Gothel2020-10-173-5/+14
|
* DBTManager's MgmtEnv ctor: Use root_prefix_domain "direct_bt"; DBTAdapter: ↵Sven Gothel2020-10-172-12/+12
| | | | Add missing 'jau::' namespace usage on bind* and *print*
* src/tinyb/Bluetooth*cpp: Compile clean w/ full WarningsSven Gothel2020-10-176-17/+37
|
* Cleanup warningsSven Gothel2020-10-1612-71/+28
|
* README.md: Link to jaucpp.git/about/Sven Gothel2020-10-161-1/+1
|
* README.md: Add notion of extracted submodule jaucppSven Gothel2020-10-161-1/+6
|
* Doxyfile.cpp.in: Add jaucpp details and also java/jniSven Gothel2020-10-161-1/+5
|
* README: 'git clone': Add '--recurse-submodules' option to also clone and ↵Sven Gothel2020-10-161-1/+1
| | | | init jaucpp submodule
* Replace internal jaucpp w/ extracted jaucpp git submodule (2/2: submodule add)Sven Gothel2020-10-162-0/+3
|
* Replace internal jaucpp w/ extracted jaucpp git submodule (1/2: removal)Sven Gothel2020-10-1640-9080/+0
|
* jaucpp: Add standalone support filesjaucpp-exportSven Gothel2020-10-1613-0/+3073
|
* re-add cut-down test_basictypes01.cppSven Gothel2020-10-161-0/+37
|