Commit Graph
3195 Commits
Author SHA1 Message Date
Francis Tsui 5f6d79db91 Clean up peripheral maintenance code.
PiperOrigin-RevId: 758236488
2025-05-13 08:45:06 -07:00
Guogang Li 5181686431 Add help class to create nw_parameters_t
PiperOrigin-RevId: 758036909
2025-05-12 21:26:37 -07:00
hai007 2add27671b Support XR devices for QuickShare DeviceType
PiperOrigin-RevId: 758009685
2025-05-12 19:41:03 -07:00
Guogang Li ed73963b6b Add password field for AWDL Credential
PiperOrigin-RevId: 757944784
2025-05-12 15:54:46 -07:00
Francis Tsui 1f46e33a7a Stop maintaining a peripheral map in Windows BLE medium.
PiperOrigin-RevId: 757925397
2025-05-12 15:01:18 -07:00
Francis Tsui b48b943275 Remove reference to BlePeripheral.
PiperOrigin-RevId: 757830081
2025-05-12 10:55:38 -07:00
Francis Tsui acc5f1b0d8 Remove BlePeripheral reference from BleSocket.
PiperOrigin-RevId: 757797557
2025-05-12 09:38:22 -07:00
Johnson Lu 8f71b8e8b0 Add last_endpoint_id to UpgradePathInfo.ClientIntroduction
PiperOrigin-RevId: 757536755
2025-05-11 18:18:20 -07:00
Guogang Li 0ef9e3b7ca Enable BLE V2 for iOS SDK
PiperOrigin-RevId: 756898030
2025-05-09 14:03:26 -07:00
Guogang Li 1748d7aa1c Increase GATT connection timeout
PiperOrigin-RevId: 756883805
2025-05-09 13:23:10 -07:00
Francis Tsui 16839afa18 Switch Connect() to use BlePeripheral::UniqueId.
PiperOrigin-RevId: 756821680
2025-05-09 10:36:24 -07:00
hai007 5869bbbf6e Add logic to check if the right network is connected
PiperOrigin-RevId: 756516729
2025-05-08 17:05:51 -07:00
Francis Tsui 99458be820 Change ConnectToGattServer to take BlePeripheral::UniqueId.
PiperOrigin-RevId: 756498100
2025-05-08 16:10:04 -07:00
Guogang Li f7e96e518c Use DCT flag to control BLE encoding
PiperOrigin-RevId: 756496067
2025-05-08 16:04:44 -07:00
Francis Tsui e1c072e797 Switch ConnectOverL2cap methods to use BlePeripheral::UniqueId instead of BlePeripheral object.
PiperOrigin-RevId: 756491579
2025-05-08 15:52:01 -07:00
Guogang Li 09ac8d8c58 Apply DCT flag in Nearby Connections
PiperOrigin-RevId: 756487383
2025-05-08 15:41:04 -07:00
Guogang Li 5f3ce51cfd Add flag to control DCT
PiperOrigin-RevId: 756477155
2025-05-08 15:11:43 -07:00
Guogang Li f2ef072ac1 Avoid checking peer when getting streams from socket
PiperOrigin-RevId: 756403871
2025-05-08 12:00:57 -07:00
Francis Tsui 605f96a2d2 Remove members shadowing the base class.
PiperOrigin-RevId: 756337436
2025-05-08 09:13:46 -07:00
Guogang Li 7ea0e00333 Add AWDL upgrade logic
PiperOrigin-RevId: 756335927
2025-05-08 09:08:52 -07:00
hai007 236e17988c Replace uses of rtc:: and cricket:: namespaces
PiperOrigin-RevId: 756184076
2025-05-08 00:24:40 -07:00
Francis Tsui 59e527dbe3 Remove unused methods.
PiperOrigin-RevId: 756053350
2025-05-07 16:36:04 -07:00
Francis Tsui 4beed5b72a Remove unused method.
PiperOrigin-RevId: 756045245
2025-05-07 16:11:41 -07:00
Guogang Li 94ddb09a7f internal fix
PiperOrigin-RevId: 755993569
2025-05-07 13:55:38 -07:00
Johnson Lu ee9266b175 Implement Dynamic Role Switch
Implement dynamic role switch in bwu manager. When NC receive BWU request, it will check if it should switch role based on the device's capability.

