Get desktop application:
View/edit binary Protocol Buffers messages
Nearby Connections authentication frame, contains the bytes format of a DeviceProvider's authentication message.
Used in:
An auth message generated by DeviceProvider. To be sent to the remote device for verification during connection setups.
Nearby Connections authentication result frame.
Used in:
The authentication result. Non null if this frame is used to exchange authentication result.
Used in:
Used in:
Used in:
Used in:
Available channels on the local device.
Used in:
Used in:
Exactly one of the following fields will be set.
Accompanies CLIENT_INTRODUCTION events.
Used in:
Accompanies CLIENT_INTRODUCTION_ACK events.
Used in:
(message has no fields)
Used in:
The event type that requires the remote device to send the available upgrade path.
Accompanies SAFE_TO_CLOSE_PRIOR_CHANNEL events.
Used in:
Accompanies UPGRADE_PATH_AVAILABLE and UPGRADE_FAILURE events.
Used in:
Exactly one of the following fields will be set.
Disable Encryption for this upgrade medium to improve throughput.
An ack will be sent after the CLIENT_INTRODUCTION frame.
Accompanies Medium.AWDL.
Used in:
Accompanies Medium.BLUETOOTH.
Used in:
Should always match cs/symbol:location.nearby.proto.connections.Medium
Used in: ,
10 is reserved.
Used in:
Supported mediums on the advertiser device.
Accompanies Medium.WEB_RTC
Used in:
Accompanies Medium.WIFI_AWARE.
Used in:
Accompanies Medium.WIFI_DIRECT.
Used in:
IPv6 link-local address, network order (128bits). The GO should listen on both IPv4 and IPv6 addresses. https://en.wikipedia.org/wiki/Link-local_address#IPv6
Accompanies Medium.WIFI_HOTSPOT.
Used in:
This field can be a band or frequency
Accompanies Medium.WIFI_LAN.
Used in:
Used in:
The mediums this device supports upgrading to. This list should be filtered by both the strategy and this device's individual limitations.
If true, expect the remote endpoint to send back the latest supported_medium.
Should always match cs/symbol:location.nearby.proto.connections.Medium LINT.IfChange
Used in:
1 is reserved.
Used in:
A random number generated for each outgoing connection that is presently used to act as a tiebreaker when 2 devices connect to each other simultaneously; this can also be used for other initialization-scoped things in the future.
The mediums this device supports upgrading to. This list should be filtered by both the strategy and this device's individual limitations.
The type of {@link Device} object.
The bytes of serialized {@link Device} object.
Represents the {@link Device} that invokes the request.
LINT.IfChange
Used in:
Should always match cs/symbol:location.nearby.proto.connections.Medium LINT.IfChange
Used in: ,
This doesn't need to send back endpoint_id and endpoint_name (like the ConnectionRequestFrame does) because those have already been transmitted out-of-band, at the time this endpoint was discovered.
Used in:
One of: - ConnectionsStatusCodes.STATUS_OK - ConnectionsStatusCodes.STATUS_CONNECTION_REJECTED.
A bitmask value to indicate which medium supports Multiplex transmission feature. Each supporting medium could utilize one bit starting from the least significant bit in this field. eq. BT utilizes the LSB bit which 0x01 means bt supports multiplex while 0x00 means not. Refer to ClientProxy.java for the bit usages.
Used to replace the status integer parameter with a meaningful enum item. Map ConnectionsStatusCodes.STATUS_OK to ACCEPT and ConnectionsStatusCodes.STATUS_CONNECTION_REJECTED to REJECT. Flag: connection_replace_status_with_response_connectionResponseFrame
Used in:
Used in:
Data Elements.
Informs the remote side to immediately severe the socket connection. Used in bandwidth upgrades to get around a race condition, but may be used in other situations to trigger a faster disconnection event than waiting for socket closed on the remote side.
Used in:
Apply safe-to-disconnect protocol if true.
Ack of receiving Disconnection frame will be sent to the sender frame.
Used in: ,
Used in:
And ack will be sent after receiving KEEP_ALIVE frame.
The sequence number
LocationHint is used to specify a location as well as format.
Used in: , ,
Location is the location, provided in the format specified by format.
the format of location.
(message has no fields)
Used in:
E164 country codes: https://en.wikipedia.org/wiki/List_of_country_calling_codes e.g. +1 for USA
ISO 3166-1 alpha-2 country codes: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Used in: ,
True if local device supports 5GHz.
WiFi LAN BSSID, in the form of a six-byte MAC address: XX:XX:XX:XX:XX:XX
IP address, in network byte order: the highest order byte of the address is in byte[0].
True if local device supports 6GHz.
True if local device has mobile radio.
The frequency of the WiFi LAN AP(in MHz). Or -1 is not associated with an AP over WiFi, -2 represents the active network uses an Ethernet transport.
Available channels on the local device.
Usable WiFi Direct client channels on the local device.
Usable WiFi LAN channels on the local device.
Usable WiFi Aware channels on the local device.
Usable WiFi Hotspot STA channels on the local device.
The supported medium roles.
The medium roles.
Used in:
Right now there's only 1 version, but if there are more, exactly one of the following fields will be set.
Used in:
Device capability for OS information.
Used in:
Used in:
g3 test environment
A paired key encryption packet sent between devices, contains signed data.
Used in:
The encrypted data (raw authentication token for the established connection) in byte array format.
Used in:
Exactly one of the following fields will be set, depending on the type.
Accompanies CONTROL packets.
Used in:
Used in:
Use PacketType.PAYLOAD_ACK instead
Used in:
Accompanies DATA packets.
Used in:
Used in:
Time since the epoch in milliseconds.
Used in:
Used in:
Data Elements.
Used in:
Used in:
Exactly one of the following fields will be set.
Used in:
Usable WiFi Aware channels on the local device.
Used in:
Usable WiFi Direct client channels on the local device.
Used in:
Usable WiFi Hotspot STA channels on the local device.
Used in:
Usable WiFi LAN channels on the local device.
Used in: