Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clang-tidy fixes part-1 | Sven Gothel | 2022-11-27 | 48 | -426/+525 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Details - Use 'size_type' instead of 'int', propagate same 'size_type' into 'darray' etc. - Use 'std::make_shared', 'std::make_unique' - Use range-based for loops - Remove redundant 'virtual', use 'override' in derived classes - Use 'nullptr' - Use default impl for dtor, ctor (incomplete) - Use copy and std::move (incomplete) - Explcitly catch std::bad_alloc in 'new' in 'noexcept' -> 'abort' - 'abort' was issued implicitly in noexcept methods - L2CAPServer, L2CAPClient, NopGattServerHandler, DBGattServerHandler, FwdGattServerHandler - Use local close_impl(), usable in virtual destructor - L2CAPClient::read, HCIComm::read - preset 'poll' result 'n', avoid garbage comparison - BTAdapter::enableListening - loop through addMgmtEventCallback() result - JNI code - explicit size_type is cast to jsize or jint w/o check - unchanged semantics | ||||
* | AttPDUMsg*, SMPPDUMsg*: Place check_range() to final type, avoid ↵ | Sven Gothel | 2022-11-27 | 2 | -108/+209 |
| | | | | vtable-mess; Have all msg creation ctor check range. | ||||
* | jaulib v0.18.0-43-gc472e59 | Sven Gothel | 2022-11-27 | 1 | -0/+0 |
| | |||||
* | clang-tidy and vscode: Provision w/ initial config (tested by jaulib) | Sven Gothel | 2022-11-27 | 11 | -6/+979 |
| | |||||
* | README.md: Fix 'Further Readings' list | Sven Gothel | 2022-11-03 | 1 | -6/+4 |
| | |||||
* | README.md: Add 'Further Reading' section | Sven Gothel | 2022-11-03 | 1 | -0/+7 |
| | |||||
* | Bump CHANGES w/ remark on tested platformsv2.9.0 | Sven Gothel | 2022-10-17 | 1 | -2/+9 |
| | |||||
* | Bump jaulib v0.18.0 | Sven Gothel | 2022-10-17 | 1 | -0/+0 |
| | |||||
* | PLATFORMS: Update Debian 12 version as of 2022-10-17 | Sven Gothel | 2022-10-17 | 1 | -4/+4 |
| | |||||
* | BTAdapter.cpp: Workaround gcc 12.2.0-3 Debian 12 Bookworm 2022-10-17 false ↵ | Sven Gothel | 2022-10-17 | 1 | -1/+19 |
| | | | | positive '-Werror=stringop-overflow=' using std::atomic_bool::load() | ||||
* | Fix manual trial/test scripts using capsh: Use `USER` env-var | Sven Gothel | 2022-10-17 | 3 | -5/+5 |
| | |||||
* | README/PLATFORMS: Add `Alpine Linux` using `musl` C library and mention ↵ | Sven Gothel | 2022-10-17 | 3 | -0/+31 |
| | | | | FreeBSD status | ||||
* | jaulib v0.16.3-1-g3eac600 | Sven Gothel | 2022-09-19 | 1 | -0/+0 |
| | |||||
* | Bump CHANGES.mdv2.8.2 | Sven Gothel | 2022-09-17 | 1 | -1/+1 |
| | |||||
* | scripts/run-native-trial.sh: Return proper exit code for ↵ | Sven Gothel | 2022-09-17 | 2 | -2/+49 |
| | | | | | | | | | run-native-trial-until.sh (error), long term testing of one trial, triage Passed 20 rounds of debug code w/ valgrind using test_client_server10_NoEnc, after applying jaulib v0.16.2 - fix of jau::service_runner::start(). No leaks and no deadlocks or endless loops occured. | ||||
* | jaulib v0.16.2 | Sven Gothel | 2022-09-17 | 1 | -0/+0 |
| | |||||
* | jaulib v0.16.1 | Sven Gothel | 2022-09-17 | 1 | -0/+0 |
| | |||||
* | Bump CHANGES.md | Sven Gothel | 2022-09-16 | 1 | -0/+1 |
| | |||||
* | Change all callback return type: dummy 'bool' -> 'void', now enabled by ↵ | Sven Gothel | 2022-09-16 | 12 | -121/+86 |
| | | | | jau::function<void(A...)> | ||||
* | Adopt to jau::function<R(A...)> from jau::FunctionDef<> | Sven Gothel | 2022-09-16 | 17 | -102/+100 |
| | |||||
* | jaulib v0.16.0 | Sven Gothel | 2022-09-16 | 1 | -0/+0 |
| | |||||
* | Bump CHANGES.md | Sven Gothel | 2022-09-15 | 1 | -1/+9 |
| | |||||
* | Eclipse CDT setup: Add trial tests to include path | Sven Gothel | 2022-09-15 | 1 | -4/+15 |
| | |||||
* | Trial Unit Test: Add adapter reset test_client_server40_reset | Sven Gothel | 2022-09-15 | 8 | -4/+275 |
| | |||||
* | Trial Unit Tests: Reorg and cleanup to be expanded (for reset test) | Sven Gothel | 2022-09-15 | 11 | -105/+145 |
| | | | | | - When passing client and server in test8x_fullCycle() overload, expect them to be setup already. - client: KEEP_CONNECTED -> do_disconnect for clarity and along do_disconnect_randomly | ||||
* | BTAdapter/HCIHandler::toString(): Show dev_id as 1st element w/o explicitly ↵ | Sven Gothel | 2022-09-15 | 2 | -4/+3 |
| | | | | naming it. | ||||
* | HCIHandler::resetAdapter(): Add optional HCIHandler::PostShutdownFunc ↵ | Sven Gothel | 2022-09-15 | 3 | -31/+68 |
| | | | | | | | argument, allowing BTAdapter::reset() to wait until all devices are disconnected before powering-up again Waiting for all disconnections within reset after shutdown phase determines the state of all devices before powering up. | ||||
* | BTAdapter: Align hasDevicesPausingDiscovery() -> ↵ | Sven Gothel | 2022-09-15 | 2 | -8/+8 |
| | | | | getDevicesPausingDiscoveryCount() w/ getConnectedDeviceCount(), both return nsize_t | ||||
* | BTAdapter::poweredOff(): Always use disconnectAllDevices() for proper device ↵ | Sven Gothel | 2022-09-15 | 1 | -6/+1 |
| | | | | | | | | | pull-down to clear all its states instead of just deleting all refs if !active BTAdapter::poweredOff()'s active argument shall only impact issuing stopDiscoveryImpl(). Without disconnectAllDevices(), non removed devices will have states uncleared, e.g. isConnected, certain SMP states etc. | ||||
* | BTAdapter::mgmtEvDeviceDisconnectedHCI(): printDeviceLists() in verbose mode ↵ | Sven Gothel | 2022-09-15 | 1 | -0/+3 |
| | | | | if not connected | ||||
* | BTAdapter::powerOff(): Add msg for debug tracing | Sven Gothel | 2022-09-15 | 2 | -14/+14 |
| | |||||
* | direct_bt::to_string(<enum_type>): Remove NONE in bitfield enumerations | Sven Gothel | 2022-09-15 | 3 | -10/+0 |
| | |||||
* | HCIHandler::reset*(), [start|stop]Adapter(): Rewrap with DBG_PRINT() for tracing | Sven Gothel | 2022-09-15 | 1 | -28/+49 |
| | |||||
* | HCIHandler: ERR_PRINT remove function header, ensure dev_id shown | Sven Gothel | 2022-09-15 | 1 | -56/+44 |
| | |||||
* | HCIHandler: DBG_PRINT add function header w/ dev_id, WARN_PRINT remove ↵ | Sven Gothel | 2022-09-15 | 1 | -93/+94 |
| | | | | function header, ensure dev_id shown | ||||
* | jaulib v0.15.0-1-g990271a | Sven Gothel | 2022-09-14 | 1 | -0/+0 |
| | |||||
* | BTAdapter: Use jau::service_runner to ensure singleton pattern on background ↵ | Sven Gothel | 2022-09-14 | 2 | -21/+25 |
| | | | | | | discovery startDiscoveryBackground() -> discovery_service + discoveryServerWork() | ||||
* | BTAdapter::removeDevicePausingDiscovery(): Drop 'off_thread' argument, ↵ | Sven Gothel | 2022-09-14 | 2 | -16/+9 |
| | | | | always perform off thread BTAdapter::startDiscoveryBackground() | ||||
* | jau::service_runner CB BTAdapter::l2capServer*(): Add 'noexcept' | Sven Gothel | 2022-09-14 | 3 | -7/+7 |
| | |||||
* | BTAdapter::mgmtEvDeviceDiscoveringAny(): Drop 'off_thread' argument, which ↵ | Sven Gothel | 2022-09-14 | 2 | -16/+12 |
| | | | | | | is always used with value 'true' Hence BTAdapter::startDiscoveryBackground() is always started off-thread. | ||||
* | BTAdapter::startDiscoveryBackground(): Fix retry==true endless thread: Set ↵ | Sven Gothel | 2022-09-14 | 1 | -1/+2 |
| | | | | retry=false @ action block start, then determine retry or not | ||||
* | Extracting CHANGES.mdv2.8.1 | Sven Gothel | 2022-09-10 | 2 | -221/+228 |
| | |||||
* | jaulib v0.14.0-104-g78e2ed8 | Sven Gothel | 2022-09-07 | 1 | -0/+0 |
| | |||||
* | jaulib v0.14.0-102-g43a5fb0 | Sven Gothel | 2022-09-06 | 1 | -0/+0 |
| | |||||
* | jaulib v0.14.0-101-g093c9d2 | Sven Gothel | 2022-09-06 | 1 | -0/+0 |
| | |||||
* | Add jaulib base_codec.cpp for file_util.cpp, i.e. encode() integer for copy dirs | Sven Gothel | 2022-09-06 | 1 | -0/+1 |
| | |||||
* | jaulib v0.14.0-100-gec30a11 | Sven Gothel | 2022-09-06 | 1 | -0/+0 |
| | |||||
* | jaulib v0.14.0-98-gfc1031d | Sven Gothel | 2022-09-06 | 1 | -0/+0 |
| | |||||
* | jaulib v0.14.0-97-g8911c03 | Sven Gothel | 2022-09-03 | 1 | -0/+0 |
| | |||||
* | jaulib v0.14.0-96-gc6629cd | Sven Gothel | 2022-09-03 | 1 | -0/+0 |
| |