summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
...
* Add DBTEnv::DEBUG_JNI 'direct_bt.debug.jni' for JNI only related DBG_JNI_PRIN...Sven Gothel2020-10-142-2/+5
* DBTAdapter Cleanup: Use aggregated HCIHandler @ ctor; Use default adapter sem...Sven Gothel2020-10-142-85/+72
* HCIHandler::btMode: Becomes mutable and atomic for later determination and ch...Sven Gothel2020-10-141-3/+5
* HCIHandler ctor: Move 'getLocalVersion(..)' from ctor to user-method, as an o...Sven Gothel2020-10-142-13/+23
* DBTManager::getDefaultAdapter*(): Define the first POWERED adapter as default...Sven Gothel2020-10-141-0/+27
* AdapterInfo Cleanup: AdapterSetting current_setting -> atomic, drop its atomi...Sven Gothel2020-10-142-20/+17
* DBTDevice: Remove redundant 'toString()' in DBT_PRINT and exception.Sven Gothel2020-10-131-4/+4
* direct_bt::RuntimeException: backtrace must be fetched at ctor (duh!), expose...Sven Gothel2020-10-131-2/+8
* direct_bt::get_backtrace(): Ensure '\n' is added, proper frame count starting...Sven Gothel2020-10-131-12/+16
* dbt_debug/direct_bt::RuntimeException: Add de-mangled backtrace using libunwi...Sven Gothel2020-10-134-24/+57
* HCIHandler::resetAdapter(): Generalize returning HCIStatusCode, adding #warni...Sven Gothel2020-10-132-16/+19
* DBTAdapter::reset(): Utilize HCI host implementation specific reset procedure...Sven Gothel2020-10-132-19/+53
* AdapterStatusListener[1] and DBTAdapter[2] API Refinement: [1] non const DBTA...Sven Gothel2020-10-131-39/+31
* DBTAdapter::reset(): Promote HCIHandler::reset() to adapter incl Java bindingSven Gothel2020-10-091-4/+37
* DBTManager, HCIHandler, GATTHandler: Drop atomic on mtx_*Lifecycle covered fi...Sven Gothel2020-10-093-7/+9
* dbt_debug: Have DBG_PRINT and WORDY_PRINT as macros, suppressing argument eva...Sven Gothel2020-10-081-22/+18
* helgrind 'lock order': DBTAdapter::remove(): Don't explicitly lock anything, ...Sven Gothel2020-10-071-6/+1
* helgrind 'lock order': DBTDevice: Don't abuse mtx_connect in notify[Connected...Sven Gothel2020-10-071-56/+61
* helgrind 'lock order': GATTHandler::exchangeMTU*: Called from ctor, no need t...Sven Gothel2020-10-071-4/+4
* dbt_debug: Add __func__ to ABORT, ERR_PRINT, IRQ_PRINT and WARN_PRINTSven Gothel2020-10-071-10/+10
* dbt_debug.hpp COND_PRINT: Don't produce arguments if condition not met, use p...Sven Gothel2020-10-071-10/+8
* DBTManager, GATTHandler, HCIHandler: Just use thread ctor, no need to assign;...Sven Gothel2020-10-033-4/+5
* DBTAdapter dtor: clear lists explicitly around powerdOff, ensure no leaked re...Sven Gothel2020-09-291-2/+13
* valgrind memcheck: Avoid warnings on ::bind(..), use whole struct sockaddr as...Sven Gothel2020-09-291-6/+9
* [L2CAP|HCI]Comm + [GATT|HCI]Handler/DBTManager: Properly synchronize reader t...Sven Gothel2020-09-295-97/+208
* valgrind memcheck: Align *::getSpecialized(..) for clarity (no hit): MgmtEven...Sven Gothel2020-09-285-31/+34
* valgrind memcheck: AttPDUMsg::getSpecialized() return std::shared_ptr<const A...Sven Gothel2020-09-282-12/+6
* DBTAdapter::removeDevice(): Use scoped_lock(device.mtx_connect, mtx_sharedDev...Sven Gothel2020-09-271-2/+6
* DBTAdapter: Prefer using simple mutex on most brief scope locked resources.simple_mutex0Sven Gothel2020-09-261-19/+20
* DBTAdapter, Device, HCIHandler: SEND (manual) EVENTs off-thread, mimic normal...alt_sendeventSven Gothel2020-09-263-12/+13
* DBTAdapter::startDiscoveryBackground() check isEnabled(); DBTAdapter.stopDisc...Sven Gothel2020-09-261-1/+6
* DBTAdapter: Avoid data-races of adapterInfo->getCurrentSetting() and btMode: ...Sven Gothel2020-09-261-3/+5
* DBTAdapter, DBTManager, HCIHandler: Ensure take-down (dtor, disconnect, remov...Sven Gothel2020-09-253-51/+86
* DBTDevice, GATTHandler, ..: Ensure take-down (dtor, disconnect, remove*) code...Sven Gothel2020-09-253-25/+24
* DBTDevice::disconnect(): Remove arg 'ioErrorCause'. This is the final cleanup...Sven Gothel2020-09-253-16/+16
* GATTNumbers: Concluding review: API doc, better naming, have optional data an...Sven Gothel2020-09-243-40/+56
* DBTDevice::disconnect(): Simplification, !isConnected is OK, only send event ...Sven Gothel2020-09-243-31/+41
* L2CAPComm::read(): ETIMEDOUT is not a potential error, but normal behavior.Sven Gothel2020-09-241-9/+8
* HCIHandler::disconnect(): Drop notion of 'ioErrorCause' as it is no more used...Sven Gothel2020-09-242-5/+4
* HCIHandler*: Tuning LE scan + connection parameters for higher transmission r...Sven Gothel2020-09-242-3/+12
* DBTAdapter: Split mtx_deviceReferences for each list; Avoid callback-scope lo...Sven Gothel2020-09-231-29/+30
* GATTHandler::disconnect: Reduce locking scope, exclude device->disconnect() (...Sven Gothel2020-09-231-19/+21
* DBTAdapter::stopDiscovery: Simplify 'self sending event' case and add nullptr...Sven Gothel2020-09-231-15/+14
* HCIHandler::disconnect: Move 'manual' sending of last-resort disconnected eve...Sven Gothel2020-09-232-13/+8
* DBTAdapter::powerOff(): Can't remove sharedDevices async off-thread (would dt...Sven Gothel2020-09-231-1/+1
* DBTDevice::disconnect: Send MgmtEvtDeviceDisconnected to adapter if HCI is al...Sven Gothel2020-09-231-0/+6
* DBTAdapter.java: poweredOff(): Don't clear discoveredDevices (!references); H...Sven Gothel2020-09-231-1/+2
* GATT/L2CAP Robustness: Have L2CAPHandler its own DBTEnvrionment (local L2CAP_...Sven Gothel2020-09-232-7/+44
* Conclude POWERED state change across C++/Java; Newly added AdapterStatusListe...Sven Gothel2020-09-231-17/+44
* LE Secure Connections: Initial API to support secure pairing with varying Pai...Sven Gothel2020-09-222-0/+42