aboutsummaryrefslogtreecommitdiffstats
path: root/src/direct_bt
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* AdapterStatusListener (C++): Add toString() for error handling purposes; DBTD...Sven Gothel2020-05-281-2/+2
* Fix HCIComm::send_req: Always add 'exp_event', use 'continue' statement for n...Sven Gothel2020-05-281-14/+15
* BasicTypes: Add getUTF8String(..) safe UTF8 decoding to string; Expose to Jav...Sven Gothel2020-05-281-3/+83
* Fix GATTHandler::readDescriptorValue(..): Use GATTDescriptor::value (don't bl...Sven Gothel2020-05-281-6/+1
* HCI connect returning HCIErrorCode to DBTDeviceSven Gothel2020-05-272-30/+47
* HCI le_connect: COMMAND_DISALLOWED handled 'softer' / applications may ignore...Sven Gothel2020-05-272-6/+10
* HCIComm: Expose 'HCI Error Codes' (BT Core Spec v5.2: Vol 1, Part F)Sven Gothel2020-05-271-66/+161
* DBTDevice.cpp: Use openHCI() instead of getHCI(), i.e. implicit open if requi...Sven Gothel2020-05-271-4/+4
* DBTAdapter/Device: ERR_PRINT: Add this->toString() in error reportSven Gothel2020-05-272-15/+12
* Fixating certain enums -> 'enum class' (localizing enum scope avoiding duplic...Sven Gothel2020-05-275-20/+29
* GATTHandler/L2CAPHandler: Thread safety and interrupt hanging L2CAP ::connect()Sven Gothel2020-05-263-24/+55
* GATTHandler::l2capReaderThreadImpl: Shall not use device, might be out of sco...Sven Gothel2020-05-261-2/+2
* DBTDevice::connectGATT: Only return a non-null _and_ open GATTHandler, otherw...Sven Gothel2020-05-261-1/+3
* GATTHandler l2capReaderThread robustness (I/O error) and fail connect on exch...Sven Gothel2020-05-261-15/+13
* GATTHandler: Add more descriptive info to ERR_PRINTSven Gothel2020-05-261-17/+20
* DBTDevice/HCIComm: More 'snappy' connect method names and drop unused LE min/...Sven Gothel2020-05-252-20/+20
* DBTAdapter: Add isDeviceWhitelisted(..) wiring to DBTManager for complete exp...Sven Gothel2020-05-251-0/+4
* DBTDevice::getGATTServices(): Reuse GATTHandler's list result, retrieve Gener...Sven Gothel2020-05-251-3/+48
* Use AppearanceCat type in DBTDevice, EIR and GenericAccessSven Gothel2020-05-254-76/+82
* AdapterStatusListener (C++/Java): Add discoveringChanged(..), converge device...Sven Gothel2020-05-241-3/+7
* DBTManager: Support LOAD_CONN_PARAM (MgmtLoadConnParamCmd), providing same pe...Sven Gothel2020-05-242-1/+33
* DBTManager: Track whitelist and removeAllDevicesFromWhitelist() @ closing, al...Sven Gothel2020-05-241-0/+50
* Fix Whitelist to DBTManager/DBTAdapter and test (Result: Auto-connection but ...Sven Gothel2020-05-242-4/+11
* Add Whitelist to DBTManager/DBTAdapter and test (Result: No auto-connection)Sven Gothel2020-05-243-6/+51
* DBTDevice, EInfoReport: Default tx_power, rssi to 127 (core spec defines 127 ...Sven Gothel2020-05-241-2/+0