aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* add script/*.sh for native testsSven Gothel2021-01-294-0/+77
|
* locale: Add LC_ALL and hint to set system (testing requires proper unified ↵Sven Gothel2021-01-299-18/+36
| | | | setup)
* Revert to gcc as default since clang < 10 has issues on 32bit arm (raspi3 setup)Sven Gothel2021-01-281-1/+1
|
* cmake/build/test: Ensure UTF8 is used by system, set LANG to 'en_US.UTF-8' ↵Sven Gothel2021-01-283-0/+12
| | | | to have a unified environment
* Enhance Scanner10's MyLongTermKeyInfo (C++/Java): Store BTSecurityLevel and ↵Sven Gothel2021-01-282-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, oopsSven Gothel2021-01-261-2/+2
|
* Complete build change: Using jaulib[_fat] if available (for Java) incl. ↵Sven Gothel2021-01-252-2/+54
| | | | native lib loading. Added junit test facility (Java).
* Java: New API Layout: Shorten named [Bluetooth -> BT], [Characteristic -> ↵Sven Gothel2021-01-254-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 Gothel2021-01-111-8/+9
|
* Replace std::vector w/ jau::darray: Adapt JNI methodsSven Gothel2021-01-111-2/+2
|
* valgrind.supp: Add Catch to suppressed stacksSven Gothel2021-01-111-0/+8
|
* cmake: Disable RTTI (-fno-rtti) for now, ensuring no side-effects; Adding ↵Sven Gothel2021-01-051-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 Gothel2020-12-211-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 Gothel2020-12-032-4/+4
|
* scripts/run-*-scanner10.sh: Have capsh user being configured and include ↵Sven Gothel2020-10-272-4/+8
| | | | 'ulimit -c unlimited' in capsh'ed execution for core dumps
* Document Direct-BT Non-Root Usage via setcap or preferrably capsh.Sven Gothel2020-10-272-4/+39
|
* Add ChangedAdapterSetCallback (C++), ChangedAdapterSetListener (Java) for ↵Sven Gothel2020-10-251-0/+4
| | | | [DBT|Bluetooth]Manager, enabling fully event driven workflow w/ adapter add/remove
* Update valgrind.suppSven Gothel2020-10-221-5/+46
|
* cmake: Expose different instrumentation (-fsanitize=) modulesSven Gothel2020-10-211-0/+2
|
* run-dbt-scanner10: Use export for VALGRIND invocation macroSven Gothel2020-10-191-4/+4
|
* Update valgrind.supp fileSven Gothel2020-10-191-71/+115
|
* Build: Separate GCC sanitize flags from DEBUG=ON, enable via INSTRUMENTATION=ONSven Gothel2020-10-181-0/+1
|
* Align run-java-scanner10.sh with run-dbt-scanner10.sh scriptSven Gothel2020-10-142-8/+41
|
* run-dbt-scanner10.sh: Added current valgrind (memcheck, drd and callgrind) ↵Sven Gothel2020-10-091-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 Gothel2020-10-091-1/+210
|
* helgrind suppressions file: 0 errors (from initial 3716)Sven Gothel2020-10-082-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 Gothel2020-10-083-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 variantsSven Gothel2020-09-301-1/+5
|
* scripts/build.sh: Add commented out CLANG_ARGS (documentation, convenience)Sven Gothel2020-09-301-2/+3
|
* run-dbt-scanner10.sh: Add commented out VALGRIND optionSven Gothel2020-09-291-1/+4
|
* Adding kernel-bt-[debug|reload].sh scriptsSven Gothel2020-09-252-0/+41
|
* Java Example: Rename ScannerTinyB10 -> DBTScanner10: Requiring Direct-BT, ↵Sven Gothel2020-09-251-2/+2
| | | | name aligned with dbt_scanner10.cpp
* dbt_scanner10.cpp: Add cmdline args '-dbt_verbose, -dbt_debug, -dbt_mgmt, ↵Sven Gothel2020-09-201-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 Gothel2020-09-191-0/+1
|
* script/run-java-scanner10.sh: Add commented out debug flagsSven Gothel2020-09-181-1/+5
|
* DBTEnv API Doc: Mention missing 'direct_bt.debug.adapter.event', order ↵Sven Gothel2020-09-181-2/+5
| | | | alphabetical
* scripts/run*: Enable core dump per defaultSven Gothel2020-09-187-0/+11
|
* test scripts/run-*.sh: Add commented out example for env-var ↵Sven Gothel2020-09-167-0/+33
| | | | 'direct_bt_debug'; Echo COMMANDLINE and debug env-var.
* DBTEnv: Resolve using environment vars under Unix shells, e.g. try ↵Sven Gothel2020-09-151-0/+3
| | | | 'direct_bt_debug' if ''direct_bt.debug' wasn't found.
* CMake: Support full parallel build by adding target dependenciesSven Gothel2020-09-152-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 RELEASESven Gothel2020-09-141-2/+2
|
* run scripts: Set LANG and LC_MEASUREMENT to en_US.UTF-8 for unified log filesSven Gothel2020-08-267-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 Gothel2020-08-257-7/+7
| | | | @ compile time
* cmake: CMAKE_EXE_LINKER_FLAGS += '-latomic' to fix gcc-8 on Raspberry: ↵Sven Gothel2020-08-251-0/+1
| | | | undefined reference to `__atomic_store_8'
* Add convenient GNU/Linux start/stop scripts for bluetoothdv2.1.18Sven Gothel2020-07-272-0/+14
|
* scripts/setup-machine-arch.sh: aarch64Sven Gothel2020-07-021-0/+6
| | | | Original commit by Xerxes Rånby <[email protected]>
* Build direct_bt with DEBUG symbols enabled .. for the time beingv2.1.8Sven Gothel2020-06-271-1/+2
|
* remove executable flag in script filesSven Gothel2020-06-189-0/+0
|
* Use generic 'setup-machine-arch.sh' for unified build.sh and rebuild.sh scriptsSven Gothel2020-06-187-98/+112
|
* Add debugging tool ScannerTinyB02; ScannerTinyB01 adds any device option.Sven Gothel2020-06-182-0/+19
|