Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add script/*.sh for native tests | Sven Gothel | 2021-01-29 | 4 | -0/+77 |
| | |||||
* | locale: Add LC_ALL and hint to set system (testing requires proper unified ↵ | Sven Gothel | 2021-01-29 | 9 | -18/+36 |
| | | | | setup) | ||||
* | Revert to gcc as default since clang < 10 has issues on 32bit arm (raspi3 setup) | Sven Gothel | 2021-01-28 | 1 | -1/+1 |
| | |||||
* | cmake/build/test: Ensure UTF8 is used by system, set LANG to 'en_US.UTF-8' ↵ | Sven Gothel | 2021-01-28 | 3 | -0/+12 |
| | | | | to have a unified environment | ||||
* | Enhance Scanner10's MyLongTermKeyInfo (C++/Java): Store BTSecurityLevel and ↵ | Sven Gothel | 2021-01-28 | 2 | -0/+4 |
| | | | | | | | | | SMPIOCapability setting to be self-contained un reusage. Also - store keys in own path - determine filename within class - validate BTSecurityLevel as well | ||||
* | scripts/run-java-scanner10.sh: Remove jni debugging, oops | Sven Gothel | 2021-01-26 | 1 | -2/+2 |
| | |||||
* | Complete build change: Using jaulib[_fat] if available (for Java) incl. ↵ | Sven Gothel | 2021-01-25 | 2 | -2/+54 |
| | | | | native lib loading. Added junit test facility (Java). | ||||
* | Java: New API Layout: Shorten named [Bluetooth -> BT], [Characteristic -> ↵ | Sven Gothel | 2021-01-25 | 4 | -13/+14 |
| | | | | Char] etc (align naming with direct_bt == java; reduce java code footprint and too long code lines) | ||||
* | Update run-dbt_scanner10.sh (just naming..) | Sven Gothel | 2021-01-11 | 1 | -8/+9 |
| | |||||
* | Replace std::vector w/ jau::darray: Adapt JNI methods | Sven Gothel | 2021-01-11 | 1 | -2/+2 |
| | |||||
* | valgrind.supp: Add Catch to suppressed stacks | Sven Gothel | 2021-01-11 | 1 | -0/+8 |
| | |||||
* | cmake: Disable RTTI (-fno-rtti) for now, ensuring no side-effects; Adding ↵ | Sven Gothel | 2021-01-05 | 1 | -1/+4 |
| | | | | GPROF and PERF_ANALYSIS 'tags' to build with gprof or just '-O3 -g -ggdb' (callgrind) | ||||
* | Move jaucpp -> jaulib; Full integration of jaulib's unit tests (TODO: Use ↵ | Sven Gothel | 2020-12-21 | 1 | -0/+44 |
| | | | | | | | 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 | ||||
* | scripts/run*sh: Use ${USER} environment variable instead of hardcoded name ;-) | Sven Gothel | 2020-12-03 | 2 | -4/+4 |
| | |||||
* | scripts/run-*-scanner10.sh: Have capsh user being configured and include ↵ | Sven Gothel | 2020-10-27 | 2 | -4/+8 |
| | | | | 'ulimit -c unlimited' in capsh'ed execution for core dumps | ||||
* | Document Direct-BT Non-Root Usage via setcap or preferrably capsh. | Sven Gothel | 2020-10-27 | 2 | -4/+39 |
| | |||||
* | Add ChangedAdapterSetCallback (C++), ChangedAdapterSetListener (Java) for ↵ | Sven Gothel | 2020-10-25 | 1 | -0/+4 |
| | | | | [DBT|Bluetooth]Manager, enabling fully event driven workflow w/ adapter add/remove | ||||
* | Update valgrind.supp | Sven Gothel | 2020-10-22 | 1 | -5/+46 |
| | |||||
* | cmake: Expose different instrumentation (-fsanitize=) modules | Sven Gothel | 2020-10-21 | 1 | -0/+2 |
| | |||||
* | 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 |
| | |||||
* | Build: Separate GCC sanitize flags from DEBUG=ON, enable via INSTRUMENTATION=ON | Sven Gothel | 2020-10-18 | 1 | -0/+1 |
| | |||||
* | Align run-java-scanner10.sh with run-dbt-scanner10.sh script | Sven Gothel | 2020-10-14 | 2 | -8/+41 |
| | |||||
* | run-dbt-scanner10.sh: Added current valgrind (memcheck, drd and callgrind) ↵ | Sven Gothel | 2020-10-09 | 1 | -11/+37 |
| | | | | | | commented-out options Example with callgrind enabled: "../scripts/run-dbt_scanner10.sh -log ~/dbt_scanner10-arm64-30 -dev_id 1 -disconnect -count 1 -Ndebug -dbt_debug false -quiet -mac C0:26:DA:01:DA:B1 -mac C0:26:DF:01:E5:CA -mac C0:26:DA:00:03:DC -mac C0:26:DA:05:EF:5B" | ||||
* | valgrind.supp: Add DRD suppressions equivalent to Helgrind (No errors) | Sven Gothel | 2020-10-09 | 1 | -1/+210 |
| | |||||
* | helgrind suppressions file: 0 errors (from initial 3716) | Sven Gothel | 2020-10-08 | 2 | -3/+21 |
| | | | | | | | | | | | | | Note on completion.. Most reported issues were due to helgrind's lack of analyzing the atomic macros used in C++ atomic<T>. Most issues related to 'direct_bt::LFRingbuffer::*', utilizing SC-DRF atomic acquire (read) and release (write) not detected by helgrind. This mechanism is well tested, see unit test test_mm_sc_drf (passed). However, we have fixed around 6 issues - mostly lock order related. | ||||
* | helgrind suppressions file added: 10 errors left (from 3716), analyzed and ↵ | Sven Gothel | 2020-10-08 | 3 | -0/+370 |
| | | | | | | suppressed - or - fixed Also adding the suppression extraction scripts from <https://wiki.wxwidgets.org/Parse_valgrind_suppressions.sh> | ||||
* | run-java-scanner10.sh: Add uncommented check:jni and valgrind variants | Sven Gothel | 2020-09-30 | 1 | -1/+5 |
| | |||||
* | scripts/build.sh: Add commented out CLANG_ARGS (documentation, convenience) | Sven Gothel | 2020-09-30 | 1 | -2/+3 |
| | |||||
* | run-dbt-scanner10.sh: Add commented out VALGRIND option | Sven Gothel | 2020-09-29 | 1 | -1/+4 |
| | |||||
* | Adding kernel-bt-[debug|reload].sh scripts | Sven Gothel | 2020-09-25 | 2 | -0/+41 |
| | |||||
* | Java Example: Rename ScannerTinyB10 -> DBTScanner10: Requiring Direct-BT, ↵ | Sven Gothel | 2020-09-25 | 1 | -2/+2 |
| | | | | name aligned with dbt_scanner10.cpp | ||||
* | dbt_scanner10.cpp: Add cmdline args '-dbt_verbose, -dbt_debug, -dbt_mgmt, ↵ | Sven Gothel | 2020-09-20 | 1 | -1/+1 |
| | | | | | | -dbt_hci, -dbt_gatt', setting their env-vars like ScannerTinyB10.java Aligning example apps for same experience and invocation. | ||||
* | scripts/run-dbt_scanner10.sh: Add another commented out direct_bt_debug variant. | Sven Gothel | 2020-09-19 | 1 | -0/+1 |
| | |||||
* | script/run-java-scanner10.sh: Add commented out debug flags | Sven Gothel | 2020-09-18 | 1 | -1/+5 |
| | |||||
* | DBTEnv API Doc: Mention missing 'direct_bt.debug.adapter.event', order ↵ | Sven Gothel | 2020-09-18 | 1 | -2/+5 |
| | | | | alphabetical | ||||
* | scripts/run*: Enable core dump per default | Sven Gothel | 2020-09-18 | 7 | -0/+11 |
| | |||||
* | test scripts/run-*.sh: Add commented out example for env-var ↵ | Sven Gothel | 2020-09-16 | 7 | -0/+33 |
| | | | | 'direct_bt_debug'; Echo COMMANDLINE and debug env-var. | ||||
* | DBTEnv: Resolve using environment vars under Unix shells, e.g. try ↵ | Sven Gothel | 2020-09-15 | 1 | -0/+3 |
| | | | | 'direct_bt_debug' if ''direct_bt.debug' wasn't found. | ||||
* | CMake: Support full parallel build by adding target dependencies | Sven Gothel | 2020-09-15 | 2 | -3/+8 |
| | | | | | | | | | | | | | | | | C++ Libs -> none (2x) Java Jar -> none Java JNI Libs -> C++ Lib + Java Jar (2x) C++ Examples -> C++ Libs Java Examples -> Java Jar Test -> C++ Lib +++ scripts/[re]build.sh uses `getconf _NPROCESSORS_ONLN` for the make -j <number of parallel processes>. | ||||
* | scripts/build.sh: Default to RELEASE | Sven Gothel | 2020-09-14 | 1 | -2/+2 |
| | |||||
* | run scripts: Set LANG and LC_MEASUREMENT to en_US.UTF-8 for unified log files | Sven Gothel | 2020-08-26 | 7 | -0/+35 |
| | | | | LC_MEASUREMENT also to have the thousands separator in the elapsed time field | ||||
* | scripts/run-*.sh: Remove dependency to 'libtinyb.so', which could be skipped ↵ | Sven Gothel | 2020-08-25 | 7 | -7/+7 |
| | | | | @ compile time | ||||
* | cmake: CMAKE_EXE_LINKER_FLAGS += '-latomic' to fix gcc-8 on Raspberry: ↵ | Sven Gothel | 2020-08-25 | 1 | -0/+1 |
| | | | | undefined reference to `__atomic_store_8' | ||||
* | Add convenient GNU/Linux start/stop scripts for bluetoothdv2.1.18 | Sven Gothel | 2020-07-27 | 2 | -0/+14 |
| | |||||
* | scripts/setup-machine-arch.sh: aarch64 | Sven Gothel | 2020-07-02 | 1 | -0/+6 |
| | | | | Original commit by Xerxes Rånby <[email protected]> | ||||
* | Build direct_bt with DEBUG symbols enabled .. for the time beingv2.1.8 | Sven Gothel | 2020-06-27 | 1 | -1/+2 |
| | |||||
* | remove executable flag in script files | Sven Gothel | 2020-06-18 | 9 | -0/+0 |
| | |||||
* | Use generic 'setup-machine-arch.sh' for unified build.sh and rebuild.sh scripts | Sven Gothel | 2020-06-18 | 7 | -98/+112 |
| | |||||
* | Add debugging tool ScannerTinyB02; ScannerTinyB01 adds any device option. | Sven Gothel | 2020-06-18 | 2 | -0/+19 |
| |