189 Commits
Author SHA1 Message Date
kidfromjupiter 213d619518 Reverted shared devices_ between blev2 and bt classic 2026-01-17 10:12:13 +00:00
kidfromjupiter a61607360c Implemented gatt discovery and setting gatt characteristics 2026-01-14 13:17:13 +00:00
kidfromjupiter 4c3656b160 ble_l2cap sockets implemented. NOT WORKING THOUGH. I suspect l2cap sockets over LE require pairing even though its said it doesn't need pairing if security level is set properly on socket. 2026-01-14 13:15:49 +00:00
kidfromjupiter f14d0ee04d Implemented bluetooth socket stubs 2026-01-12 10:45:09 +00:00
kidfromjupiter 329f2ce2c9 Added GattProfile. Disabled fast adverts due to linux not supporting random mac addresses. 2026-01-12 08:17:05 +00:00
kidfromjupiter 3d97a540b5 Enabled BLE advertisements with extended + GATT server. 2026-01-10 11:23:19 +00:00
kidfromjupiter 52dfdd6a56 Enabled BLE advertisements with extended + GATT server. 2026-01-10 06:52:01 +00:00
kidfromjupiter 2d98bab2f1 updated build 2026-01-06 05:25:00 +00:00
kidfromjupiter 0d7922dc89 Enabled wifi lan medium. fixed bug with returned service id in avahi onItemNew 2026-01-06 05:24:48 +00:00
kidfromjupiter 0432c47542 Added wifi hotspot medium. Fixed mutex deadlock when bandwidth upgrade with bt classic socket 2026-01-05 14:17:26 +00:00
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 08e8b50aee fixed crash on bt socket close 2026-01-03 16:45:45 +00:00
kidfromjupiter 43c6c38a55 Fixed race conditions with simultaneous connections 2026-01-03 14:40:02 +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 8f6086345d updated device_info to latest API 2025-12-29 16:35:50 +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
kidfromjupiter 5f93c46954 ported over BUILD file 2025-12-29 04:41:32 +00:00
kidfromjupiter 1f3da14906 fixed logging bugs 2025-12-29 04:39:40 +00:00
Vibhav Pant 71f54ac820 Add headers. 2023-09-26 18:35:48 +05:30
Vibhav Pant 97af86a414 Fix race conditions with bluetooth devices being erased while being used. 2023-09-26 18:34:56 +05:30
Vibhav Pant b4bd7ddbb8 Delete gatt_service_client.h. 2023-09-26 17:43:01 +05:30
Vibhav Pant 36c1bb4c8f Remove unneeded header. 2023-09-26 17:42:49 +05:30
Vibhav Pant 300155257f Use Adapter's SupportedSecondaryChannels to check if EA is supported 2023-09-26 17:25:00 +05:30
Vibhav Pant e754f3bee4 Unify all code for generating random data into functions in utils 2023-09-13 18:53:36 +05:30
Vibhav Pant f4c487188a Rewrite ActiveConnectionStateReason as a struct with an enum Value 2023-09-13 17:43:25 +05:30
Vibhav Pant 42be2b343d Move all common TCP sockets code to tcp_server_socket.h. 2023-09-13 16:47:49 +05:30
Vibhav Pant e61a3aa677 Add support for GATT clients. 2023-09-13 14:32:44 +05:30
Vibhav Pant 0231dc656a BluezObjectManager: Mark the destructor as virtual 2023-09-13 14:23:11 +05:30
Vibhav Pant 4bdc46e257 Make all calls to WriteValue synchronous for now. 2023-09-11 18:41:49 +05:30
Vibhav Pant d7abb17751 Share one notification session for all calls between Start/StopNotify 2023-09-11 18:38:48 +05:30
Vibhav Pant 2abd9f4d83 Flags: Support write-without-response when writing is enabled. 2023-09-11 18:11:45 +05:30
Vibhav Pant 18e471ac37 Add gatt_service_client.h 2023-09-11 17:59:20 +05:30
Vibhav Pant c4bd3b1bcb Add a client variant DBus description for GattCharacteristic1.
This file contains additional methods that our Characteristic server
interfaces don't support yet.
2023-09-11 17:54:06 +05:30
Vibhav Pant fa81c030ad Rename class GattService to GattServiceServer 2023-09-11 17:53:44 +05:30
Vibhav Pant 7f732a52e7 Rename bluez_gatt_service.{cc,h} to bluez_gatt_service_server 2023-09-11 17:46:42 +05:30
Vibhav Pant e40faf5ddd Rename GattCharacteristic to GattCharacteristicServer. 2023-09-11 17:43:50 +05:30
Vibhav Pant bcbcaa54a2 Avoid raising an exception in case of an invalid text attribute 2023-09-11 17:39:03 +05:30
Vibhav Pant 6e524684a6 Rename bluez_gatt_characteristic.{cc,h} to bluez_gatt_characteristic_server 2023-09-11 17:37:59 +05:30
Vibhav Pant 5574c3baf0 Add a constants namespace to network_manager.h 2023-09-11 15:45:52 +05:30
Vibhav Pant 0d32fb37fb Move all NetworkManager D-Bus code to its own namespace. 2023-09-11 13:13:28 +05:30
Vibhav Pant 8c762ea9ab Reenable Start/StopWifiDirect 2023-09-10 00:14:52 +05:30
Vibhav Pant 70f732239e Shutdown wifi server sockets before closing them. 2023-09-10 00:14:18 +05:30
Vibhav Pant 71ba41c14d StartWifiHotspot: Disable PMF explicitly for the hotspot. 2023-09-10 00:11:10 +05:30
Vibhav Pant 358d01f350 ConntectToService: Use ConnectedToWifi instead of WifiHotspotActive 2023-09-10 00:10:34 +05:30
Vibhav Pant 4267ec43f3 Don't provide auth-alg for WPA connections. 2023-09-09 23:46:10 +05:30
Vibhav Pant 936b332aba Minor refactor 2023-09-09 23:12:30 +05:30
Vibhav Pant 799a8e9404 Register: Fix bug with profile options not getting correctly set 2023-09-09 23:11:38 +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 f489a179a6 Remove org.freedesktop.LogControl implementation.
The final application is in charge of logging, not the library.
2023-09-09 21:42:30 +05:30