Guogang Li
ca8e70f613
Apply real PSM value in DCT advertising
...
PiperOrigin-RevId: 778914950
2025-07-03 10:06:06 -07:00
hai007
3c77c0dfa0
Stop BLE_V2 scan before upgrading to Wifi HotSpot to avoid interference
...
PiperOrigin-RevId: 746541587
2025-04-11 11:59:18 -07:00
Edwin Wu
b10957d712
Add OpenL2capServerSocket and skeleton BleL2capServerSocket/BleL2capSocket
...
PiperOrigin-RevId: 746334743
2025-04-11 00:01:50 -07:00
Mingshiou Wu
aefcc4a8b2
Add client-side connection APIs for ble l2cap
...
PiperOrigin-RevId: 741061740
2025-03-27 01:38:10 -07:00
Mingshiou Wu
04b2f9cfc6
Interface definition for Ble L2CAP Medium in Nearby Connections layer
...
PiperOrigin-RevId: 741054574
2025-03-27 01:04:16 -07:00
Guogang Li
f7e97d23fe
Add scanning logic for DCT
...
PiperOrigin-RevId: 736888954
2025-03-14 09:33:05 -07:00
Francis Tsui
7e758061ac
Allow setting of alternate service UUID on StartDiscovery.
...
PiperOrigin-RevId: 733850300
2025-03-05 13:34:29 -08:00
Guogang Li
553f5dbf01
Add advertising logic for DCT
...
PiperOrigin-RevId: 733752366
2025-03-05 08:54:56 -08:00
Guogang Li
eb914ecc59
A small refactor to start BLE V2 advertisement
...
PiperOrigin-RevId: 730619310
2025-02-24 15:32:04 -08:00
Edwin Wu
65c2298f27
analytics: Add exact OperationResultCode for BLE/BLEV2 - Connect/AttemptConnect
...
PiperOrigin-RevId: 704926745
2024-12-10 18:58:35 -08:00
Edwin Wu
6f63efa8db
analytics: Modify the returned code with a new OperationResultCodeWithMediums for Ble - advertising/discovery/acceptConnections
...
PiperOrigin-RevId: 704911325
2024-12-10 18:08:28 -08:00
Guogang Li
52c80303e3
Enhance on advertising
...
PiperOrigin-RevId: 655044204
2024-07-22 23:57:16 -07:00
Guogang Li
32cee3439b
Pause Bluetooth classic discovery
...
PiperOrigin-RevId: 647333108
2024-06-27 08:52:58 -07:00
Hai Shang
d2c8fc3cd5
Internal fix
...
PiperOrigin-RevId: 622865759
2024-04-08 09:18:16 -07:00
Hai Shang
ca936891c8
Add start/stop legacyDeviceAdvertising in connections ble v2
...
PiperOrigin-RevId: 621303221
2024-04-02 14:52:36 -07:00
Daniel Classon
f09368247b
[Nearby Connections] Use async StartScanning when flag enabled
...
Creates the feature flag `enable_ble_v2_async_scanning_advertising` which
enables/disables the use of the async StartScanning, StopScanning,
StartAdvertising, StopAdvertising, etc methods over the soon-to-be deprecated
synchronous versions of those methods. Opted for feature flag over NearbyFlag,
as ChromeOS is the only current consumer and doesn't use Mendel.
Also sets the feature flag to enabled in the ServiceControllerRouter, which
is where ChromeOS sets NC feature flags at startup.
This CL also fully links up the asynchronous Scanning methods. Advertising
will be addressed in a follow up CL.
PiperOrigin-RevId: 608158273
2024-02-18 12:59:02 -08:00
Janusz Sobczak
e38ce96964
Replace AcceptedConnectionCallback structs with absl::AnyInvocable
...
PiperOrigin-RevId: 557949490
2023-08-17 15:14:25 -07:00
Guogang Li
19bc10ff26
Fixed the issue to initialize discovery tracker
...
PiperOrigin-RevId: 537995407
2023-06-05 15:22:40 -07:00
Guogang Li
072d24238b
Made kPeripheralLostTimeout as flag
...
PiperOrigin-RevId: 530408275
2023-05-08 14:29:02 -07:00
Janusz Sobczak
f4d85f9b90
Migrate to AnyInvocable in platform code
...
PiperOrigin-RevId: 504104740
2023-01-23 16:04:21 -08:00
Suet-Fei Li
084f7ebd88
Remove location namespace in third_party/nearby.
...
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
edwinwu
8e048f7be0
[BLE Refactor] Uses Uuid class for those used in Uuid string-form in /medium layer.
...
PiperOrigin-RevId: 450910238
2022-05-25 06:36:55 -07:00
edwinwu
a1e84f0597
[BLE Refactor] Implements BleV2Socket and BleV2ServerSocket.
...
PiperOrigin-RevId: 450586535
2022-05-23 20:22:10 -07:00
edwinwu
01f439b9ad
[BLE Refactor] Add Extended advertisement support.
...
PiperOrigin-RevId: 449619994
2022-05-18 17:45:04 -07:00
edwinwu
eddf53ec29
[BLE Refactor] Removes fast advertisement uuid in StartAdvertising and StartScanning.
...
PiperOrigin-RevId: 448426759
2022-05-13 00:19:16 -07:00
edwinwu
080e964a4c
[BLE Refactor] Implements GattClient for sender's device to fetch Gatt advertisement.
...
PiperOrigin-RevId: 448400837
2022-05-12 20:29:30 -07:00
edwinwu
12cef58420
[BLE Refactor] Refactor BlePeripheral class.
...
PiperOrigin-RevId: 447638179
2022-05-09 21:27:58 -07:00
edwinwu
771ce23fa3
[BLE Refactor] Implements advertisement tracking in Ble medium with DiscoveredPeripheralTracker class.
...
PiperOrigin-RevId: 447397658
2022-05-09 00:36:33 -07:00
edwinwu
0747c0a349
[BLE Refactor] Tune BleAdvertisement, BleAdvertisementHeader, BlePeripheral, AdvertisementReadResult, BleUtils.
...
PiperOrigin-RevId: 439365106
2022-04-04 11:19:24 -07:00
edwinwu
190d3ebafc
[BLE Refactor] Impl Start/Stop Scanning and DiscoveredPeripheral callback function in medium layer and ScanCallback in platform layer.
...
PiperOrigin-RevId: 438293171
2022-03-30 07:08:05 -07:00
edwinwu
66b425dc4e
[BLE Refactor] Impl Start/Stop AdvertisementGattServer
...
PiperOrigin-RevId: 432657453
2022-03-05 08:33:01 -08:00
edwinwu
91dfdefb9f
[BLE Refactor] Impl Start/Stop Advertising function in medium layer.
...
PiperOrigin-RevId: 432185275
2022-03-03 07:04:32 -08:00
edwinwu
8326aeef38
[BLE Refactor] Implement CreateAdvertisementHeader in BleV2 medium.
...
PiperOrigin-RevId: 429550598
2022-02-18 06:30:09 -08:00