Commit Graph
504 Commits
Author SHA1 Message Date
Francis Tsui 16839afa18 Switch Connect() to use BlePeripheral::UniqueId.
PiperOrigin-RevId: 756821680
2025-05-09 10:36:24 -07:00
Francis Tsui 99458be820 Change ConnectToGattServer to take BlePeripheral::UniqueId.
PiperOrigin-RevId: 756498100
2025-05-08 16:10:04 -07:00
Francis Tsui 59e527dbe3 Remove unused methods.
PiperOrigin-RevId: 756053350
2025-05-07 16:36:04 -07:00
Francis Tsui 4beed5b72a Remove unused method.
PiperOrigin-RevId: 756045245
2025-05-07 16:11:41 -07:00
Francis Tsui 866b3fa9e1 Make api::ble_v2::BlePeripheral into a concrete class.
PiperOrigin-RevId: 753745108
2025-05-01 15:11:08 -07:00
Francis Tsui 541bffc858 Cleanup BLEv2Medium
PiperOrigin-RevId: 753288576
2025-04-30 13:24:55 -07:00
Francis Tsui 467e64c812 Deprecate mac address manipulation functions in favor or MacAddress class.
PiperOrigin-RevId: 752952529
2025-04-29 17:59:57 -07:00
Francis Tsui 83ec6bcece Create MacAddress class for MAC address manipulation.
PiperOrigin-RevId: 752503841
2025-04-28 17:22:45 -07:00
hai007 0e79a06bd8 Automated Code Change
PiperOrigin-RevId: 752263247
2025-04-28 05:09:29 -07:00
Francis Tsui 1c27910064 Cleanup
PiperOrigin-RevId: 749148733
2025-04-18 14:30:46 -07:00
Guogang Li e047aeb341 Handle failure to stop mDNS
PiperOrigin-RevId: 748865989
2025-04-17 17:36:13 -07:00
Francis Tsui ce71a47291 internal changes
PiperOrigin-RevId: 748852719
2025-04-17 16:42:12 -07:00
Guogang Li eeedf9f9c4 Cleanup platform flag
PiperOrigin-RevId: 748062326
2025-04-15 16:18:43 -07:00
Guogang Li 8270e0548c Cleanup platform flag
PiperOrigin-RevId: 748043641
2025-04-15 15:22:10 -07:00
Guogang Li addb71ddfa Fix medium enable/disable issue during advertising
PiperOrigin-RevId: 747593380
2025-04-14 15:35:23 -07:00
Guogang Li 681284c576 Cleanup enable_wifi_hotspot_native flag
PiperOrigin-RevId: 747546014
2025-04-14 13:30:38 -07:00
Guogang Li 380154d0ba Properly release objects when stopping BTC advertising.
PiperOrigin-RevId: 746593323
2025-04-11 14:35:04 -07:00
hai007 190bb141cc Implement AWDL in connection layer (part 1)
PiperOrigin-RevId: 742925127
2025-04-01 19:11:20 -07:00
Guogang Li a36f3dd52e Refactor thread pool
PiperOrigin-RevId: 742919232
2025-04-01 18:53:13 -07:00
Guogang Li 9e23624fba Run scheduled executor callback on executor thread
PiperOrigin-RevId: 738998896
2025-03-20 17:51:16 -07:00
Guogang Li cc4a13ac26 Fix the bug to stop scanning when adapter is disabled
PiperOrigin-RevId: 738949740
2025-03-20 14:54:48 -07:00
Francis Tsui 1750168761 Cleanup enable_task_scheduler flag.
PiperOrigin-RevId: 738938572
2025-03-20 14:21:05 -07:00
Francis Tsui 528ae4c4e2 Fix infinite loop if GATT server fails to start initially.
PiperOrigin-RevId: 736972233
2025-03-14 13:43:45 -07:00
Guogang Li f168d0c91b Call deferal complete when characteristic_data
PiperOrigin-RevId: 736669127
2025-03-13 16:03:18 -07:00
Guogang Li e59e94655a Fixed a crash in blocking socket
PiperOrigin-RevId: 736274234
2025-03-12 14:49:44 -07:00
Francis Tsui b62b56c75e Move Bluetooth UUID16 conversion into Uuid class.
PiperOrigin-RevId: 735496175
2025-03-10 13:41:37 -07:00
Francis Tsui e3302b720b Improve Gatt advertising reliability.
PiperOrigin-RevId: 734925395
2025-03-08 11:03:31 -08:00
Francis Tsui 7e758061ac Allow setting of alternate service UUID on StartDiscovery.
PiperOrigin-RevId: 733850300
2025-03-05 13:34:29 -08:00
Francis Tsui 5322b66b8e Add support for alternate BLE service uuid.
PiperOrigin-RevId: 733821780
2025-03-05 12:08:33 -08:00
Francis Tsui 8d9d310a07 Refactor BleAdvertisementWatcher.
PiperOrigin-RevId: 732976572
2025-03-03 10:39:48 -08:00
hai007 97690c6996 [cpp23] Remove usage of std::aligned_storage in nearby
Deprecated in C++23. Details in https://crbug.com/388068052.

