Commit Graph
1174 Commits
Author SHA1 Message Date
Guogang Li b6dc3348a4 remove callback for multiple services scan
PiperOrigin-RevId: 733518623
2025-03-04 17:12:25 -08:00
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
hai007 9cd75f8e27 [NearbyConnections] Update ios BLE discovery related logs
PiperOrigin-RevId: 730693835
2025-02-24 19:54:06 -08:00
Guogang Li 5f3b7493cc enhance base85 test
PiperOrigin-RevId: 729773681
2025-02-21 22:20:16 -08:00
Guogang Li fdb0f0f351 read endpoint info
PiperOrigin-RevId: 729312008
2025-02-20 17:31:45 -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
Guogang Li eea3441da9 Internal refactor
PiperOrigin-RevId: 727057179
2025-02-14 14:07:18 -08:00
Guogang Li 3de3a9479d Create a help class to generate data
PiperOrigin-RevId: 726714013
2025-02-13 18:25:07 -08:00
Guogang Li 788984f182 read bits from base stream
PiperOrigin-RevId: 726515524
2025-02-13 09:17:14 -08:00
hai007 00e6b231f6 Automated Code Change
PiperOrigin-RevId: 726320513
2025-02-12 21:58:34 -08:00
Guogang Li 58eea077e1 support base85 encoding/decoding
PiperOrigin-RevId: 725692677
2025-02-11 10:50:44 -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 47c6e742da Automated Code Change
PiperOrigin-RevId: 724626448
2025-02-08 01:59:09 -08:00
Guogang Li 0ce08ab931 internal fix
PiperOrigin-RevId: 723992593
2025-02-06 10:43:23 -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
hai007 d73d1d0515 Solve BWU failing problem when Multiplex is enabled
PiperOrigin-RevId: 717982248
2025-01-21 10:45:21 -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
Guogang Li dd6aceac05 Add flags for blocking socket implementation
PiperOrigin-RevId: 714078124
2025-01-10 09:28:52 -08:00
hai007 f64004643f Automated Code Change
PiperOrigin-RevId: 713912995
2025-01-09 22:06:50 -08:00
Francis Tsui 3c186dc203 Log error message when file operations fail.
PiperOrigin-RevId: 712736323
2025-01-06 19:51:52 -08:00
Francis Tsui b7de2347b8 Prevent crash when failed to create output dir.
PiperOrigin-RevId: 712709379
2025-01-06 18:02:46 -08:00
hai007 e458d6afaa This fixes a discrepancy between the C++ and Java version of the ToFourDigitString() function, given byte array inputs that include negative signed byte values.
Added a unit test to verify that the output with negative signed bytes in the input will result in the same output as the Java version.

PiperOrigin-RevId: 712709020
2025-01-06 17:58:35 -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
hai007 1864b0b555 Automated Code Change
PiperOrigin-RevId: 709495106
2024-12-24 23:33:59 -08:00
hai007 42db63c19b Add support for reading multiple frames from one BlockingQueueStream buffer
PiperOrigin-RevId: 709247147
2024-12-23 22:54:08 -08:00
Francis Tsui c9fbf6b690 internal changes
PiperOrigin-RevId: 709164576
2024-12-23 15:28:50 -08:00
Francis Tsui dbc81e94a2 Internal changes
PiperOrigin-RevId: 709100092
2024-12-23 10:49:06 -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