aboutsummaryrefslogtreecommitdiffstats
path: root/src/direct_bt/L2CAPComm.cpp
Commit message (Expand)AuthorAgeFilesLines
* L2CAPComm.cpp: Add more details about the mutex/deadlock of setting BT_SECURI...v2.1.33Sven Gothel2020-11-241-0/+18
* Security: Re-enable auth-failure (try w/o security); Resolve L2CAPComm::open(...Sven Gothel2020-11-231-26/+48
* L2CAPComm: Optionally set BTSecurityLevel @ open after bind, before connect; ...Sven Gothel2020-11-231-18/+80
* Use new BTSecurityLevel instead of uint8_t BT_SECURITY value; DBTDevice: Add ...Sven Gothel2020-11-191-6/+6
* Align SMPHandler::establishSecurity(..), DBTDevice::connectSMP(..) with L2CAP...Sven Gothel2020-11-171-1/+1
* L2CAPComm::setBTSecurityLevel() only returns true if sec_level > 0 setting wa...Sven Gothel2020-11-171-7/+6
* DBTDevice: Handle l2cap open/security within processNotifyConnected thread, s...Sven Gothel2020-11-161-8/+40
* L2CAPComm: Allow multiple open/close cycles during lifetime, required to re-e...Sven Gothel2020-11-151-33/+54
* L2CAPComm::l2cap_open_dev(..): Pass BDAddressType directly instead of synthet...Sven Gothel2020-11-081-3/+3
* L2CAPComm: Remove DBTDevice reference, only store device string.Sven Gothel2020-11-081-5/+5
* BTAddress.hpp: BDAddressType: Promote to scoped enumSven Gothel2020-11-081-2/+2
* Small footprint compromise: Use jau::nsize_t and jau::snsize_t where appropriateSven Gothel2020-10-201-6/+6
* Use -Wshadow: Shadowing (or local scope override) often causing sloppy bugs, ...Sven Gothel2020-10-201-8/+8
* Normalize: Use size_t where appropriate; timestamp is uint64_tSven Gothel2020-10-201-8/+8
* Extract common C++ Support Library inclusive Java JNI Binding to sub-project ...Sven Gothel2020-10-161-9/+9
* [L2CAP|HCI]Comm + [GATT|HCI]Handler/DBTManager: Properly synchronize reader t...Sven Gothel2020-09-291-10/+28
* L2CAPComm::read(): ETIMEDOUT is not a potential error, but normal behavior.Sven Gothel2020-09-241-9/+8
* GATT/L2CAP Robustness: Have L2CAPHandler its own DBTEnvrionment (local L2CAP_...Sven Gothel2020-09-231-4/+42
* dbt_debug: INFO_PRINT(..) -> WORDY_PRINT(..) cond DBTEnv::VERBOSE, add uncond...Sven Gothel2020-09-181-1/+1
* HCIComm, L2CAPComm, GATTHandler: Better var- and accessor-naming, init fd in ...Sven Gothel2020-09-181-34/+33
* Open [& Connect] @ ctor (RAII): HCIComm, L2CAPComm, GATTHandler, simplifying ...Sven Gothel2020-09-181-28/+14
* HCIComm, L2CAPComm: API-Doc+; Maintain own mtx_write and use it for write(..)...Sven Gothel2020-08-271-0/+5
* DBTManager, HCIHandler, GATTHandler: Have all timeout+ config values read fro...Sven Gothel2020-08-271-1/+1
* Adapt to new DBG_PRINT(..) semantics, reduce verbosity, use specific macros f...Sven Gothel2020-08-241-7/+5
* Support BDADDR_LE_RANDOM (p1.2): Map BLERandomAddressType::STATIC_PUBLIC -> R...Sven Gothel2020-07-021-3/+3
* Use HCIHandler *connect*/disconnect; Enhance native + java testSven Gothel2020-06-271-3/+3
* L2CAPComm ctor: Remove default param in impl, as only allowed in declarationSven Gothel2020-06-261-1/+1
* L2CAPComm/GATTHandler: Use prefetched 'deviceString' for verbose outputSven Gothel2020-06-261-5/+10
* DBTDevice, GATTHandler, L2CAPComm: Use INFO_PRINT on disconnect, allowing ana...Sven Gothel2020-06-251-3/+3
* L2CAPComm: connect/disconnect: Don't fail if connect and _dd doesn't match ->...Sven Gothel2020-06-241-14/+5
* L2CAP/GATT: Replace State with dedicated atomic<bool> isConnected and hasIOEr...Sven Gothel2020-06-241-34/+27
* L2CAPComm: Always use blocking mode, remove State::ConnectingSven Gothel2020-06-241-11/+4
* GATTHandler/L2CAPComm: Timeout while reading shall be tolerated (no error).Sven Gothel2020-06-221-1/+3
* 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-091-11/+12
* Differentiate disconnect w/ IO-Error, i.e. DBTDevice shall not issue HCI nor ...Sven Gothel2020-05-311-1/+4
* Use SIGALRM instead of SIGINT to interrupt system IO (for EINTR abort)Sven Gothel2020-05-281-1/+1
* GATTHandler/L2CAPHandler: Thread safety and interrupt hanging L2CAP ::connect()Sven Gothel2020-05-261-1/+30
* Working GATT Java Side; GATT Types made fully functional for user to avoid 't...Sven Gothel2020-05-171-3/+3
* Move general types out of MgmtTypes; Extract DBTDevice + DBTAdapter into thei...Sven Gothel2020-05-111-1/+1
* Converging Java/JNI and C++ API to match tinyb interface requirements (step-2)Sven Gothel2020-05-101-0/+1
* Use ERR_PRINT instead of perror and remove explicit errno info in ERR_PRINT m...Sven Gothel2020-04-271-3/+3
* BTIoctl: Remove unused 'helpers'; Fix MgmtDisconnectCmd setupSven Gothel2020-04-261-4/+4
* Use Kernel BlueZ Manager for Discovery, Connect, etc. (Initial Commit - Java ...Sven Gothel2020-04-251-2/+2
* Initial working Java binding for the direct_bt C++ moduleSven Gothel2020-04-201-1/+1
* Warnings: Remove -Wextra warningsSven Gothel2020-04-111-4/+4
* Implement direct_bt: Direct Bluetooth access via Linux's Kernel BlueZ protoco...Sven Gothel2020-04-091-0/+244