Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DBTScanner10/dbt_scanner10: Use better block formatting, don't hide block {} | Sven Gothel | 2021-01-30 | 2 | -2/+4 |
| | |||||
* | API doc: Use '{@code tinyb.dbus}' to add implementation notes | Sven Gothel | 2021-01-30 | 2 | -38/+38 |
| | |||||
* | BTDevice.cpp connect*() methods are all noexcept, since all invoked methods ↵ | Sven Gothel | 2021-01-30 | 4 | -8/+9 |
| | | | | are noexcept; Earmark in BTDevice.java for direct_bt. | ||||
* | API doc fix: 'direct_bt.tinyb' -> 'jau.direct_bt' | Sven Gothel | 2021-01-29 | 2 | -5/+5 |
| | |||||
* | BTAdapter.startDiscovery(boolean): Added implementation remark re ↵ | Sven Gothel | 2021-01-29 | 1 | -0/+5 |
| | | | | removeDiscoveredDevices() for direct_bt | ||||
* | BTManager.Settings Name Fix | Sven Gothel | 2021-01-29 | 4 | -8/+8 |
| | | | | | | BTManager.Settings: - rename: isCharacteristicValueCacheNotificationSupported() -> isCharValueCacheNotificationSupported() - property now: 'jau.direct_bt.characteristic.compat' | ||||
* | Bump jaulib 8ca0eaedc84cb289601c95854a853ac8f5635113v2.2.1 | Sven Gothel | 2021-01-29 | 1 | -0/+0 |
| | |||||
* | add script/*.sh for native tests | Sven Gothel | 2021-01-29 | 4 | -0/+77 |
| | |||||
* | Fix EUI48Sub::toString() if 0 == length: reserve() would become negative ↵ | Sven Gothel | 2021-01-29 | 2 | -11/+20 |
| | | | | (C++); Add same path to Java StringBuilder capacity | ||||
* | Bump jaulib e3565006727776b1a4eda22aed4cbe418793a1d2 | Sven Gothel | 2021-01-29 | 1 | -0/+0 |
| | |||||
* | 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 | 2 | -1/+1 |
| | |||||
* | cmake/build/test: Ensure UTF8 is used by system, set LANG to 'en_US.UTF-8' ↵ | Sven Gothel | 2021-01-28 | 4 | -0/+12 |
| | | | | to have a unified environment | ||||
* | DBTDevice.cxx: Adopt implementation names and DEBUG output to renaming scheme | Sven Gothel | 2021-01-28 | 1 | -18/+18 |
| | |||||
* | Fix missed JNI renaming: ↵ | Sven Gothel | 2021-01-28 | 1 | -1/+1 |
| | | | | Java_jau_direct_1bt_DBTDevice_removeAllAssociated[Characteristic -> Char]Listener | ||||
* | Fix missed JNI renaming: ↵ | Sven Gothel | 2021-01-28 | 3 | -1/+3 |
| | | | | | | Java_jau_direct_1bt_DBTDevice_removeAll[Characteristic -> Char]Listener(..) Adding call to example, ensuring manual test coverage. | ||||
* | dbt_scanner10.cpp: Drop 'constexpr' from isResponder() in My LTK/CSRK Info ↵ | Sven Gothel | 2021-01-28 | 1 | -2/+2 |
| | | | | structs (oops, had to move the LTK/CSRK called impl to cpp file) | ||||
* | Enhance Scanner10's MyLongTermKeyInfo (C++/Java): Store BTSecurityLevel and ↵ | Sven Gothel | 2021-01-28 | 4 | -190/+311 |
| | | | | | | | | | SMPIOCapability setting to be self-contained un reusage. Also - store keys in own path - determine filename within class - validate BTSecurityLevel as well | ||||
* | SMPLongTermKeyInfo (Java/C++): Add convenience isResolver() (from ltk prop) ↵ | Sven Gothel | 2021-01-28 | 6 | -10/+28 |
| | | | | and use it, same for SMPSignatureResolvingKeyInfo. | ||||
* | Example Scanner10 (C++/Java): Support Security setting per device ↵ | Sven Gothel | 2021-01-27 | 4 | -40/+192 |
| | | | | | | BDAddressAndType; Tested reconnect reusing stored LTK Same code in C++ dbt_scanner10.cpp and DBTScanner10.java. | ||||
* | API renaming of missed 'Characteristic', add listener to API name table | Sven Gothel | 2021-01-27 | 11 | -35/+43 |
| | |||||
* | Refine the API doc overview: Add Header and update linked names + add event ↵ | Sven Gothel | 2021-01-27 | 5 | -23/+61 |
| | | | | driven adapter workflow | ||||
* | cmake/modules/ExtractArchiveList.cmake: Use native unzip if cmake < 3.18.0 | Sven Gothel | 2021-01-27 | 3 | -2/+13 |
| | |||||
* | Update README.md; Provide Java package API doc (Copied from C++) etc .. | Sven Gothel | 2021-01-27 | 9 | -28/+146 |
| | |||||
* | Bump jaulib c1e4cc9b7b020c482f085fe1647dea292ed49171 | Sven Gothel | 2021-01-27 | 1 | -0/+0 |
| | |||||
* | Have BTFactory.main(..) show version info and available adapter, also ↵ | Sven Gothel | 2021-01-27 | 15 | -69/+120 |
| | | | | | | whether jaulib is used or not; BTFactory: Shorten names (API) direct_bt.jar: Don't use jaulib.jar in its Class-Path (manifest) | ||||
* | DirectBTVersion: Use data transient only | Sven Gothel | 2021-01-27 | 1 | -18/+18 |
| | |||||
* | Bump jaulib df624074383d6e3dfd9ae2060beb8fce9ad73064 | Sven Gothel | 2021-01-26 | 1 | -0/+0 |
| | |||||
* | Adapt to jaulib changes: Jar naming convention (dash, not underscore for ↵ | Sven Gothel | 2021-01-26 | 14 | -43/+205 |
| | | | | | | | extras) ..; direct-bt-fat* includes jaulib-fat (standalone) direct-bt-fat.jar is with Tinyb direct-bt-fat2.jar is ex Tinyb (merely testing size and encapsulation) | ||||
* | scripts/run-java-scanner10.sh: Remove jni debugging, oops | Sven Gothel | 2021-01-26 | 1 | -2/+2 |
| | |||||
* | Added EUI48Sub and EUI48::indexOf(const EUI48Sub& other) and contains(const ↵v2.2.0 | Sven Gothel | 2021-01-25 | 5 | -4/+391 |
| | | | | EUI48Sub& other) (C++ and Java, both w/ unit tests) | ||||
* | eclipse .classpath adjustment | Sven Gothel | 2021-01-25 | 1 | -1/+7 |
| | |||||
* | Bump jaulib 3dd2fa5035720dfe612b94a8e560a1d4f89347b0 - v0.2.21 | Sven Gothel | 2021-01-25 | 1 | -0/+0 |
| | |||||
* | Complete build change: Using jaulib[_fat] if available (for Java) incl. ↵ | Sven Gothel | 2021-01-25 | 14 | -29/+332 |
| | | | | native lib loading. Added junit test facility (Java). | ||||
* | Bump jaulib to ee0aed19a2d308a422d486690e54734167fcdc4e v0.2.20 | Sven Gothel | 2021-01-25 | 1 | -0/+0 |
| | |||||
* | Java: New API Layout: Shorten named [Bluetooth -> BT], [Characteristic -> ↵ | Sven Gothel | 2021-01-25 | 106 | -2512/+2597 |
| | | | | Char] etc (align naming with direct_bt == java; reduce java code footprint and too long code lines) | ||||
* | eclipse: adjust path .. | Sven Gothel | 2021-01-25 | 2 | -5/+9 |
| | |||||
* | Use new jaulib/JaulibSetup.cmake (Unified Setup); RELEASE: Strip native libs ↵ | Sven Gothel | 2021-01-25 | 4 | -149/+43 |
| | | | | and drop javac debug info (Current jaulib default) | ||||
* | Bump jaulib 208a8ab9a604f68ce17c32263dda1897421240e8 | Sven Gothel | 2021-01-25 | 1 | -0/+0 |
| | |||||
* | Java: New Layout: [tinyb2 -> direct_bt].jar ; org.[tinyb -> direct_bt] ..; ↵ | Sven Gothel | 2021-01-25 | 82 | -466/+465 |
| | | | | Upcoming API Cleanup (Drop TinyB only entries) | ||||
* | Bump GetGitRevisionDescription.cmake to ↵ | Sven Gothel | 2021-01-25 | 48 | -91/+250 |
| | | | | 6a748896188fdf3f885820ccd686393ea5215dbf (from cmake-modules) | ||||
* | smart_ptr-6: Create make_shared(..) vehicle w/ public ctor and private ↵ | Sven Gothel | 2021-01-19 | 5 | -12/+28 |
| | | | | cookie for friends to benefit from single mem-allocation via std::make_shared<T>(..) | ||||
* | DBTDevice: Avoid deadlock calling into processDeviceReady(..) within scope ↵ | Sven Gothel | 2021-01-18 | 1 | -4/+13 |
| | | | | of locked mtx_pairing | ||||
* | DBTScanner10: Use BDAddressAndType.matches() to support ↵ | Sven Gothel | 2021-01-18 | 1 | -4/+12 |
| | | | | BDAddressType.BDADDR_UNDEFINED (like dbt_scanner10.cpp) | ||||
* | *Adapter: Clarity [get|remove]Devices() -> [get|remove]DiscoveredDevices(); ↵ | Sven Gothel | 2021-01-18 | 11 | -25/+118 |
| | | | | | | | | Add removeDiscoveredDevice(); Use: Flush discovered devices after adding listener. Flushing discovered devices after adding listener to adapter. This helps avoiding skipping deviceFound callbacks of earlier found devices before adding the AdapterStatusListener when setting up the adapter. | ||||
* | DBTAdapter.java: equal/hash key is dev_id + address | Sven Gothel | 2021-01-18 | 1 | -4/+4 |
| | |||||
* | DBTManager/DBTAdapter: DBTManager own zero or all DBTAdapter | Sven Gothel | 2021-01-18 | 21 | -458/+367 |
| | | | | | | | | | | | | | | | | | | | | | | | | DBTManager/DBTAdapter Relationship (C++) aligning to Java DBTManager owning DBTAdapter to harmonize and simplify API and DBTAdapter lifecycle in respect to the event-driven ChangedAdapterSetFunc() approach. API doc reflecting this change WIP. DBTManager: - Owns all DBTAdapter - processAdapterRemoved: Issue DBTAdapter::close() (align Java + C++ behavior) - ChangedAdapterSetFunc passes 'std::shared_ptr<DBTAdapter>&', instead of 'dev_id' (like Java) - Fix adding ChangedAdapterSetFunc: Only pass all known DBTAdapter through newly added callback, not all. - Aligned method names with Java - DBTAdapter: - No public ctor (DBTManager owns all); - Owns adapterInfo; - dtor unregisters instance in DBTManager; - dev_id is uint16_t; AdapterInfo: Support copy/move ctor and copy assignment | ||||
* | Bump jaulib to commit 1ba932716f2d382af56bf8ea69a57666e2c835d6 | Sven Gothel | 2021-01-18 | 1 | -0/+0 |
| | |||||
* | AdapterStatusListener::deviceFound: Resolve sharedDevices persistence of ↵ | Sven Gothel | 2021-01-17 | 12 | -46/+93 |
| | | | | | | | | | | found device via return value While we keep the device instance temporarily alive within discoveredDevices until next removeDiscoveredDevices() eg at startDiscover(), we only keep it within persistent sharedDevices list if at least one deviceFound implementation returns true. This allows user to minimize the sharedDevices footprint when rejecting the device w/o being required to call device.remove(). | ||||
* | DBTAdapter: USe pre-incr, use typedef device_list_t (shorten shared device ↵ | Sven Gothel | 2021-01-15 | 2 | -12/+13 |
| | | | | darray) |