Commit Graph
27 Commits
Author SHA1 Message Date
kidfromjupiter e2256ca83d endpoints advertised on bluetooth are immediately detected now. bluetooth socket underlying fd type auto detection added. Fixed segfault with download paths 2026-01-04 17:14:27 +00:00
kidfromjupiter ac5a22eb55 Fixed race conditions with simultaneous connections 2026-01-03 14:39:50 +00:00
kidfromjupiter dd21d80dc8 bugfixes and fixes to race conditions. bluetooth advertising only / discovery only works now. linux -> android conn. initiation works. android -> linux doesnt work. android doesn't seem to recognise linux. linux <-> linux works. but each devices have to be in discover/advert modes. can't be both 2026-01-02 12:29:54 +00:00
kidfromjupiter 6c41d26a86 Doesn't build yet. But did more work to align the older fork with newer APIs. 2025-12-29 13:35:08 +00:00
Vibhav Pant 97af86a414 Fix race conditions with bluetooth devices being erased while being used. 2023-09-26 18:34:56 +05:30
Vibhav Pant 936b332aba Minor refactor 2023-09-09 23:12:30 +05:30
Vibhav Pant c7a5bdcebb Destroy DeviceWatcher _after_ stopping discovery.
This lets DeviceWatcher receive InterfacesRemoved signals so that we
can potentially get rid of lost devices.
2023-09-09 21:58:18 +05:30
Vibhav Pant bc4c1e76c9 Use shared_ptrs for dbus connections for top-level classes. 2023-09-09 21:41:37 +05:30
Vibhav Pant d47788392e Add DeviceWatcher for adding/removing devices. 2023-09-09 13:00:28 +05:30
Vibhav Pant c62837a546 Set discovery filter to "bredr" before starting discovery. 2023-09-08 16:48:28 +05:30
Vibhav Pant 6b037b1b81 Refactor 2023-09-06 23:08:06 +05:30
Vibhav Pant 4042687b8d Add support for sharing DiscoveryCallbacks across BluetoothDevices. 2023-09-05 20:00:25 +05:30
Vibhav Pant ad7401616b Refactor bluetooth code to use shared pointers instead of references. 2023-09-05 19:45:10 +05:30
Vibhav Pant c742bd3a37 clang-format 2023-08-30 13:21:30 +05:30
Vibhav Pant cb83656eab Minor refactoring. 2023-08-30 01:53:54 +05:30
Vibhav Pant 86cffae21f Move dbus stubs to generated package. 2023-08-29 23:56:15 +05:30
Vibhav Pant 6c198fc2d2 Add copyright notice headers. 2023-08-29 22:06:30 +05:30
Vibhav Pant bf84a1fdac Simplify ObjectManager listener code. 2023-08-29 20:27:49 +05:30
Vibhav Pant bbde0a5859 Remove discovery_cb_lock_, as it can cause deadlocks. 2023-08-29 16:36:50 +05:30
Vibhav Pant adb1e1d235 Separate BluetoothAdapter into Adapter and BluezAdapter classes. 2023-08-29 15:47:13 +05:30
Vibhav Pant 61b4e1d74d Fix more compilation errors. 2023-08-27 20:48:09 +05:30
Vibhav Pant ba07f52103 Simplify Bluetooth code. 2023-08-16 21:04:18 +05:30
Vibhav Pant c8af59666d Rewrite dbus code using sdbus-c++ 2023-08-15 20:52:51 +05:30
Vibhav Pant aea2e16937 Walk through InterfacesAdded data correctly. 2023-08-09 18:42:56 +05:30
Vibhav Pant 622451436b Refactor 2023-08-03 17:14:03 +05:30
Vibhav Pant b5ba24bc06 Add additional code for implementing BluetoothClassicMedium. 2023-08-01 18:27:05 +05:30
Vibhav Pant b66e7ff735 More bluetooth medium code. 2023-07-30 02:10:58 +05:30