45 Commits
Author SHA1 Message Date
hai007 98de68b9de Add the change in GitHub (https://github.com/google/nearby/pull/4418) to g3 before auto syncing to unblock the follow up tasks.
PiperOrigin-RevId: 938346361
2026-06-25 20:42:43 -07:00
hai007 a24b2220fc Automated Code Change
PiperOrigin-RevId: 936630447
2026-06-23 06:34:38 -07:00
GovenLiuGoog 61374eadd2 Update offline_wire_formats.proto and regenerate bindings 2026-06-22 13:27:12 -04:00
edwinwugoog e205d8a08f PR #4395: Update proto definitions - offline_wire_formats.proto and connections…
Imported from GitHub PR https://github.com/google/nearby/pull/4395

…_enums.proto for WiFi Direct

<!--
  Thanks for submitting a pull request!
  We appreciate you spending the time to work on these changes. Please provide
  enough information so that others can review your pull request.
-->

## Summary

Update proto definitions - offline_wire_formats.proto and connections_enums.proto for WiFi Direct

## How did you test this change?

on test only update the proto definitions.

Copybara import of the project:

--
71aa603d4557652d87667455dc3233b8f7fd262a by Edwin Wu <edwinwu@google.com>:

Update proto definitions - offline_wire_formats.proto and connections_enums.proto for WiFi Direct

Merging this change closes #4395

PiperOrigin-RevId: 929606397
2026-06-09 22:27:52 -07:00
hai007 ea2a651911 Wi-Fi Direct Service Implementation(7)
PiperOrigin-RevId: 834584965
2025-11-19 21:45:43 -08:00
hai007 431a020310 Wi-Fi Direct Service Implementation(6)
PiperOrigin-RevId: 833533194
2025-11-17 16:04:50 -08:00
Francis Tsui 57a607f162 Fix proto spelling error.
PiperOrigin-RevId: 829189864
2025-11-06 18:17:06 -08:00
Francis Tsui b85719eae5 Extend bandwidth negotiation frame to support multiple IP addresses.
PiperOrigin-RevId: 828031732
2025-11-04 10:26:32 -08:00
Guogang Li ed73963b6b Add password field for AWDL Credential
PiperOrigin-RevId: 757944784
2025-05-12 15:54:46 -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 d61ed675b7 Add AWDL credential for AWDL upgrade
PiperOrigin-RevId: 754965804
2025-05-05 14:17:49 -07:00
Johnson Lu 3e3733b10d Add fields for dynamic role switching
PiperOrigin-RevId: 742474968
2025-03-31 18:20:49 -07:00
Guogang Li fd2cba8f05 Update proto files to include AWDL medium
PiperOrigin-RevId: 738078567
2025-03-18 11:21:54 -07:00
Johnson Lu 45ee0d0df3 Add version to AutoResumeFrame
PiperOrigin-RevId: 733181295
2025-03-03 22:05:51 -08:00
Anay Wadhera f94c4837d7 add date last modified to payload header
PiperOrigin-RevId: 725738383
2025-02-11 12:54:28 -08:00
Johnson Lu 2b861b63e2 Add last_endpoint_id to AutoReconnectFrame
PiperOrigin-RevId: 715189500
2025-01-13 18:50:38 -08:00
Johnson Lu 686e31e337 Add keep_alive_timeout_millis in the ConnectionResponseFrame
PiperOrigin-RevId: 703665365
2024-12-06 17:45:01 -08:00
Johnson Lu 9acac17b88 Add location_hint field
PiperOrigin-RevId: 700541585
2024-11-26 20:14:35 -08:00
Johnson Lu 0dd8d5c8eb Add WEB_RTC_NON_CELLULAR enum
PiperOrigin-RevId: 679384625
2024-09-26 19:28:23 -07:00
hai007 f0115df88b Internal change
PiperOrigin-RevId: 663333107
2024-08-15 09:40:28 -07:00
hai007 bac83ef6a1 add station frequency in SAFE_TO_CLOSE_PRIOR_CHANNEL event
PiperOrigin-RevId: 661157431
2024-08-09 00:41:44 -07:00
hai007 00e8286021 add connection mode
PiperOrigin-RevId: 633706665
2024-05-14 14:28:03 -07:00
hai007 b675986871 create a new PacketType "PAYLOAD_ACK" to replace ControlMessage.EventType "PAYLOAD_RECEIVED_ACK"
PiperOrigin-RevId: 588287541
2023-12-05 21:47:49 -08:00
hai007 eb4a37084b Support dynamic upgrade when the device is connected to Wifi AP after initial connection.
PiperOrigin-RevId: 556959762
2023-08-14 17:25:59 -07:00
hai007 15d24c08a5 Add sequence number for keep alive packet
PiperOrigin-RevId: 550613263
2023-07-24 10:59:52 -07:00
hai007 036d4ee490 Exchange ClientIntroductionFrame/ClientIntroductionAckFrame after reconnected successfully
PiperOrigin-RevId: 544683178
2023-06-30 09:58:09 -07:00
hai007 ebe02e1174 Allow auto-resume the payload transfer when disconnection
PiperOrigin-RevId: 540438831
2023-06-14 18:35:04 -07:00
hai007 e77c1e862e safe_to_disconnect_version for safe-to-disconnect features.
PiperOrigin-RevId: 537501354
2023-06-03 00:01:35 -07:00
Johnson Lu 83739b3185 [Connections] Switch to use P2P IPv6 address
PiperOrigin-RevId: 527502244
2023-04-27 01:05:22 -07:00
Edwin Wu 576b0babfa [Connections] Implement NC/NP Handshake & Connection Authentication, part IV
PiperOrigin-RevId: 525618680
2023-04-19 19:56:59 -07:00
Edwin Wu a706e95e7b [Connections] Implement NC/NP Handshake & Connection Authentication, part III
PiperOrigin-RevId: 525615681
2023-04-19 19:32:44 -07:00
Johnson Lu 7fb90aea30 Add connections_device and presence_device fields in ConnectionRequestFrame
PiperOrigin-RevId: 523024392
2023-04-09 21:12:02 -07:00
hai007 3f61031345 1. Supports payload received ack sync for sender
2. Supports safe-to-disconnect check (no auto reconnect or auto resume transfer yet)

PiperOrigin-RevId: 517191691
2023-03-16 12:17:04 -07:00
hai007 fbee16103b Supports Multiplex transmission for Bluetooth to allow multiple clients reuse the existed connection. See go/nc_multiplex for more details.
PiperOrigin-RevId: 517039657
2023-03-16 00:11:27 -07:00
hai007 86d33f749a Supports Multiplex transmission for Bluetooth to allow multiple clients reuse the existed connection. See go/nc_multiplex for more details.
PiperOrigin-RevId: 517028681
2023-03-15 22:54:56 -07:00
Edwin Wu d37c80dfc5 [Nearby Connections] Add OS_INFO at initial connection for BWU protocol.
PiperOrigin-RevId: 508561261
2023-02-09 21:37:28 -08:00
Johnson Lu cf26a98379 Add gateway field in WifiDirectCredentials
PiperOrigin-RevId: 481066785
2022-10-13 23:15:51 -07:00
xlythe 859a0ecb27 Add USB enum
PiperOrigin-RevId: 461149613
2022-07-15 01:49:46 -07:00
johnsonlu ce80804639 Modify the comment of MediumMetaData.ap_frequency
PiperOrigin-RevId: 455297318
2022-06-15 22:19:39 -07:00
johnsonlu 58d14a36bf Add comments of MediumMetadata
PiperOrigin-RevId: 449641256
2022-05-18 20:17:56 -07:00
edwinwu 433d9d84f8 BEGIN_PUBLIC
Fix the format of offline_wire_formats.proto
END_PUBLIC.

-- error caused by copybara-presubmit =>

```
Migration resulted in error 'PERMANENT_ERROR'
Non reversible transformations:

diff --git a/origin/google3/third_party/nearby/connections/implementation/proto/offline_wire_formats.proto b/reverse/google3/third_party/nearby/connections/implementation/proto/offline_wire_formats.proto
index de0aed4..5d4bb08 100644
--- a/origin/google3/third_party/nearby/connections/implementation/proto/offline_wire_formats.proto
+++ b/reverse/google3/third_party/nearby/connections/implementation/proto/offline_wire_formats.proto
@@ -143,7 +143,9 @@ message PayloadTransferFrame {

   // Accompanies DATA packets.
   message PayloadChunk {
-    enum Flags { LAST_CHUNK = 0x1; }
+    enum Flags {
+      LAST_CHUNK = 0x1;
+    }
     optional int32 flags = 1;
     optional int64 offset = 2;
     optional bytes body = 3;

Workflow 'presubmit_piper_to_github' is not reversible
Configuration errorErrors happened during the migration
```

PiperOrigin-RevId: 430878757
2022-02-25 14:53:56 -08:00
johnsonlu 81bdb7adc9 Create a Bluetooth endpoint for Device inject connections. Will implement connection lifecycle callback for the inject connections in the following CL.
PiperOrigin-RevId: 430573921
2022-02-25 14:53:56 -08:00
hais a5086f3878 Modify copybara rules
PiperOrigin-RevId: 426029875
2022-02-02 19:09:34 -08:00
suetfei 287f0d7174 Internal Flow change for BUILD.
PiperOrigin-RevId: 424991730
2022-02-02 11:51:37 -08:00
suetfei 5e845655bb [Nearby Directory Refactoring] Move nearby/proto codes into the appropriate directories.
PiperOrigin-RevId: 421636973
2022-01-13 12:48:51 -08:00