Janusz Sobczak
a29be214a3
Migrate to absl::AnyInvocable in NP.
...
Replaces a bunch of std::function uses with absl::AnyInvocable.
PiperOrigin-RevId: 502960326
2023-01-18 13:16:29 -08:00
Guogang Li
79834a0ee0
Reduce IP check interval and put more logs for Wi-Fi hotspot
...
PiperOrigin-RevId: 502698293
2023-01-17 15:04:01 -08:00
hai007
ac87d5cf50
Explicitly initialize atomic value.
...
PiperOrigin-RevId: 501936581
2023-01-13 14:16:03 -08:00
hai007
dab0ead924
Explicitly initialize atomic value; change its type to unsigned.
...
PiperOrigin-RevId: 501935970
2023-01-13 14:12:44 -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
Janusz Sobczak
4fc1583b94
Migrate to absl::AnyInvocable
...
PiperOrigin-RevId: 501392167
2023-01-11 15:19:33 -08:00
John Carroll
3be5844fc3
Fixed the order of #include's fixes, a subtle but present bug.
...
PiperOrigin-RevId: 501360403
2023-01-11 13:16:19 -08:00
hai007
d9f113e6e1
Disable WEB_RTC for Windows Platform
...
PiperOrigin-RevId: 501346561
2023-01-11 12:19:53 -08:00
Guogang Li
e261be1a16
Enable Bluetooth connection status track
...
PiperOrigin-RevId: 501334205
2023-01-11 11:31:27 -08:00
Guogang Li
5326cec7ab
Fixed variable initialization issue in atomic_boolean
...
PiperOrigin-RevId: 501327583
2023-01-11 11:06:14 -08:00
hai007
7a9916f726
Fix WifiDirect small logic error
...
PiperOrigin-RevId: 501309880
2023-01-11 10:00:28 -08:00
Guogang Li
cf54a0fdb6
Set thread shutdown to false by default in Windows implementation
...
PiperOrigin-RevId: 501082672
2023-01-10 13:41:28 -08:00
Guogang Li
350e76e690
Add flag to control connection timeout feature
...
PiperOrigin-RevId: 500822176
2023-01-09 15:26:59 -08:00
hai007
22c6db1473
Adding the implementation of the windows controller and cross language interfaces. TODO: Unit test needs to be added after the prototyped finished (b/264707418)
...
PiperOrigin-RevId: 500274314
2023-01-06 22:19:46 -08:00
Guogang Li
06713fe918
Log Bluetooth connection status change
...
PiperOrigin-RevId: 500228494
2023-01-06 15:09:34 -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
f7f0a266fe
WIFI Direct implementation (5)
...
Part 5: Add WifiDirect Server/Client Socket and Credential
PiperOrigin-RevId: 499401159
2023-01-03 23:10:15 -08:00
hai007
7e82794d4d
WIFI Direct implementation (4) - Fake Hotspot as WifiDirect GO
...
Part 4: WIFI Direct platform code for Windows
PiperOrigin-RevId: 498611340
2022-12-30 11:23:45 -08:00
hai007
88e350e5d2
Integrate network related part which both nearby sharing and fastpair are adopted.
...
Details can be seen in the `Integrate reusable internal components into third_party` part of `server access design doc` (go/fast_pair_server_data_access)
PiperOrigin-RevId: 498208011
2022-12-28 10:28:32 -08:00
Janusz Sobczak
e64f9859e1
Replace BleOperationStatus with absl::Status
...
PiperOrigin-RevId: 497191477
2022-12-22 10:20:15 -08:00
hai007
7855176718
Fix a typo in base-no-coroutines.patch and re-apply the patch.
...
PiperOrigin-RevId: 495888291
2022-12-16 09:10:21 -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
hai007
38d6317274
Automated visibility attribute cleanup.
...
PiperOrigin-RevId: 495557586
2022-12-15 04:22:05 -08:00
Guogang Li
ad9c26ec90
Adjust the timeout value for Wi-Fi hotspot
...
PiperOrigin-RevId: 495389634
2022-12-14 12:44:27 -08:00
Guogang Li
73c1fba668
Added connection timeout for Wi-Fi Lan and hotspot
...
PiperOrigin-RevId: 495155204
2022-12-13 16:25:16 -08:00
hai007
c5cb0e1d39
Insert placeholder declarations into winrt/base.h.
...
PiperOrigin-RevId: 495104919
2022-12-13 13:09:29 -08:00
Guogang Li
9c9439f4b1
Refactor the implementation of scheduled executor on Windows
...
PiperOrigin-RevId: 494261976
2022-12-09 14:20:53 -08:00
Qin Wang
cdd65616fc
Implement Ble GATT Client for Windows
...
PiperOrigin-RevId: 494033195
2022-12-08 17:06:52 -08:00
Suet-Fei Li
a8ca18f477
Internal refactor.
...
PiperOrigin-RevId: 493970269
2022-12-08 12:47:57 -08:00
Suet-Fei Li
9f9bd40ada
Internal flow.
...
PiperOrigin-RevId: 493719005
2022-12-07 15:05:45 -08:00
Guogang Li
43fab95a3a
Refactor Wi-Fi discovery
...
PiperOrigin-RevId: 493417873
2022-12-06 14:47:34 -08:00
Qin Wang
ba1578777d
Implement Bluetooth Pairing for Fast Pair Windows
...
PiperOrigin-RevId: 492902580
2022-12-04 21:05:47 -08:00
Guogang Li
da4ac95e82
Check connectivity before report Wi-Fi discovery
...
PiperOrigin-RevId: 492570605
2022-12-02 15:10:31 -08:00
Aaron Yu
49af1a96b6
Add SetCustomSavePath API to Nearby Connections
...
PiperOrigin-RevId: 492563503
2022-12-02 14:38:55 -08:00
hai007
2012acdbcc
Change BWU priority from Hotspot to WifiLan
...
PiperOrigin-RevId: 491388299
2022-11-28 10:55:28 -08:00
hai007
88d5cb9fdd
Support multiple simultaneous server sockets for WLAN
...
PiperOrigin-RevId: 490596563
2022-11-23 15:31:38 -08:00
hai007
9425ba7fd6
Add Try/Catch for Hotspot methods
...
PiperOrigin-RevId: 490397928
2022-11-22 20:14:19 -08:00
Guogang Li
c499d18af6
Parse remote device IP address from text attributes first
...
PiperOrigin-RevId: 490324278
2022-11-22 13:37:21 -08:00
Janusz Sobczak
a3b6058753
Fully qualify ::location::nearby imports.
...
Find and replace exercise.
Replace
`using location::nearby`
with
`using ::location::nearby`
and
`using <Name> = location::nearby`
with
`using <Name> = ::location::nearby`
PiperOrigin-RevId: 490087051
2022-11-21 15:33:21 -08:00
hai007
3c78cb30b7
When calling GetIpAddress() before GetInformation(), it will fail to get right IP Address.
...
PiperOrigin-RevId: 489261279
2022-11-17 11:23:06 -08:00
Guogang Li
656f888e5a
Fixed the crash to get network information
...
PiperOrigin-RevId: 488995745
2022-11-16 11:40:44 -08:00
Aaron Yu
7a918e8310
Fix WiFi medium crash
...
PiperOrigin-RevId: 488453105
2022-11-14 13:28:41 -08:00
Guogang Li
0a88efb1de
Fixed the logic issue to handle Bluetooth device discovery
...
PiperOrigin-RevId: 487955459
2022-11-11 17:34:51 -08:00
Guogang Li
8c8e5d7e6f
Updated the read method for Bluetooth classic
...
PiperOrigin-RevId: 487595432
2022-11-10 11:37:22 -08:00
hai007
dba1deab3c
Check if the stored WIFI network is exist before restore WIFI connection
...
PiperOrigin-RevId: 487585021
2022-11-10 10:59:13 -08:00
Guogang Li
23a27d9384
Catch all socket exceptions
...
PiperOrigin-RevId: 487316606
2022-11-09 12:29:43 -08:00
hai007
219f9b75e1
Restore the WIFI connection when connecting to Hotspot fails.
...
PiperOrigin-RevId: 486809154
2022-11-07 17:44:06 -08:00
Guogang Li
59d172fe64
Recovered the codes of BLE medium
...
PiperOrigin-RevId: 486803584
2022-11-07 17:11:17 -08:00
Nick Bourdakos
4fb6ba318c
Internal change
...
PiperOrigin-RevId: 486691317
2022-11-07 09:59:14 -08:00
John Carroll
180b76cf84
Split file path processing off into it's own static class and implement validation.
...
PiperOrigin-RevId: 485890871
2022-11-03 09:18:34 -07:00