Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump 2.1.30v2.1.30 | Sven Gothel | 2020-10-19 | 1 | -1/+5 |
| | |||||
* | DBTAdapter: ERR -> WARN: startDiscovery + startDiscoveryBackground on ↵ | Sven Gothel | 2020-10-19 | 1 | -2/+5 |
| | | | | Adapter not enabled/powered | ||||
* | Bump jaucpp 3e5a9c125d34b1e40ade99757b9b48c015cf9939 | Sven Gothel | 2020-10-19 | 1 | -0/+0 |
| | |||||
* | run-dbt-scanner10: Use export for VALGRIND invocation macro | Sven Gothel | 2020-10-19 | 1 | -4/+4 |
| | |||||
* | Update valgrind.supp file | Sven Gothel | 2020-10-19 | 1 | -71/+115 |
| | |||||
* | Bump jaucpp v0.2.2 c43b6689bd0d98cc18d7c0410af2546f529e0099 | Sven Gothel | 2020-10-19 | 1 | -0/+0 |
| | |||||
* | DBTObject::toString(): Add missing override | Sven Gothel | 2020-10-19 | 1 | -1/+1 |
| | |||||
* | DBTManager: Use read lock-free cow_vector for mgmtEventCallbackLists, ↵ | Sven Gothel | 2020-10-19 | 3 | -39/+23 |
| | | | | avoiding locks in callback iteration | ||||
* | HCIHandler: Use read lock-free cow_vector for mgmtEventCallbackLists, ↵ | Sven Gothel | 2020-10-19 | 3 | -36/+19 |
| | | | | avoiding locks in callback iteration | ||||
* | GATTHandler: Use read lock-free cow_vector for characteristicListenerList, ↵ | Sven Gothel | 2020-10-19 | 2 | -30/+38 |
| | | | | | | avoiding locks in callback iteration Also use relaxed_atomic_bool for sendIndicationConfirmation. | ||||
* | DBTDevice: Have shared GattGenericAccessSvc owned by GATTHandler, similar to ↵ | Sven Gothel | 2020-10-19 | 4 | -4/+19 |
| | | | | services. | ||||
* | DBTDevice::dtor: Don't recurse back into remove() -> adapter removeDevice(), ↵ | Sven Gothel | 2020-10-19 | 4 | -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 Gothel | 2020-10-18 | 1 | -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 Gothel | 2020-10-18 | 2 | -2/+2 |
| | |||||
* | direct_bt/JNI: Adopt to JavaUplink changes | Sven Gothel | 2020-10-18 | 2 | -4/+3 |
| | |||||
* | Bump jaucpp 0.2.1 5fac18ef7a04fe69f1bb3c0b75b25f540c7f7c9c | Sven Gothel | 2020-10-18 | 1 | -0/+0 |
| | |||||
* | DBTAdapter fix regression: mtx_sharedDevices needs to be recursive due to ↵ | Sven Gothel | 2020-10-18 | 2 | -7/+7 |
| | | | | device remove -> ~device -> remove from Java | ||||
* | Bump jaucpp tag 0.2.0, commit 4f701e24f714f69f075a78f8623119207ad94b09 | Sven Gothel | 2020-10-18 | 1 | -0/+0 |
| | |||||
* | Build: Separate GCC sanitize flags from DEBUG=ON, enable via INSTRUMENTATION=ON | Sven Gothel | 2020-10-18 | 3 | -4/+18 |
| | |||||
* | Bump jaucpp (API doc) | Sven Gothel | 2020-10-18 | 1 | -0/+0 |
| | |||||
* | Eclipse: .cproject: Werror setting, add jaucpp/include | Sven Gothel | 2020-10-18 | 1 | -2/+3 |
| | |||||
* | DBTAdapter: Have remaining recursive mutex -> simple mutex (sharedDevices, ↵ | Sven Gothel | 2020-10-18 | 2 | -11/+11 |
| | | | | discovery): No recursion nor deadlock covering most small code blocks. | ||||
* | DBTAdapter: Have statusListenerList lock-free using jau::cow_vector | Sven Gothel | 2020-10-18 | 2 | -41/+31 |
| | |||||
* | Bump jaucpp ff4252f37017aa2bedf347745b6986c9a23b75fc | Sven Gothel | 2020-10-18 | 1 | -0/+0 |
| | |||||
* | HCIHandler (UBSAN): Replace 'nasty' cast to 'HCIStructCmdCompleteMetaEvt<T> ↵ | Sven Gothel | 2020-10-17 | 2 | -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 Gothel | 2020-10-17 | 1 | -0/+1 |
| | |||||
* | examples/tinyb/esstinyb.cpp: Fix '-Wcast-align=strict' | Sven Gothel | 2020-10-17 | 1 | -3/+5 |
| | |||||
* | GCC: Add -Wcast-align=strict and cleanup -Wformat flags, also add DEBUG ↵ | Sven Gothel | 2020-10-17 | 1 | -3/+4 |
| | | | | -fsanitize-address-use-after-scope | ||||
* | Bump jaucpp to 10bede8947bfa35886edb931f6ff739ec1e3d6ab | Sven Gothel | 2020-10-17 | 1 | -0/+0 |
| | |||||
* | Add DEBUG flag '-fsanitize-address-use-after-scope' | Sven Gothel | 2020-10-17 | 1 | -1/+1 |
| | |||||
* | Bump jaucpp f4681f5ff116ce9e320f8804aa4d09480f3c97e7 | Sven Gothel | 2020-10-17 | 1 | -0/+0 |
| | |||||
* | Bump jaucpp to 4b1ed1d84c7ddd046403f0a404e709735c3976f5 | Sven Gothel | 2020-10-17 | 1 | -0/+0 |
| | |||||
* | Eclipse CDT: Update Setting w/ full warnings etc | Sven Gothel | 2020-10-17 | 2 | -35/+25 |
| | |||||
* | .gitignore: += *.log | Sven Gothel | 2020-10-17 | 1 | -0/+1 |
| | |||||
* | CMakeLists.txt: Fix setting CMAKE_CXX_FLAGS based on CMAKE_COMPILER_IS_GNUCC ↵ | Sven Gothel | 2020-10-17 | 1 | -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 Gothel | 2020-10-17 | 2 | -3/+3 |
| | |||||
* | DBTAdapter::stopDiscovery(): Fix uninitialized 'HCIStatusCode status', ↵ | Sven Gothel | 2020-10-17 | 1 | -1/+1 |
| | | | | | | erroneously overriden by local variable! Was detected with Full Warnings enabled! | ||||
* | dbt_scanner10: Fix Warnings | Sven Gothel | 2020-10-17 | 1 | -2/+2 |
| | |||||
* | direct_bt::DBTManager, ieee11073::DataTypes: Fix Warnings | Sven Gothel | 2020-10-17 | 3 | -5/+14 |
| | |||||
* | DBTManager's MgmtEnv ctor: Use root_prefix_domain "direct_bt"; DBTAdapter: ↵ | Sven Gothel | 2020-10-17 | 2 | -12/+12 |
| | | | | Add missing 'jau::' namespace usage on bind* and *print* | ||||
* | src/tinyb/Bluetooth*cpp: Compile clean w/ full Warnings | Sven Gothel | 2020-10-17 | 6 | -17/+37 |
| | |||||
* | Cleanup warnings | Sven Gothel | 2020-10-16 | 12 | -71/+28 |
| | |||||
* | README.md: Link to jaucpp.git/about/ | Sven Gothel | 2020-10-16 | 1 | -1/+1 |
| | |||||
* | README.md: Add notion of extracted submodule jaucpp | Sven Gothel | 2020-10-16 | 1 | -1/+6 |
| | |||||
* | Doxyfile.cpp.in: Add jaucpp details and also java/jni | Sven Gothel | 2020-10-16 | 1 | -1/+5 |
| | |||||
* | README: 'git clone': Add '--recurse-submodules' option to also clone and ↵ | Sven Gothel | 2020-10-16 | 1 | -1/+1 |
| | | | | init jaucpp submodule | ||||
* | Replace internal jaucpp w/ extracted jaucpp git submodule (2/2: submodule add) | Sven Gothel | 2020-10-16 | 2 | -0/+3 |
| | |||||
* | Replace internal jaucpp w/ extracted jaucpp git submodule (1/2: removal) | Sven Gothel | 2020-10-16 | 40 | -9080/+0 |
| | |||||
* | jaucpp: Add standalone support filesjaucpp-export | Sven Gothel | 2020-10-16 | 13 | -0/+3073 |
| | |||||
* | re-add cut-down test_basictypes01.cpp | Sven Gothel | 2020-10-16 | 1 | -0/+37 |
| |