51 Commits
Author SHA1 Message Date
Guogang Li c1b902b6ac Update comments for safe_to_disconnect_version flag.
PiperOrigin-RevId: 794223595
2025-08-12 12:32:35 -07:00
Guogang Li f67618f8ff Update the GATT reading logic in thread
PiperOrigin-RevId: 793840801
2025-08-11 16:34:13 -07:00
Guogang Li a65ee214e7 Turn default flags to True for BLE v2 rollout.
PiperOrigin-RevId: 788707906
2025-07-29 19:34:43 -07:00
hai007 a78e9e4138 Automated Code Change
PiperOrigin-RevId: 786383170
2025-07-23 12:34:42 -07:00
Guogang Li 0614f439d9 Control Advertising/Scanning of instant on lost separately
PiperOrigin-RevId: 778356456
2025-07-01 23:30:17 -07:00
Edwin Wu 540f4bac7a Add flag to control whether to disconnect the GATT client when exiting the BLE GATT service.
PiperOrigin-RevId: 758474539
2025-05-13 19:52:27 -07:00
Guogang Li 5f3ce51cfd Add flag to control DCT
PiperOrigin-RevId: 756477155
2025-05-08 15:11:43 -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
hai007 3c77c0dfa0 Stop BLE_V2 scan before upgrading to Wifi HotSpot to avoid interference
PiperOrigin-RevId: 746541587
2025-04-11 11:59:18 -07:00
Guogang Li bd187dc741 Update flag for AWDL
PiperOrigin-RevId: 746205866
2025-04-10 15:55:24 -07:00
hai007 cc2c6c527b Implement AWDL in connection layer (part 2)
PiperOrigin-RevId: 744206141
2025-04-05 01:49:16 -07:00
hai007 190bb141cc Implement AWDL in connection layer (part 1)
PiperOrigin-RevId: 742925127
2025-04-01 19:11:20 -07:00
Mingshiou Wu 04b2f9cfc6 Interface definition for Ble L2CAP Medium in Nearby Connections layer
PiperOrigin-RevId: 741054574
2025-03-27 01:04:16 -07:00
Guogang Li df2ddd0f20 Enable flag to disable instant on lost
PiperOrigin-RevId: 740501388
2025-03-25 15:15:37 -07:00
Guogang Li cee47d9f98 Optimize advertising on BLE device without extended support
PiperOrigin-RevId: 740159393
2025-03-24 19:43:48 -07:00
hai007 ff64bb5314 Enable 1st party visibility to Nearby runtime flags build targets.
PiperOrigin-RevId: 734306439
2025-03-06 15:17:58 -08:00
hai007 f976f7e05a Add Bluetooth Multiplex and WiFiLan Multiplex flags for better control.
PiperOrigin-RevId: 720337637
2025-01-27 15:57:52 -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
Guogang Li 13e2f1a23b Make the default packet size of transmission changeable
PiperOrigin-RevId: 702411852
2024-12-03 11:37:20 -08:00
Guogang Li 001c1c9ba7 Visibility changes
PiperOrigin-RevId: 689526607
2024-10-24 14:58:10 -07:00
Guogang Li fec1c8f63f Enable a few flags for NC test
PiperOrigin-RevId: 684943491
2024-10-11 13:46:54 -07:00
hai007 53b09d452b [Safe-to-disconnect] Fix a bug in ReplaceChannelForEndpoint()
PiperOrigin-RevId: 679298374
2024-09-26 14:37:57 -07:00
Anay Wadhera 832d267e26 Switch to codegen for Nearby Connections flags.
PiperOrigin-RevId: 667396816
2024-08-25 17:31:33 -07:00
Guogang Li 4088e5904f Control Wi-Fi hotspot as client by flag
PiperOrigin-RevId: 663862186
2024-08-16 14:17:40 -07:00
Anay Wadhera b0f58ee5a0 Deprecate kCheckIllegalCharacters flag.
PiperOrigin-RevId: 660433186
2024-08-07 10:05:50 -07:00
Anay Wadhera 6a5626d057 Deprecate use_medium_in_connection_info flag.
PiperOrigin-RevId: 659623189
2024-08-05 11:33:34 -07:00
Anay Wadhera b6829008f2 Deprecate flag kProcessBwuFrameAfterPcpConnected
PiperOrigin-RevId: 659611911
2024-08-05 11:06:05 -07:00
Anay Wadhera 26d5055b13 Deprecate flag kIgnoreUpgradePathAvailableFrameForAdvertiser
PiperOrigin-RevId: 659123571
2024-08-03 11:08:50 -07:00
Guogang Li 9cbc4c0950 Add flag for instant on lost feature
PiperOrigin-RevId: 653075398
2024-07-16 20:43:09 -07:00
Guogang Li 755b22f048 Enable Fast Initiate BTC bit for non BLE extended device
PiperOrigin-RevId: 645066590
2024-06-20 09:53:56 -07:00
Guogang Li 735927ccad Add a flag to disable Bluetooth classic scanning.
PiperOrigin-RevId: 644612052
2024-06-18 21:36:05 -07:00
Guogang Li 7d86d17ba6 Add a flag to control whether to use stable endpoint ID.
PiperOrigin-RevId: 643041599
2024-06-13 10:21:51 -07:00
Eiden Kim 51dcfe807d Fix a crash in BasePcpHandler::BreakTie.
PiperOrigin-RevId: 638412219
2024-05-29 14:26:23 -07:00
Eiden Kim 76b4f6c51a Block any upgrade path available frames in Advertising side
PiperOrigin-RevId: 636753678
2024-05-23 19:29:19 -07:00
Eiden Kim dca2997f5d Added more checks to file path validation.
PiperOrigin-RevId: 635580793
2024-05-20 15:03:50 -07:00
hai007 7c72774167 Multiplex implementation - Create Multiplex Socket
PiperOrigin-RevId: 632628955
2024-05-10 16:11:26 -07:00
Eiden Kim 6d4f2c2606 Add a flag to check illegal characters in the file name and parent folder
PiperOrigin-RevId: 632577432
2024-05-10 12:50:45 -07:00
Eiden Kim b40a0d9046 Add a flag to nearby_connections_feature_flags.h manually
PiperOrigin-RevId: 625010913
2024-04-15 10:46:28 -07:00
hai007 2149b842f8 Allow client to use flags
PiperOrigin-RevId: 599243081
2024-01-17 11:50:06 -08:00
hai007 16cb7f70b3 Implement Auto-reconnect after disconnection [1]
PiperOrigin-RevId: 592344338
2023-12-19 14:27:40 -08:00
Guogang Li b7628b098b Set safe disconnection version to correct value
PiperOrigin-RevId: 561842110
2023-08-31 21:12:12 -07:00
hai007 55aedfb235 Implement Safe to Disconnect feature
PiperOrigin-RevId: 560119556
2023-08-25 09:51:44 -07:00
hai007 6823b7105d Remove dead code.
PiperOrigin-RevId: 544209534
2023-06-28 17:51:06 -07:00
Guogang Li f05bf7fc40 Fixed transfer sync issue in payload callback
PiperOrigin-RevId: 540333269
2023-06-14 11:37:45 -07:00
Guogang Li dbd42b0de3 Handle GATT query in separate thread
PiperOrigin-RevId: 538819295
2023-06-08 10:10:00 -07:00
Nick Bourdakos ae35b1a242 Internal change
PiperOrigin-RevId: 532215519
2023-05-15 13:56:22 -07:00
Guogang Li 072d24238b Made kPeripheralLostTimeout as flag
PiperOrigin-RevId: 530408275
2023-05-08 14:29:02 -07:00
hai007 b68431e6a8 Add IFTTT comment for linter.
PiperOrigin-RevId: 524593948
2023-04-15 20:30:24 -07:00
Guogang Li fd5430764f Created NearbyFlags to avoid create multiple classes
PiperOrigin-RevId: 516885843
2023-03-15 11:44:25 -07:00
Guogang Li acf0f09a3f Hooked up experiment for Nearby Connections
PiperOrigin-RevId: 516694135
2023-03-14 19:15:54 -07:00