PiperOrigin-RevId: 722745132
2025-02-03 12:02:21 -08:00
Guogang Li 0575cbd155 Make sure got IP from hotspot
PiperOrigin-RevId: 721907499
2025-01-31 14:39:59 -08:00
Francis Tsui 79b99ae0a9 Fix build breakage from toolchain option changes.
PiperOrigin-RevId: 721433123
2025-01-30 10:15:29 -08:00
Guogang Li b0be56bec8 Support blocking socket in Wi-Fi hotspot medium
PiperOrigin-RevId: 718006644
2025-01-21 11:42:56 -08:00
Guogang Li 4b8ea5db74 Support blocking socket in Wi-Fi LAN medium
PiperOrigin-RevId: 717979860
2025-01-21 10:40:00 -08:00
Guogang Li 5bceb997c8 Fixed the transfer speed issue from Android to Windows
PiperOrigin-RevId: 716297509
2025-01-16 10:55:32 -08:00
Guogang Li 07db16d351 blocking socket implementation
PiperOrigin-RevId: 715617508
2025-01-14 19:40:36 -08:00
Francis Tsui 912d12b101 Remove file flush.
PiperOrigin-RevId: 715239362
2025-01-13 22:32:39 -08:00
Guogang Li 877a2d3e5b Register MDNS service using Win32 API
PiperOrigin-RevId: 714283635
2025-01-10 17:38:50 -08:00
Guogang Li 694a722d2c Keep existing Wi-Fi hotspot device when having new connection comes in
PiperOrigin-RevId: 714130787
2025-01-10 12:09:02 -08:00
hai007 f64004643f Automated Code Change
PiperOrigin-RevId: 713912995
2025-01-09 22:06:50 -08:00
Janusz Sobczak 949c035446 Clean up build rules
PiperOrigin-RevId: 712669082
2025-01-06 15:02:15 -08:00
Janusz Sobczak f9292be707 Remove unused fastpair C++ implementation to streamline the codebase
PiperOrigin-RevId: 712639309
2025-01-06 13:26:55 -08:00
Guogang Li e907d82d9d Handle socket error when sending data
PiperOrigin-RevId: 706886939
2024-12-16 17:25:29 -08:00
Guogang Li 7a6e0b325f Internal bug fix
PiperOrigin-RevId: 706787229
2024-12-16 12:06:14 -08:00
Francis Tsui eae28d3a45 Increase socket send buffer size.
PiperOrigin-RevId: 705225169
2024-12-11 13:46:31 -08:00
Guogang Li 0d05883b76 Internal refactor
PiperOrigin-RevId: 705210963
2024-12-11 13:08:18 -08:00
Guogang Li 8979083e31 internal bug fix
PiperOrigin-RevId: 704819636
2024-12-10 13:16:13 -08:00
Guogang Li 0a69343ca1 Support Wi-Fi hotspot client using native API
PiperOrigin-RevId: 703131016
2024-12-05 08:56:06 -08:00
Nick Bourdakos 3caae8d58d Remove compatible_with from Bazel targets
PiperOrigin-RevId: 698102508
2024-11-19 12:19:39 -08:00