aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* HCIHandler: Use async event mechanism for delayed replies, commands shall ret...Sven Gothel2020-06-242-26/+40
* HCIHandler: Use async event mechanism for delayed replies, commands shall ret...Sven Gothel2020-06-242-200/+271
* Add MgmEvent::Opcode::INVALID to have a defined invalid value like HCIEventTy...Sven Gothel2020-06-241-0/+1
* BTAddress: Add 'BDAddressType getBDAddressType(const HCIAddressType hciAddrTy...Sven Gothel2020-06-241-0/+8
* DBTManager: Use removeDeviceFromWhitelist(.., EUI48_ANY_DEVICE, 0) to flush w...Sven Gothel2020-06-221-1/+14
* GATTHandler: DBT_PRINT fixSven Gothel2020-06-221-1/+1
* GATTHandler/L2CAPComm: Timeout while reading shall be tolerated (no error).Sven Gothel2020-06-221-1/+3
* DBTAdapter (Java/C++): Complete explicit synchronization on start/stop discov...Sven Gothel2020-06-101-0/+1
* Threading and transmission robustness: DBTManager, HCIHandler: Synchronize se...Sven Gothel2020-06-102-2/+10
* HCIHandler: Remove unused method sendWithReply(..)Sven Gothel2020-06-101-26/+0
* Threading robustness: DBTManager: Add singleton-get mutex, ensuring C++11 6.7...Sven Gothel2020-06-101-0/+1
* Threading robustness: DBTManager, GATTHandler, HCIHandler: Reader thread star...Sven Gothel2020-06-103-21/+58
* DBTAdapter (Java/C++): Explicit synchronization on start/stop discovery, avoi...Sven Gothel2020-06-101-0/+2
* HCIHandler::processStructMetaCmd: Success case: Use DBG_PRINT instead of WARN...Sven Gothel2020-06-101-7/+7
* DBTDevice (C++/Java): Expose getLastDiscoveryTimestamp() and rename lastUpdat...Sven Gothel2020-06-092-4/+10
* BluetoothManager startDiscovery(): Add @Deprecated tag; Fix misc DBG_PRINT co...Sven Gothel2020-06-092-5/+5
* C++: Utilize 'currentScanType' for start/stop discovery same as for Java code...Sven Gothel2020-06-091-1/+12
* [DBT]Adapter (Java/C++) startDiscovery(bool keepAlive) policy change: keepAli...Sven Gothel2020-06-091-4/+4
* L2CAPComm::connect: Retry connect on ETIMEDOUT up to 3, working around rare s...Sven Gothel2020-06-091-15/+30
* L2CAPComm/GATTHandler: User 'enum class' constants for type safety; Drop GATT...Sven Gothel2020-06-092-52/+34
* HCIHandler: Add 'pass_replies_only_filter' mode (in use now)v2.1.3Sven Gothel2020-06-091-100/+178
* HCIHandler/Types: template process*Cmd: Pass pre-allocated template command, ...Sven Gothel2020-06-091-61/+57
* DBTAdapter: dtor: removeMgmtEventCallback(dev_id) may also purge other object...Sven Gothel2020-06-081-4/+3
* DBTManager/MgmtTypes: Expose MgmtEvtDeviceBlocked, MgmtEvtDeviceUnblocked, Mg...Sven Gothel2020-06-081-4/+25
* Relax GATTHandler == nullptr for disable and listener-removal operations, it'...Sven Gothel2020-06-071-6/+14
* BasicTypes: Rename getUTF8String(..) -> decodeUTF8String(..): Adding API doc ...v2.1.2Sven Gothel2020-06-041-1/+1
* Rename HCIErrorCode -> HCIStatusCode for clarity and pleasing the eyesSven Gothel2020-06-047-78/+78
* Introduce HCITypes + HCIHandler: Providing C++ basics for full HCI support; M...Sven Gothel2020-06-0411-631/+956
* DBTAdapter::mgmtEvDeviceConnectedCB: device will always be define after triag...Sven Gothel2020-06-011-30/+26
* DBTAdapter::performDeviceConnected(..) leaving (currently dead) code path for...Sven Gothel2020-06-011-0/+20
* Resolve missing CONNECTED event: adapter.addConnectedDevice(..) must only be ...Sven Gothel2020-06-011-10/+12
* Clarify le_scan and conn[ection] arguments for whitelist and connect methods ...Sven Gothel2020-06-013-17/+17
* Complete using definite tyep HCIErrorCode for disconnect reason; Add Mgmt Dis...Sven Gothel2020-06-016-13/+63
* Use a lower le_connect (supervisor) timeout: 10s instead of 32s.Sven Gothel2020-05-311-3/+5
* AdapterStatusListener(C++/Java): Expose 'HCIErrorCode reason' on disconnect (...Sven Gothel2020-05-311-24/+32
* MgmtTypes: Rename non-class enums to be usage specific: Add MGMT_ prefix.Sven Gothel2020-05-312-4/+4
* Differentiate disconnect w/ IO-Error, i.e. DBTDevice shall not issue HCI nor ...Sven Gothel2020-05-316-65/+90
* DBTDevice::connectGATT: Explicit purge of closed old gattHandler reference fo...Sven Gothel2020-05-301-2/+5
* DBTManager::sendWithReply: Make the reply mismatch a warning onlySven Gothel2020-05-301-2/+2
* GATTService::toString() Don't list all characteristics, just the count; GATTD...Sven Gothel2020-05-302-13/+4
* DBTDevice::disconnect: After skipping the hci_disconnect, the manager::discon...Sven Gothel2020-05-301-4/+6
* GATTHandler robustness: Fail hard on 'send' and 'sendWithReply': disconnect G...Sven Gothel2020-05-301-11/+15
* GATTHandler DBG_PRINT: Use prefetch device address instead of full device->to...Sven Gothel2020-05-301-18/+23
* DBTManager robusteness: Non-matching replies shall wait for more packets; dis...Sven Gothel2020-05-301-100/+46
* device disconnect: if hciConnHandle==0 also skip manager disconnect; ensure n...Sven Gothel2020-05-291-5/+4
* Ensure any L2CAP/GATT disconnect leads to disconnect the owning Device itself...Sven Gothel2020-05-292-17/+15
* Use SIGALRM instead of SIGINT to interrupt system IO (for EINTR abort)Sven Gothel2020-05-284-11/+11
* Java DBTDevice: Drop getGATTService() from connect* as it should be done afte...Sven Gothel2020-05-281-2/+2
* JNI Callback listener issued from a native thread must not mute exceptions (f...Sven Gothel2020-05-284-24/+102
* Use atomic as a memory barrier (data race), volatile is not suitable for mult...Sven Gothel2020-05-281-1/+3