Commit Graph
620 Commits
Author SHA1 Message Date
Guogang Li dec2ff910a Multiple Service scanning implementation for G3.
PiperOrigin-RevId: 733458126
2025-03-04 14:05:10 -08:00
Guogang Li b814358f89 Add to allow scan multiple BLE services
PiperOrigin-RevId: 733445592
2025-03-04 13:32:37 -08:00
Francis Tsui 8d9d310a07 Refactor BleAdvertisementWatcher.
PiperOrigin-RevId: 732976572
2025-03-03 10:39:48 -08:00
Guogang Li fe6ad715ac Apply base85 encoding and decoding
PiperOrigin-RevId: 731877970
2025-02-27 14:58:15 -08:00
Guogang Li 528c71490c fix a base85 bug on iOS
PiperOrigin-RevId: 731849590
2025-02-27 13:44:15 -08:00
Anay Wadhera 29792c8938 Swap rules to OSS
PiperOrigin-RevId: 731795253
2025-02-27 11:16:31 -08:00
Edwin Wu 20462fafd9 Refactor GNCNWFramework to take an include_peer_to_peer option in the constructor instead of passing it to each function call.
PiperOrigin-RevId: 731583634
2025-02-26 22:25:06 -08:00
Guogang Li 5c3cc4eb71 Add base85 extension to NSData
PiperOrigin-RevId: 731381576
2025-02-26 11:02:30 -08:00
hai007 fb8bfe05b2 [NearbyConnections] Fix IOS incorrect endpoint info from GATT server
1. Put the entire regular advertisement onto the gatt server
2. Provide the gatt read characterestics with offset.

PiperOrigin-RevId: 731102862
2025-02-25 18:17:05 -08:00
Edwin Wu 0c1b0ae1d9 Rename NWFramwork folder name to a more proper name WiFiCommon
PiperOrigin-RevId: 728865577
2025-02-19 16:43:32 -08:00
hai007 00e6b231f6 Automated Code Change
PiperOrigin-RevId: 726320513
2025-02-12 21:58:34 -08:00
Edwin Wu 74146df90a Rename WifiLan to NWFramework(Network.Framework) and put them as common codes.
PiperOrigin-RevId: 725486114
2025-02-10 22:47:21 -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
Guogang Li a51a93a6a1 Create xcframework for Nearby Connections
PiperOrigin-RevId: 721578171
2025-01-30 17:52:17 -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
Francis Tsui b7de2347b8 Prevent crash when failed to create output dir.
PiperOrigin-RevId: 712709379
2025-01-06 18:02:46 -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
Suet-Fei Li f7261d223b internal fix.
PiperOrigin-RevId: 707283565
2024-12-17 16:02:36 -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
Francis Tsui 99201215c0 Make g3 LocalAppDataPath match .NET path.
PiperOrigin-RevId: 700180665
2024-11-25 19:46:29 -08:00
Nick Bourdakos 3caae8d58d Remove compatible_with from Bazel targets
PiperOrigin-RevId: 698102508
2024-11-19 12:19:39 -08:00
Francis Tsui 7a02d2f888 Fix folder transfer.
PiperOrigin-RevId: 698044680
2024-11-19 09:26:49 -08:00
Anay Wadhera b00d9ab8ce internal change
PiperOrigin-RevId: 697827597
2024-11-18 18:27:58 -08:00
hai007 aa65e11580 Automated Code Change
PiperOrigin-RevId: 696760539
2024-11-14 21:59:48 -08:00
Francis Tsui 6128c537d8 cleanup oauth HTTP server.
PiperOrigin-RevId: 696559039
2024-11-14 09:58:03 -08:00
Nick Bourdakos 01a4c7967e No-op the disconnect method in the BLE GATT client
PiperOrigin-RevId: 696171997
2024-11-13 09:54:23 -08:00
Francis Tsui e9ce9dd160 Fix passing client credentials into signin.
PiperOrigin-RevId: 695417509
2024-11-11 11:19:29 -08:00
Francis Tsui 0a0c915a79 Create new SigninAttempt object.
PiperOrigin-RevId: 694229619
2024-11-07 13:31:36 -08:00
Guogang Li f391af8e47 Enhance on Bluetooth discovery check
PiperOrigin-RevId: 691947459
2024-10-31 15:05:16 -07:00
hai007 9c81350351 Added visibility on test only target for 1st party partners.
PiperOrigin-RevId: 691116241
2024-10-29 12:22:59 -07:00
Francis Tsui b4d11ecbda Use machine name for advertisement when user not logged in.
PiperOrigin-RevId: 690479544
2024-10-27 22:52:21 -07:00
Guogang Li 9aa2510055 Internal changes
PiperOrigin-RevId: 689614191
2024-10-24 20:11:07 -07:00
Francis Tsui 43aa565f14 Fix GetOsDeviceName returns string with trailing \0.
PiperOrigin-RevId: 688673080
2024-10-22 13:37:14 -07:00
hai007 00d0a7d3f0 Automated Code Change
PiperOrigin-RevId: 688449841
2024-10-22 01:43:44 -07:00
Francis Tsui 5840369ce6 Remove unused deviceInfo methods.
PiperOrigin-RevId: 688334273
2024-10-21 17:46:16 -07:00