Commit Graph
32 Commits
Author SHA1 Message Date
Lasan Mahaliyana 161ceedfac re enabled GATT server. Android requires GATT characteristics to be preset to initiate l2cap connection 2026-04-06 22:26:40 +05:30
Lasan Mahaliyana f884cf3473 implemented gatt but removed it from ble_v2_medium. implemented bluez_agent and bluez agent manager for accepting incoming pairing requests 2026-03-22 00:50:27 +05:30
Lasan Mahaliyana 0434117008 disabled gatt server + client on linux 2026-03-21 00:54:04 +05:30
Lasan Mahaliyana 04d1c89195 converted RegisterMonitor and UnregisterMonitor to async 2026-03-21 00:53:45 +05:30
lasan 607d37a6b0 converted LeAdvertisementManager to use async internally and expose a sync API 2026-03-20 17:03:57 +05:30
lasan e0a888a51f migrated to sdbus-cpp v2 2026-03-19 20:23:24 +05:30
lasan 45406089e1 changed all instances of getObjectPath to getObject().getObjectPath(). migrated to ne ProxyInterfaces constructor 2026-03-19 18:44:02 +05:30
Lasan Mahaliyana e94ab9d555 updated bazelproject file 2026-03-06 21:20:59 +05:30
Lasan Mahaliyana 2539024306 Implemented BLE l2cap legacy control flow 2026-02-10 22:26:41 +05:30
kidfromjupiter cdfe437831 l2cap socket psm is not generated once per BleV2Medium initialisation. Accept() waits till all other l2cap connections are closed to create a new connection 2026-02-06 12:28:58 +00:00
kidfromjupiter 2718d9942b fixed l2cap server socket hanging 2026-02-06 11:48:26 +00:00
kidfromjupiter 4d2f34ccfb upstream changes applied to linux impl 2026-02-04 22:04:03 +00:00
kidfromjupiter e52e7c8d18 Merge remote-tracking branch 'nearby/main' into apply-upstream
# Conflicts:
#	MODULE.bazel
#	connections/implementation/mediums/ble_v2.cc
#	internal/platform/implementation/BUILD
2026-02-04 19:12:40 +00:00
kidfromjupiter 2731ec427a linux <-> linux l2cap socket works now 2026-02-04 14:28:08 +00:00
kidfromjupiter beec7387d4 Updated l2cap socket 2026-02-04 11:39:55 +00:00
kidfromjupiter e09907e335 Re enabled l2cap for testing 2026-02-03 17:26:56 +00:00
kidfromjupiter f4be67850b Reverted shared devices_ between blev2 and bt classic 2026-01-17 15:47:53 +05:30
kidfromjupiter d12be67319 Made ble_v2_medium and bluetooth_classic_medium share a devices_ 2026-01-17 08:46:49 +00:00
kidfromjupiter a61607360c Implemented gatt discovery and setting gatt characteristics 2026-01-14 13:17:13 +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 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 300155257f Use Adapter's SupportedSecondaryChannels to check if EA is supported 2023-09-26 17:25:00 +05:30
Vibhav Pant e61a3aa677 Add support for GATT clients. 2023-09-13 14:32:44 +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 a8a2964edd StartLEDiscovery: Use "auto" as the discovery filter transport. 2023-09-09 13:01:22 +05:30
Vibhav Pant d47788392e Add DeviceWatcher for adding/removing devices. 2023-09-09 13:00:28 +05:30
Vibhav Pant 54d31abedf Add an initial BLE v2 implementation. 2023-09-08 16:53:49 +05:30