Commit Graph
34 Commits
Author SHA1 Message Date
Janusz Sobczak 20acd4eeb9 Add initial pairing in scalable seeker
PiperOrigin-RevId: 541034178
2023-06-16 16:14:14 -07:00
Janusz Sobczak c4139c83b0 Use RobustGattClient
PiperOrigin-RevId: 540060033
2023-06-13 13:42:19 -07:00
Qin Wang e20fb4f75d Add screen locked listener for fast pair windows
PiperOrigin-RevId: 540038338
2023-06-13 12:26:20 -07:00
Janusz Sobczak ca60afa007 Add robust gatt client
PiperOrigin-RevId: 539817203
2023-06-12 18:29:59 -07:00
Qin Wang c786b07fcf Add pair_broker to FastPairMediator/FastPairSeeker
PiperOrigin-RevId: 538592398
2023-06-07 14:27:29 -07:00
Qin Wang ba740c9a5c Implement RetroactivePairingDetector
PiperOrigin-RevId: 538319791
2023-06-06 16:18:38 -07:00
Janusz Sobczak ddbb711b7b Add InitialPair plugin
Creates plugins/ directory which will store internal plugins used for admin
tasks and testing. In this CL
* FakeFastPairPlugin for tests
* InitalPairPlugin - simple plugin that triggers Initial Pair flow

PiperOrigin-RevId: 536775192
2023-05-31 11:36:00 -07:00
Janusz Sobczak 82b5e10d5b Implement StartFastPairScan
PiperOrigin-RevId: 536487662
2023-05-30 13:08:31 -07:00
Janusz Sobczak 5bad45aed1 Use FastPairDeviceRepository in FastPairSevice
PiperOrigin-RevId: 535386036
2023-05-25 14:25:41 -07:00
Janusz Sobczak 43291da5fd Define scalable seeker API
Defines the scalable seeker skeleton
* FastPairService - singleton FP service instance
* FastPairSeeker - FP interface for plugins
* FastPairPlugin - plugin interface

PiperOrigin-RevId: 534623965
2023-05-23 18:01:27 -07:00
Crisrael Lucero 01c8e1ed05 Convert absl::string_view to const std::string&
PiperOrigin-RevId: 531634295
2023-05-12 16:40:50 -07:00
Janusz Sobczak f1f15bd967 Use canonical MAC address in tests.
PiperOrigin-RevId: 531601021
2023-05-12 14:12:25 -07:00
Qin Wang b19d4fb279 Implement BluetoothClassic Medium for fast pair windows
PiperOrigin-RevId: 531299637
2023-05-11 13:59:42 -07:00
Janusz Sobczak 0901aec6e2 Add BleMedium::GetRemotePeripheral
Added:
nearby::api::ble_v2::BlePeripheral::GetUniqueId()
nearby::api::ble_v2::BleMedium::GetRemotePeripheral(...)

Moved BlePeripheral implementation from bluetooth_adapter_* to ble_v2.*
Added G3 (test) implementation for the new methods.

PiperOrigin-RevId: 531023568
2023-05-10 15:40:38 -07:00
Guogang Li d510a8ce3c Added cancellable request to network library
PiperOrigin-RevId: 529197083
2023-05-03 15:37:17 -07:00
hai007 465aa7a489 Applied platform thread to network lib
PiperOrigin-RevId: 528521852
2023-05-01 11:13:36 -07:00
Qin Wang 9f6e7f6b84 Refactor Bluetooth Mediums
PiperOrigin-RevId: 528511969
2023-05-01 10:41:29 -07:00
hai007 3da0891479 Automated visibility attribute cleanup.
PiperOrigin-RevId: 523821060
2023-04-12 15:26:27 -07:00
Guogang Li be99b60feb Applied platform thread to network lib
PiperOrigin-RevId: 520998502
2023-03-31 13:23:32 -07:00
Qin Wang 178bfc2897 Enbale ble to connect to Gatt srver
PiperOrigin-RevId: 516896186
2023-03-15 12:22:44 -07:00
Qin Wang f1ad8f4b9a Remove ble_gatt_client from third_party/nearby/fastpair
PiperOrigin-RevId: 514469603
2023-03-06 11:24:58 -08:00
Aaron Yu fc1811f966 Set g3 bluetooth adapter to be enabled by default and remove Toggle()
PiperOrigin-RevId: 509962396
2023-02-15 16:25:43 -08:00
Qin Wang d0750694ff Replace absl::optional with std::optional
PiperOrigin-RevId: 509649962
2023-02-14 15:10:04 -08:00
Qin Wang a0692e6306 Migrate device_info from location/nearby to third_party/nearby
PiperOrigin-RevId: 504935151
2023-01-26 14:01:11 -08:00
Qin Wang 2330739b90 Migrate TaskRunner from location/nearby to third_party/nearby
PiperOrigin-RevId: 502733409
2023-01-17 17:40:55 -08:00
Qin Wang f94aa7548b Migrate Timer from location/nearby to third_party/nearby
PiperOrigin-RevId: 501928835
2023-01-13 13:44:17 -08:00
Qin Wang 0d58411896 Remove bluetooth_address from location/nearby/cpp/fastpair and third_party/nearby/fastpair
PiperOrigin-RevId: 500821521
2023-01-09 15:23:38 -08:00
Qin Wang d9b6897189 Remove observer_list.h from location/nearby/cpp/fastpair and third_party/nearby/fastpair
PiperOrigin-RevId: 500331550
2023-01-06 22:21:04 -08:00
Suet-Fei Li 084f7ebd88 Remove location namespace in third_party/nearby.
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
hai007 76a002f6e3 Migrate fastpair Unauth fetcher from location/nearby/cpp/fastpair/server_access to third_party/nearby/fastpair/repository
PiperOrigin-RevId: 498413189
2022-12-29 10:40:03 -08:00
Qin Wang fe26466278 Migrate fast pair from location/nearby/cpp/fastpair to third_party/nearby/fastpair
PiperOrigin-RevId: 495726740
2022-12-15 16:31:22 -08:00
Qin Wang cdd65616fc Implement Ble GATT Client for Windows
PiperOrigin-RevId: 494033195
2022-12-08 17:06:52 -08:00
Qin Wang a9062b958d Implement Ble for Fast Pair Windows
PiperOrigin-RevId: 489254207
2022-11-17 10:58:34 -08:00
Qin Wang 4a0242472a Initial Fast Pair Workspace in third_part/neabry
PiperOrigin-RevId: 489013088
2022-11-16 12:48:48 -08:00