aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt/HCIIoctl.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix HCIComm::send_req: Always add 'exp_event', use 'continue' statement for ↵Sven Gothel2020-05-281-0/+1
| | | | | | | | next packet. Document spec entry for LE Connection Complete event The hci-connect passes. Issue w/ disconnect is the reason field, to be resolved.
* Corrected COPYING and the *Ioctl.hpp (c) and license headersSven Gothel2020-04-291-5/+37
| | | | | | Reinstated the original author's (c) and BSD/MIT license text. Notice Qualcomm's original MIT license of the respective files.
* Add HCI non LE connect; DBTDevice: Add defaultConnect() for LE and BREDR ↵Sven Gothel2020-04-261-2/+8
| | | | | | | | address types BREDR address type connect via HCI is based on code review, untested yet. Java binding is to defaultConnect() now.
* Implement direct_bt: Direct Bluetooth access via Linux's Kernel BlueZ ↵Sven Gothel2020-04-091-0/+2452
protocol stack w/o D-Bus bluetoothd. By dropping BlueZ userspace D-Bus bluetoothd, we target high-performance reliable bluetooth support with least dependencies for embedded device configurations. See COPYING, describing which Linux Kernel BlueZ IOCTL information has been included in the source tree. We claim Linus Torvalds's Linux Kernel license exception regarding kernel syscalls (ioctl): <https://github.com/torvalds/linux/blob/master/LICENSES/exceptions/Linux-syscall-note> and hence maintain this project's license. The new direct_bt feature set is organized as follows - include/cppunit - api/direct_bt - api/ieee11073 - src/direct_bt - examples/direct_bt Note that the C++ direct_bt layer is not backward compatible to tinyb. Since the Java layer still needs to be completed, it has to be seen whether we will achieve compatibility or drop the original D-Bus tinyb module altogether in favor of a more streamlined API and implementation. Current state allows scanning for LE devices, connecting and parsing GATT plus receiving notifications and indications. See examples/direct_bt_scanner/dbt_scanner.cpp. The Linux Kernel BlueZ is configured via module MgmtComm.[hpp/cpp]