PiperOrigin-RevId: 755703443
2025-05-06 23:38:16 -07:00
Guogang Li 946e865db2 Implement method to build AWDL upgrade frame
PiperOrigin-RevId: 755607718
2025-05-06 18:30:30 -07:00
Guogang Li 62413e4de9 Internal change to AWDL APIs
PiperOrigin-RevId: 755602469
2025-05-06 18:12:01 -07:00
Guogang Li b57c23bcc1 Add more logs
PiperOrigin-RevId: 755592022
2025-05-06 17:36:46 -07:00
Crisrael Lucero 067450c9ef Remove extra semi-colon to pass -Wextra-semi option in Chromium builds
PiperOrigin-RevId: 755455902
2025-05-06 11:42:17 -07:00
Guogang Li 9f18e3d138 Compile protos for AWDL 2025-05-05 14:17:49 -07:00
Guogang Li d61ed675b7 Add AWDL credential for AWDL upgrade
PiperOrigin-RevId: 754965804
2025-05-05 14:17:49 -07:00
hai007 98122ed51a Log time taken to download attachments on the sender side
PiperOrigin-RevId: 754117861
2025-05-02 13:39:38 -07:00
Francis Tsui bda5444fcd Remove g3 BlePeripheral subclass.
PiperOrigin-RevId: 754087426
2025-05-02 12:06:07 -07:00
Francis Tsui 866b3fa9e1 Make api::ble_v2::BlePeripheral into a concrete class.
PiperOrigin-RevId: 753745108
2025-05-01 15:11:08 -07:00
Francis Tsui 065a79e9ac Remove unnecessary callback.
PiperOrigin-RevId: 753697677
2025-05-01 13:07:12 -07:00
Edwin Wu e9aef7153a Add request data connection before data transmission for L2CAP.
PiperOrigin-RevId: 753434675
2025-04-30 21:55:40 -07:00
Edwin Wu fc0768f2c4 Add completion handler to opened L2CAP channel for iOS client.
PiperOrigin-RevId: 753363177
2025-04-30 16:49:59 -07:00
Francis Tsui 541bffc858 Cleanup BLEv2Medium
PiperOrigin-RevId: 753288576
2025-04-30 13:24:55 -07:00
Francis Tsui 467e64c812 Deprecate mac address manipulation functions in favor or MacAddress class.
PiperOrigin-RevId: 752952529
2025-04-29 17:59:57 -07:00
hai007 011993b4d3 Increase Hotspot Connection timeout from 10s to 18s.
PiperOrigin-RevId: 752904366
2025-04-29 15:27:17 -07:00
Guogang Li c089d12393 Fix iOS connection issue as receiver
PiperOrigin-RevId: 752889278
2025-04-29 14:43:28 -07:00
Francis Tsui 83ec6bcece Create MacAddress class for MAC address manipulation.
PiperOrigin-RevId: 752503841
2025-04-28 17:22:45 -07:00
Edwin Wu 422030f826 Fix: BLE L2CAP packet processing can't handle fragmentation.
PiperOrigin-RevId: 752482441
2025-04-28 16:10:48 -07:00
hai007 0e79a06bd8 Automated Code Change
PiperOrigin-RevId: 752263247
2025-04-28 05:09:29 -07:00
Francis Tsui 183d21efe5 Move log statement to VLOG to reduce log spam.
PiperOrigin-RevId: 751177356
2025-04-24 16:16:14 -07:00
hai007 b3442bacd3 Add session success disconnection reason
PiperOrigin-RevId: 751156087
2025-04-24 15:15:44 -07:00
Anay Wadhera 1a48397cda Merge pull request #3363 from johnsonlu072/compile-protos
Compile protos
2025-04-23 20:43:54 -07:00
Francis Tsui 4c0f9c913d Rewrite url parsing without use of regex.
PiperOrigin-RevId: 750731428
2025-04-23 14:46:21 -07:00
Francis Tsui ce58d19c1a Update swift build to cxx20.
PiperOrigin-RevId: 750724378
2025-04-23 14:26:09 -07:00
johnsonlu072 7796da1c64 Compile protos 2025-04-23 11:40:12 +08:00