mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
No changes to public files
PiperOrigin-RevId: 392585608
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Copyright 2020 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
load("//tools/build_defs/proto/cpp:cc_proto_library.bzl", "cc_proto_library")
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
proto_library(
|
||||
name = "connections_log_proto",
|
||||
srcs = [
|
||||
"connections_log.proto",
|
||||
],
|
||||
cc_api_version = 2,
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
deps = [
|
||||
"//storage/datapol/annotations/proto:datapol_annotations",
|
||||
"//proto:connections_enums_proto",
|
||||
"//third_party/nearby_connections/proto/errorcode:error_code_enums_proto",
|
||||
],
|
||||
)
|
||||
|
||||
cc_proto_library(
|
||||
name = "connections_log_cc_proto",
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
visibility = [
|
||||
"//third_party/nearby_connections:__subpackages__",
|
||||
],
|
||||
deps = [":connections_log_proto"],
|
||||
)
|
||||
|
||||
java_lite_proto_library(
|
||||
name = "connections_log_java_proto_lite",
|
||||
deps = [":connections_log_proto"],
|
||||
)
|
||||
@@ -0,0 +1,357 @@
|
||||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto2";
|
||||
|
||||
package location.nearby.analytics.proto;
|
||||
|
||||
import "storage/datapol/annotations/proto/semantic_annotations.proto";
|
||||
import "third_party/nearby_connections/proto/connections_enums.proto";
|
||||
import "third_party/nearby_connections/proto/errorcode/error_code_enums.proto";
|
||||
|
||||
option optimize_for = LITE_RUNTIME;
|
||||
option java_package = "com.google.location.nearby.analytics.proto";
|
||||
option java_outer_classname = "ConnectionsLogProto";
|
||||
option objc_class_prefix = "GNCP";
|
||||
|
||||
// Top-level log proto for Nearby Connections.
|
||||
// LINT.IfChange(ConnectionsLog)
|
||||
message ConnectionsLog {
|
||||
// The type of this log.
|
||||
optional location.nearby.proto.connections.EventType event_type = 1;
|
||||
|
||||
// Non-null for EventType.CLIENT_SESSION.
|
||||
// Encapsulates all client activity between connecting to and disconnecting
|
||||
// from the Nearby Connections API via Client.
|
||||
optional ClientSession client_session = 2;
|
||||
|
||||
// The version of Nearby Connections. E.g. "v1.0.4".
|
||||
optional string version = 3 [(datapol.semantic_type) = ST_SOFTWARE_ID];
|
||||
|
||||
// for EventType.ERROR_CODE
|
||||
optional ErrorCode error_code = 4;
|
||||
|
||||
// Encapsulates one session of a client connected to Nearby Connections API.
|
||||
message ClientSession {
|
||||
// Elapsed time in milliseconds between Client connect and
|
||||
// disconnect.
|
||||
optional int64 duration_millis = 1;
|
||||
|
||||
// Zero or more StrategySessions.
|
||||
repeated StrategySession strategy_session = 2;
|
||||
}
|
||||
|
||||
// One round of a particular Strategy done by a client.
|
||||
message StrategySession {
|
||||
// Elapsed time in milliseconds between a call to startAdvertising/Discovery
|
||||
// and the end of this particular Strategy. A StrategySession may end due to
|
||||
// - the client disconnecting from Client;
|
||||
// - a call to stopAllEndpoints, which disconnects all endpoints and
|
||||
// stops any advertising/discovery;
|
||||
// - a new call to startAdvertising/Discovery.
|
||||
optional int64 duration_millis = 1;
|
||||
|
||||
// The Strategy used for this session.
|
||||
optional location.nearby.proto.connections.ConnectionsStrategy strategy = 2;
|
||||
|
||||
// The role(s) played by this device during this StrategySession.
|
||||
repeated location.nearby.proto.connections.SessionRole role = 3;
|
||||
|
||||
// One or more of the following *Phase is present, depending on the role(s).
|
||||
|
||||
// Encapsulates discovery information.
|
||||
repeated DiscoveryPhase discovery_phase = 4;
|
||||
// Encapsulates advertising information.
|
||||
repeated AdvertisingPhase advertising_phase = 5;
|
||||
|
||||
// Attempts at establishing a connection to another device.
|
||||
repeated ConnectionAttempt connection_attempt = 6;
|
||||
|
||||
// Successful and accepted connections to another device.
|
||||
repeated EstablishedConnection established_connection = 7;
|
||||
|
||||
// Attempts to upgrade a connection from one medium to another.
|
||||
repeated BandwidthUpgradeAttempt upgrade_attempt = 9;
|
||||
}
|
||||
|
||||
// Encapsulates activity during a period of discovery.
|
||||
message DiscoveryPhase {
|
||||
// Elapsed time in milliseconds between startDiscovery and stopDiscovery.
|
||||
optional int64 duration_millis = 1;
|
||||
|
||||
// The Medium(s) used for discovery.
|
||||
repeated location.nearby.proto.connections.Medium medium = 2;
|
||||
|
||||
// Discovered endpoints during this round of discovery.
|
||||
repeated DiscoveredEndpoint discovered_endpoint = 3;
|
||||
|
||||
// Attempted ConnectionRequests (requested by the client). They may or
|
||||
// may not reach the other endpoint.
|
||||
repeated ConnectionRequest sent_connection_request = 4;
|
||||
|
||||
// UWB ranging related data during discovery (May range with multiple
|
||||
// endpoints)
|
||||
repeated UwbRangingProcess uwb_ranging = 5;
|
||||
|
||||
// The SendingEvent flow id.
|
||||
optional int64 client_flow_id = 6 [(datapol.semantic_type) = ST_SESSION_ID];
|
||||
}
|
||||
|
||||
// An endpoint discovered on a particular medium during discovery.
|
||||
message DiscoveredEndpoint {
|
||||
// The medium on which this endpoint was discovered.
|
||||
optional location.nearby.proto.connections.Medium medium = 1;
|
||||
|
||||
// Elapsed time between the call to startDiscovery() and the time at which
|
||||
// this endpoint was discovered.
|
||||
optional int64 latency_millis = 2;
|
||||
}
|
||||
|
||||
// Encapsulates activity during UWB ranging.
|
||||
message UwbRangingProcess {
|
||||
// Elapsed time in milliseconds between startRanging and stopRanging.
|
||||
optional int64 duration_millis = 1;
|
||||
|
||||
// UWB raw ranging data received during discovery. This is optional. Only
|
||||
// certain devices (Debug/Testing etc.) will log the raw data.
|
||||
repeated RawUwbRangingEvent uwb_ranging_data = 2;
|
||||
|
||||
// Number of ranging data received
|
||||
optional int32 number_of_ranging_data = 3;
|
||||
|
||||
// The minimum distance during a UWB ranging session
|
||||
optional int32 distance_min = 4;
|
||||
|
||||
// The maximum distance during a UWB ranging session
|
||||
optional int32 distance_max = 5;
|
||||
|
||||
// The average distance during a UWB ranging session
|
||||
optional int32 distance_ave = 6;
|
||||
|
||||
// The distance variance during a UWB ranging session
|
||||
optional int32 distance_variance = 7;
|
||||
|
||||
// The minimum AoA during a UWB ranging session
|
||||
optional int32 azimuth_min = 8;
|
||||
|
||||
// The maximum AoA during a UWB ranging session
|
||||
optional int32 azimuth_max = 9;
|
||||
|
||||
// The average AoA during a UWB ranging session
|
||||
optional int32 azimuth_ave = 10;
|
||||
|
||||
// The AoA variance during a UWB ranging session
|
||||
optional int32 azimuth_variance = 11;
|
||||
}
|
||||
|
||||
// Ranging data received during discovery phase.
|
||||
message RawUwbRangingEvent {
|
||||
// Distance in cm
|
||||
optional int32 distance = 1;
|
||||
|
||||
// Azimuth angle in degree
|
||||
optional int32 azimuth_angle = 2;
|
||||
|
||||
// Polar angle in degree (0 if the device doesn't support it)
|
||||
optional int32 polar_angle = 3;
|
||||
}
|
||||
|
||||
// Encapsulates activity during a period of advertising.
|
||||
message AdvertisingPhase {
|
||||
// Elapsed time in milliseconds between startAdvertising and
|
||||
// stopAdvertising.
|
||||
optional int64 duration_millis = 1;
|
||||
|
||||
// The Medium(s) used for advertising.
|
||||
repeated location.nearby.proto.connections.Medium medium = 2;
|
||||
|
||||
// Received ConnectionRequests from remote endpoints.
|
||||
repeated ConnectionRequest received_connection_request = 3;
|
||||
|
||||
// The ReceivingEvent flow id.
|
||||
optional int64 client_flow_id = 4 [(datapol.semantic_type) = ST_SESSION_ID];
|
||||
}
|
||||
|
||||
// A request to connect, corresponding to the API's concept of
|
||||
// request/accept/rejectConnection().
|
||||
message ConnectionRequest {
|
||||
// Elapsed time in milliseconds between the connection request being
|
||||
// initiated and the responses being received.
|
||||
optional int64 duration_millis = 1;
|
||||
|
||||
// Elapsed time in milliseconds between the start of the containing
|
||||
// Advertising/DiscoveryPhase and the start of this ConnectionRequest, i.e.
|
||||
// the time at which the request is sent (on the discoverer, at the request
|
||||
// of the client) or received (on the advertiser, over the wire from the
|
||||
// remote endpoint).
|
||||
optional int64 request_delay_millis = 2;
|
||||
|
||||
// The local endpoint's response to this connection request.
|
||||
optional location.nearby.proto.connections.ConnectionRequestResponse
|
||||
local_response = 3;
|
||||
|
||||
// The remote endpoint's response to this connection request.
|
||||
optional location.nearby.proto.connections.ConnectionRequestResponse
|
||||
remote_response = 4;
|
||||
|
||||
// The SendingEvent flow id.
|
||||
optional int64 client_flow_id = 5 [(datapol.semantic_type) = ST_SESSION_ID];
|
||||
}
|
||||
|
||||
// An attempt to connect to an endpoint over a particular medium.
|
||||
message ConnectionAttempt {
|
||||
// Elapsed time in milliseconds between starting the connection attempt
|
||||
// and succeeding/failing.
|
||||
optional int64 duration_millis = 1;
|
||||
|
||||
// The type of connection attempt.
|
||||
optional location.nearby.proto.connections.ConnectionAttemptType type = 2;
|
||||
|
||||
// The direction (incoming vs outgoing) of this attempt.
|
||||
optional location.nearby.proto.connections.ConnectionAttemptDirection
|
||||
direction = 3;
|
||||
|
||||
// The Medium of this connection attempt.
|
||||
optional location.nearby.proto.connections.Medium medium = 4;
|
||||
|
||||
// The result of the connection attempt.
|
||||
optional location.nearby.proto.connections.ConnectionAttemptResult
|
||||
attempt_result = 5;
|
||||
|
||||
// The ReceivingEvent flow id.
|
||||
optional int64 client_flow_id = 6 [(datapol.semantic_type) = ST_SESSION_ID];
|
||||
|
||||
// The token used to identify this connection pair.
|
||||
optional string connection_token = 7
|
||||
[(datapol.semantic_type) = ST_SESSION_ID];
|
||||
}
|
||||
|
||||
// A successfully-established connection over a particular medium.
|
||||
message EstablishedConnection {
|
||||
// Elapsed time in milliseconds that the connection is active.
|
||||
optional int64 duration_millis = 1;
|
||||
|
||||
// The Medium of this connection.
|
||||
optional location.nearby.proto.connections.Medium medium = 2;
|
||||
|
||||
// Payloads sent over this connection.
|
||||
repeated Payload sent_payload = 3;
|
||||
|
||||
// Payloads received over this connection.
|
||||
repeated Payload received_payload = 4;
|
||||
|
||||
// The reason this connection was disconnected.
|
||||
optional location.nearby.proto.connections.DisconnectionReason
|
||||
disconnection_reason = 5;
|
||||
|
||||
// The SendingEvent flow id.
|
||||
optional int64 client_flow_id = 6 [(datapol.semantic_type) = ST_SESSION_ID];
|
||||
|
||||
// The token use to identify this established connection.
|
||||
optional string connection_token = 7
|
||||
[(datapol.semantic_type) = ST_SESSION_ID];
|
||||
}
|
||||
|
||||
// A Payload transferred (or attempted to be transferred) between devices.
|
||||
message Payload {
|
||||
// Elapsed time in milliseconds that num_bytes_transferred took to transfer.
|
||||
optional int64 duration_millis = 1;
|
||||
|
||||
// The type of this payload.
|
||||
optional location.nearby.proto.connections.PayloadType type = 2;
|
||||
|
||||
// Total size of the payload in bytes.
|
||||
optional int64 total_size_bytes = 3;
|
||||
|
||||
// Total number of bytes transferred successfully.
|
||||
optional int64 num_bytes_transferred = 4;
|
||||
|
||||
// The number of chunks used to transfer num_bytes_transferred.
|
||||
optional int32 num_chunks = 5;
|
||||
|
||||
// The end status of the payload transfer.
|
||||
optional location.nearby.proto.connections.PayloadStatus status = 6;
|
||||
}
|
||||
|
||||
// An attempt to upgrade an existing connection from one medium to another.
|
||||
message BandwidthUpgradeAttempt {
|
||||
// The direction (incoming vs outgoing) of the upgrade attempt.
|
||||
optional location.nearby.proto.connections.ConnectionAttemptDirection
|
||||
direction = 1;
|
||||
|
||||
// Elapsed time in milliseconds of the upgrade attempt.
|
||||
optional int64 duration_millis = 2;
|
||||
|
||||
// The original medium (e.g. bluetooth).
|
||||
optional location.nearby.proto.connections.Medium from_medium = 3;
|
||||
|
||||
// The new medium that we're hoping to upgrade to (e.g. wifi).
|
||||
optional location.nearby.proto.connections.Medium to_medium = 4;
|
||||
|
||||
// The result of the upgrade attempt.
|
||||
optional location.nearby.proto.connections.BandwidthUpgradeResult
|
||||
upgrade_result = 5;
|
||||
|
||||
// If upgrade_result is not success, the stage at which the error occurred.
|
||||
optional location.nearby.proto.connections.BandwidthUpgradeErrorStage
|
||||
error_stage = 6;
|
||||
|
||||
// The SendingEvent flow id.
|
||||
optional int64 client_flow_id = 7 [(datapol.semantic_type) = ST_SESSION_ID];
|
||||
|
||||
// The token used to identify this upgrade pair.
|
||||
optional string connection_token = 8
|
||||
[(datapol.semantic_type) = ST_SESSION_ID];
|
||||
}
|
||||
|
||||
// Next Id: 17
|
||||
message ErrorCode {
|
||||
// The direction (incoming vs outgoing) of this error.
|
||||
optional location.nearby.proto.connections.ConnectionAttemptDirection
|
||||
direction = 1;
|
||||
optional string service_id = 2;
|
||||
// The error medium (e.g. bluetooth).
|
||||
optional location.nearby.proto.connections.Medium medium = 3;
|
||||
// The event which the error occurs on.
|
||||
optional location.nearby.errorcode.proto.Event event = 4;
|
||||
// The error description.
|
||||
optional location.nearby.errorcode.proto.Description description = 5;
|
||||
// The flow id which the error occurs on.
|
||||
optional int64 flow_id = 6 [(datapol.semantic_type) = ST_SESSION_ID];
|
||||
|
||||
// Error code value
|
||||
oneof ErrorCodeDetail {
|
||||
location.nearby.errorcode.proto.CommonError common_error = 7;
|
||||
location.nearby.errorcode.proto.StartAdvertisingError
|
||||
start_advertising_error = 8;
|
||||
location.nearby.errorcode.proto.StartDiscoveringError
|
||||
start_discovering_error = 9;
|
||||
location.nearby.errorcode.proto.StopAdvertisingError
|
||||
stop_advertising_error = 10;
|
||||
location.nearby.errorcode.proto.StopDiscoveringError
|
||||
stop_discovering_error = 11;
|
||||
location.nearby.errorcode.proto.StartListeningIncomingConnectionError
|
||||
start_listening_incoming_connection_error = 12;
|
||||
location.nearby.errorcode.proto.StopListeningIncomingConnectionError
|
||||
stop_listening_incoming_connection_error = 13;
|
||||
location.nearby.errorcode.proto.ConnectError connect_error = 14;
|
||||
location.nearby.errorcode.proto.DisconnectError disconnect_error = 15;
|
||||
}
|
||||
|
||||
// The token use to identify this established connection.
|
||||
optional string connection_token = 16
|
||||
[(datapol.semantic_type) = ST_SESSION_ID];
|
||||
}
|
||||
}
|
||||
// LINT.ThenChange()
|
||||
@@ -303,6 +303,12 @@ message MediumMetadata {
|
||||
optional AvailableChannels available_channels = 7;
|
||||
// Usable WiFi Direct client channels on the local device.
|
||||
optional WifiDirectCliUsableChannels wifi_direct_cli_usable_channels = 8;
|
||||
// Usable WiFi LAN channels on the local device.
|
||||
optional WifiLanUsableChannels wifi_lan_usable_channels = 9;
|
||||
// Usable WiFi Aware channels on the local device.
|
||||
optional WifiAwareUsableChannels wifi_aware_usable_channels = 10;
|
||||
// Usable WiFi Hotspot STA channels on the local device.
|
||||
optional WifiHotspotStaUsableChannels wifi_hotspot_sta_usable_channels = 11;
|
||||
}
|
||||
|
||||
// Available channels on the local device.
|
||||
@@ -315,6 +321,21 @@ message WifiDirectCliUsableChannels {
|
||||
repeated int32 channels = 1 [packed = true];
|
||||
}
|
||||
|
||||
// Usable WiFi LAN channels on the local device.
|
||||
message WifiLanUsableChannels {
|
||||
repeated int32 channels = 1 [packed = true];
|
||||
}
|
||||
|
||||
// Usable WiFi Aware channels on the local device.
|
||||
message WifiAwareUsableChannels {
|
||||
repeated int32 channels = 1 [packed = true];
|
||||
}
|
||||
|
||||
// Usable WiFi Hotspot STA channels on the local device.
|
||||
message WifiHotspotStaUsableChannels {
|
||||
repeated int32 channels = 1 [packed = true];
|
||||
}
|
||||
|
||||
// LocationHint is used to specify a location as well as format.
|
||||
message LocationHint {
|
||||
// Location is the location, provided in the format specified by format.
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
# Copyright 2020 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Proto for Nearby products
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
proto_library(
|
||||
name = "error_code_enums_proto",
|
||||
srcs = ["error_code_enums.proto"],
|
||||
cc_api_version = 2,
|
||||
compatible_with = ["//buildenv/target:non_prod"],
|
||||
deps = [
|
||||
"//logs/proto/logs_annotations",
|
||||
],
|
||||
)
|
||||
|
||||
java_lite_proto_library(
|
||||
name = "error_code_enums_java_proto_lite",
|
||||
deps = [":error_code_enums_proto"],
|
||||
)
|
||||
@@ -0,0 +1,500 @@
|
||||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto2";
|
||||
|
||||
package location.nearby.errorcode.proto;
|
||||
|
||||
|
||||
|
||||
|
||||
option optimize_for = LITE_RUNTIME;
|
||||
option java_package = "com.google.location.nearby.errorcode.proto";
|
||||
option java_outer_classname = "ErrorCodeEnums";
|
||||
option objc_class_prefix = "GNCP";
|
||||
|
||||
// The type of the error.
|
||||
// It help to sort error codes to different types to analyze and also impact the
|
||||
// logcat print it as Warning or Severe.
|
||||
enum ErrorType {
|
||||
UNKNOWN_TYPE = 0;
|
||||
|
||||
// The error should not happen on production, it's like the input is null or
|
||||
// not invalid or it's a unexpected API call. For example, start advertising
|
||||
// with empty service ID or start advertising with the same service ID twice.
|
||||
DEVELOPING = 1;
|
||||
|
||||
// It’s about the device's capabilities, some devices may not support the
|
||||
// feature Nearby used. E.g. The device not support BLE advertising
|
||||
DEVICE = 2;
|
||||
|
||||
// The failure return from the system or library API we used to communicate
|
||||
// with the medium. E.g. get null OS objects or call the API but get a
|
||||
// negative return value which indicates that the system does not allow to do
|
||||
// that now.
|
||||
SYSTEM = 3;
|
||||
|
||||
// The network related failure. E.g. get an EOF exception while reading pipe
|
||||
// or fail to create connection.
|
||||
NETWORK = 4;
|
||||
|
||||
// This may not be a failure, it can be the things we are interested in, like
|
||||
// to count how many BLE advertisements the device received in a specified
|
||||
// period and how many different advertisements in it, it can help us to know
|
||||
// the user under a clean or dirty environment.
|
||||
OTHERS = 5;
|
||||
}
|
||||
|
||||
// The event which the error occurs on.
|
||||
enum Event {
|
||||
UNKNOWN_EVENT = 0;
|
||||
START_ADVERTISING = 1;
|
||||
STOP_ADVERTISING = 2;
|
||||
START_LISTENING_INCOMING_CONNECTION = 3;
|
||||
STOP_LISTENING_INCOMING_CONNECTION = 4;
|
||||
START_DISCOVERING = 5;
|
||||
STOP_DISCOVERING = 6;
|
||||
CONNECT = 7;
|
||||
DISCONNECT = 8;
|
||||
ACCEPT_CONNECTION = 9;
|
||||
REJECT_CONNECTION = 10;
|
||||
SEND_PAYLOAD = 11;
|
||||
CANCEL_PAYLOAD = 12;
|
||||
RECEIVE_PAYLOAD = 13;
|
||||
}
|
||||
|
||||
// The error to identify the common failure for all mediums. The range between 0
|
||||
// and 30.
|
||||
enum CommonError {
|
||||
UNKNOWN_ERROR = 0;
|
||||
|
||||
// The common error for all mediums, the range between 0 and 30.
|
||||
|
||||
// Developing error, the input with invalid format or empty.
|
||||
INVALID_PARAMETER = 1;
|
||||
// Device error, the medium not available on this device.
|
||||
MEDIUM_NOT_AVAILABLE = 2;
|
||||
// System error, the medium in the unexpected state, e.g. we have check the
|
||||
// medium is on, after then it suddently off and cause Nearby
|
||||
// Connection failed.
|
||||
UNEXPECTED_MEDIUM_STATE = 3;
|
||||
// System error, the medim not available because the resource ran out. e.g.
|
||||
// the Wi-Fi Direct initialized cause Wi-Fi Aware not available, or BLE
|
||||
// connections hit the maximan number, or Wi-Fi Hotstop already created.
|
||||
OUT_OF_RESOURCE = 4;
|
||||
// Others error, the error happens when user cancel the flow, it's not a
|
||||
// real failure.
|
||||
FLOW_CANCELED = 5;
|
||||
// Developing error, an unexpect call that the medium not ready, need to do
|
||||
// something before this call. e.g. call WifiAwareImpli#connectToSocket but
|
||||
// never join network before this call.
|
||||
UNEXPECTED_CALL = 6;
|
||||
|
||||
// Reserved 7 to 30
|
||||
}
|
||||
|
||||
// The error for event START_ADVERTISING. The range between 31 and 99.
|
||||
enum StartAdvertisingError {
|
||||
reserved 37, 39;
|
||||
|
||||
// Developing error, not allow to advertising fast pair model id and sharing
|
||||
// fast advertisement at the same time, they are both use fast
|
||||
// advertisement, and only allow 1 fast advertisement at the same time.
|
||||
MULTIPLE_FAST_ADVERTISEMENT_NOT_ALLOWED = 31;
|
||||
// System error, there's already someone advertising fast advertisement, not
|
||||
// allow to start another one.
|
||||
FAST_ADVERTISEMENT_ALREADY_ADVERTISED = 32;
|
||||
// Developing error, this service ID already requested, should not request
|
||||
// it again without stop advertising.
|
||||
DUPLICATE_ADVERTISING_REQUESTED = 33;
|
||||
// System error, failed to start GATT server
|
||||
START_GATT_SERVER_FAILED = 34;
|
||||
// System error, all advertising slot ran out, can't available for new
|
||||
// regular advertisement.
|
||||
BLE_MAX_GATT_ADVERTISEMENT_SLOT_REACHED = 35;
|
||||
// System error, failed to start advertising for legacy advertisements on BLE
|
||||
START_LEGACY_ADVERTISING_FAILED = 36;
|
||||
// System error, failed to start advertising for extended advertisements on
|
||||
// BLE
|
||||
START_EXTENDED_ADVERTISING_FAILED = 38;
|
||||
// System error, there's already someone advertising on Bluetooth, not allow
|
||||
// to start another one.
|
||||
BLUETOOTH_ALREADY_ADVERTISED = 40;
|
||||
// System error, failed to modify the Bluetooth name.
|
||||
MODIFY_BLUETOOTH_NAME_FAILED = 41;
|
||||
// System error, failed to persist the original Bluetooth name into shared
|
||||
// preference.
|
||||
PERSIST_ORIGINAL_BLUETOOTH_NAME_FAILED = 42;
|
||||
// System error, failed to start advertising.
|
||||
START_ADVERTISING_FAILED = 43;
|
||||
|
||||
// Developing error, not allow to advertising on Wi-Fi Lan(TDLS) without
|
||||
// accetpting connections. The connection may comes in very quickly, so need
|
||||
// to accetpt connections before advertising.
|
||||
SHOULD_ACCEPT_CONNECTIONS_BEFORE_ADVERTISING_ON_WIFI_LAN = 44;
|
||||
// System error, failed to acquire WifiAwareSession
|
||||
ACQUIRE_WIFI_AWARE_SESSION_FAILED = 45;
|
||||
|
||||
// The default value for clearcut
|
||||
UNKNOWN_START_ADVERTISING_ERROR = 46;
|
||||
|
||||
// System error, failed to update Aware PublishConfig
|
||||
AWARE_UPDATE_PUBLISHING_FAILED = 47;
|
||||
|
||||
// Next ID :48
|
||||
}
|
||||
|
||||
// The error for event STOP_ADVERTISING. The range between 31 and 99.
|
||||
enum StopAdvertisingError {
|
||||
// System error, failed to stop advertising.
|
||||
STOP_ADVERTISING_FAILED = 31;
|
||||
// System error, failed to modify the Bluetooth name.
|
||||
RESTORE_BLUETOOTH_NAME_FAILED = 32;
|
||||
// System error, failed to stop advertising for BLE legacy advertisements.
|
||||
STOP_LEGACY_ADVERTISING_FAILED = 33;
|
||||
// System error, failed to stop advertising for BLE extended advertisements.
|
||||
STOP_EXTENDED_ADVERTISING_FAILED = 34;
|
||||
|
||||
// The default value for clearcut
|
||||
UNKNOWN_STOP_ADVERTISING_ERROR = 35;
|
||||
|
||||
// Next ID :36
|
||||
}
|
||||
|
||||
// The error for event START_DISCOVERING. The range between 31 and 99.
|
||||
enum StartDiscoveringError {
|
||||
// Developing error, this service ID already requested, should not request it
|
||||
// again without stop discovering.
|
||||
DUPLICATE_DISCOVERING_REQUESTED = 31;
|
||||
// System error, failed to start discovering for legacy advertisements on BLE
|
||||
START_LEGACY_DISCOVERING_FAILED = 32;
|
||||
// System error, failed to start discovering for extended advertisements on
|
||||
// BLE
|
||||
START_EXTENDED_DISCOVERING_FAILED = 33;
|
||||
// System error, failed to start discovering.
|
||||
START_DISCOVERING_FAILED = 34;
|
||||
// Network error, invalid remote target info, discover the nearby devices but
|
||||
// the information not valid.
|
||||
INVALID_TARGET_INFO = 35;
|
||||
// Network error, failed to fetch the advertisement from the remote devices.
|
||||
FETCH_ADVERTISEMENT_FAILED = 36;
|
||||
// Network error, failed to fetch the advertisement via GATT from the remote
|
||||
// devices.
|
||||
GATT_FETCH_ADVERTISEMENT_FAILED = 37;
|
||||
// Network error, failed to fetch the advertisement via L2CAP from the remote
|
||||
// devices.
|
||||
L2CAP_FETCH_ADVERTISEMENT_FAILED = 38;
|
||||
// System error, the medium not available when trying to fetch advertisements.
|
||||
// e.g. fetch advertisements but BT disabled unexpectedly.
|
||||
NOT_AVAILABLE_TO_FETCH_ADVERTISEMENT = 39;
|
||||
// System error, failed to acquire WifiAwareSession
|
||||
ACQUIRE_WIFI_AWARE_SESSION_FOR_DISCOVERING_FAILED = 40;
|
||||
|
||||
// The default value for clearcut
|
||||
UNKNOWN_START_DISCOVERING_ERROR = 41;
|
||||
|
||||
// Next ID :42
|
||||
}
|
||||
|
||||
// The error for event STOP_DISCOVERING. The range between 31 and 99.
|
||||
enum StopDiscoveringError {
|
||||
// System error, failed to stop discovering.
|
||||
STOP_DISCOVERING_FAILED = 31;
|
||||
// System error, failed to stop discovering for BLE legacy scanning.
|
||||
STOP_LEGACY_DISCOVERING_FAILED = 32;
|
||||
// System error, failed to stop discovering for BLE extended scanning.
|
||||
STOP_EXTENDED_DISCOVERING_FAILED = 33;
|
||||
|
||||
// The default value for clearcut
|
||||
UNKNOWN_STOP_DISCOVERING_ERROR = 34;
|
||||
|
||||
// Next ID :35
|
||||
}
|
||||
|
||||
// The error for event START_LISTENING_INCOMING_CONNECTION. The range between 31
|
||||
// and 99.
|
||||
enum StartListeningIncomingConnectionError {
|
||||
// Developing error, this service ID already requested, should not request it
|
||||
// again without stop accepting.
|
||||
DUPLICATE_ACCEPTING_CONNECTION_REQUESTED = 31;
|
||||
// System error, failed to open a GATT server for listening incoming GATT
|
||||
// connection.
|
||||
OPEN_GATT_SERVER_FAILED = 32;
|
||||
// System error, failed to accept the incoming GATT connection
|
||||
ACCEPT_GATT_CONNECTION_FAILED = 33;
|
||||
// System error, failed to accept the incoming L2CAP connection
|
||||
ACCEPT_L2CAP_CONNECTION_FAILED = 34;
|
||||
// Network error, wait the GATT connection ready after the connection
|
||||
// established but never.
|
||||
CREATE_GATT_SERVER_SOCKET_NOT_READY = 35;
|
||||
// System error, failed to accept the incoming connection
|
||||
ACCEPT_CONNECTION_FAILED = 36;
|
||||
// System error, failed to create a server socket for listening incoming
|
||||
// connection.
|
||||
CREATE_SERVER_SOCKET_FAILED = 37;
|
||||
|
||||
// The default value for clearcut
|
||||
UNKNOWN_START_LISTENING_INCOMING_CONNECTION_ERROR = 38;
|
||||
|
||||
// Network error, failed to send L2 Message to the remote peer
|
||||
ACCEPT_SEND_AWARE_L2_MESSAGE_FAILED = 39;
|
||||
// Network error, failed to receive L2 Message from the remote peer
|
||||
ACCEPT_RECEIVE_AWARE_L2_MESSAGE_FAILED = 40;
|
||||
|
||||
// Next ID :41
|
||||
}
|
||||
|
||||
// The error for event STOP_LISTENING_INCOMING_CONNECTION. The range between 31
|
||||
// and 99.
|
||||
enum StopListeningIncomingConnectionError {
|
||||
// System error, failed to stop accepting the incoming connection
|
||||
STOP_ACCEPTING_CONNECTION_FAILED = 31;
|
||||
|
||||
// The default value for clearcut
|
||||
UNKNOWN_STOP_LISTENING_INCOMING_CONNECTION_ERROR = 32;
|
||||
|
||||
// Next ID :33
|
||||
}
|
||||
|
||||
// The error for event CONNECT. The range between 31 and 99.
|
||||
enum ConnectError {
|
||||
// Network error, failed to connect to remote device because we lost the
|
||||
// target without MAC address to connect to. e.g. BLE cache MAC address in
|
||||
// medium, it may lost when just try to connect.
|
||||
UNEXPECT_TARGET_LOST = 31;
|
||||
// System error, failed to establish connection on GATT
|
||||
ESTABLISH_GATT_CONNECTION_FAILED = 32;
|
||||
// System error, failed to establish connection on L2CAP
|
||||
ESTABLISH_L2CAP_CONNECTION_FAILED = 33;
|
||||
// Developing error, the MAC address not valid for connecting
|
||||
INVALID_MAC_ADDRESS = 34;
|
||||
// Others error, unexpected interrupt when sleep before connect GATT for
|
||||
// waiting GATT server ready. Should not hapepen, it may be the process be
|
||||
// killed.
|
||||
SLEEP_BEFORE_CONNECT_GATT_INTERRUPTED = 35;
|
||||
// Others error, unexpected interrupt when sleep after GATT connect to wait
|
||||
// GATT connection ready to transfer data. Should not hapepen, it may be
|
||||
// the process be killed.
|
||||
SLEEP_AFTER_GATT_CONNECTED_INTERRUPTED = 36;
|
||||
// Network error, failed to configure the GATT connection priority, it may
|
||||
// failed when the connection still wait for the status update from network or
|
||||
// just a RemoteException.
|
||||
REQUEST_GATT_CONNECTION_PRIORITY_FAILED = 37;
|
||||
// Network error, failed to change connection for data transferring on L2CAP
|
||||
// connection.
|
||||
L2CAP_SWITCH_TO_DATA_TRANSFERRING_FAILED = 38;
|
||||
// Network error, failed to change connection for data transferring on GATT
|
||||
// connection.
|
||||
GATT_SWITCH_TO_DATA_TRANSFERRING_FAILED = 39;
|
||||
// System error, failed to establish connection
|
||||
ESTABLISH_CONNECTION_FAILED = 40;
|
||||
// Developing error, this connection already established, should not request
|
||||
// it again.
|
||||
DUPLICATE_CONNECTION_REQUESTED = 41;
|
||||
// Network error, the connection lost.
|
||||
CONNECTION_LOST = 42;
|
||||
// Network error, failed to connect to the network. e.g. an aware network,
|
||||
// hotspot or a direct network.
|
||||
CONNECT_TO_NETWORK_FAILED = 43;
|
||||
|
||||
// The default value for clearcut
|
||||
UNKNOWN_CONNECT_ERROR = 44;
|
||||
|
||||
// Network error, failed to send L2 Message to the remote peer
|
||||
CONNECT_SEND_AWARE_L2_MESSAGE_FAILED = 45;
|
||||
// Network error, failed to send L2 Message to the remote peer
|
||||
CONNECT_READ_AWARE_L2_MESSAGE_FAILED = 46;
|
||||
|
||||
// Next ID :47
|
||||
}
|
||||
|
||||
// The error for event DISCONNECT. The range between 31 and 99.
|
||||
enum DisconnectError {
|
||||
// System error, failed to disconnect the network.
|
||||
DISCONNECT_NETWORK_FAILED = 31;
|
||||
|
||||
// The default value for clearcut
|
||||
UNKNOWN_DISCONNECT_ERROR = 32;
|
||||
|
||||
// Next ID :33
|
||||
}
|
||||
|
||||
enum Description {
|
||||
reserved 28, 29;
|
||||
|
||||
UNKNOWN = 0;
|
||||
NULL_SERVICE_ID = 1;
|
||||
NULL_ADVERTISEMENT_BYTES = 2;
|
||||
CONNECTIONS_FEATURE_DISABLED = 3;
|
||||
STALE_SDK_VERSION = 4;
|
||||
FEATURE_BLUETOOTH_NOT_SUPPORTED = 5;
|
||||
FEATURE_BLUETOOTH_LE_NOT_SUPPORTED = 6;
|
||||
NULL_BLUETOOTH_MANAGER = 7;
|
||||
NULL_BLUETOOTH_ADAPTER = 8;
|
||||
INVALID_FAST_PAIR_MODEL_ID = 9;
|
||||
INVALID_FAST_ADVERTISEMENT_DATA = 10;
|
||||
INVALID_ADVERTISEMENT_HEADER_DATA = 11;
|
||||
INVALID_REGULAR_ADVERTISEMENT_DATA = 12;
|
||||
NULL_BLUETOOTH_LE_ADVERTISER_COMPAT = 13;
|
||||
ADVERTISE_FAILED_ALREADY_STARTED = 14;
|
||||
ADVERTISE_FAILED_DATA_TOO_LARGE = 15;
|
||||
ADVERTISE_FAILED_FEATURE_UNSUPPORTED = 16;
|
||||
ADVERTISE_FAILED_INTERNAL_ERROR = 17;
|
||||
ADVERTISE_FAILED_TOO_MANY_ADVERTISERS = 18;
|
||||
INTERRUPTED_EXCEPTION = 19;
|
||||
EXECUTION_EXCEPTION = 20;
|
||||
NULL_BLUETOOTH_DEVICE_NAME = 21;
|
||||
SET_SCAN_MODE_FAILED = 22;
|
||||
INVOKE_API_FAILED = 23;
|
||||
TIMEOUT = 24;
|
||||
NULL_NFC_TAG = 25;
|
||||
FEATURE_NFC_NOT_SUPPORTED = 26;
|
||||
FEATURE_NFC_HOST_CARD_EMULATION_NOT_SUPPORTED = 27;
|
||||
MULTICAST_NOT_SUPPORTED = 30;
|
||||
NSD_NOT_ENABLED = 31;
|
||||
INVALID_PORT_NUMBER = 32;
|
||||
NULL_SERVICE_NAME = 33;
|
||||
NULL_SERVICE_TYPE = 34;
|
||||
WITHOUT_CONNECTED_WIFI_NETWORK = 35;
|
||||
FEATURE_WIFI_AWARE_NOT_SUPPORTED = 36;
|
||||
NULL_CONNECTIVITY_MANAGER = 37;
|
||||
NULL_WIFI_AWARE_MANAGER = 38;
|
||||
STALE_ANDROID_VERSION = 39;
|
||||
NULL_SERVICE_INFO = 40;
|
||||
NULL_WORK_SOURCE = 41;
|
||||
NULL_CALLBACK = 42;
|
||||
NULL_BLUETOOTH_LE_SCANNER_COMPAT = 43;
|
||||
EMPTY_WORK_SOURCE_CACHE = 44;
|
||||
SCAN_FAILED_ALREADY_STARTED = 45;
|
||||
SCAN_FAILED_APPLICATION_REGISTRATION_FAILED = 46;
|
||||
SCAN_FAILED_INTERNAL_ERROR = 47;
|
||||
SCAN_FAILED_FEATURE_UNSUPPORTED = 48;
|
||||
SCAN_FAILED_BLUETOOTH_DISABLED = 49;
|
||||
SCAN_FILTERS_NOT_ALLOWED_FOR_LOCATION = 50;
|
||||
BLUETOOTH_SCAN_REJUVENATE_FAILED = 51;
|
||||
NULL_BLE_PERIPHERAL = 52;
|
||||
NULL_BLUETOOTH_GATT = 53;
|
||||
UNEXPECTED_BLUETOOTH_STATE = 54;
|
||||
REMOTE_EXCEPTION = 55;
|
||||
INVALID_BLUETOOTH_SOCKET_STATE_BEFORE_CONNECT = 56;
|
||||
BLUETOOTH_SOCKET_CLOSED_AFTER_CONNECTED = 57;
|
||||
INVALID_BLUETOOTH_CHANNEL = 58;
|
||||
NULL_BLUETOOTH_DEVICE = 59;
|
||||
NULL_BLUETOOTH_PROXY = 60;
|
||||
INVALID_PACKET_LENGTH = 61;
|
||||
INVALID_PACKET_BYTES = 62;
|
||||
UNEXPECTED_EOF_EXCEPTION = 63;
|
||||
SOCKET_CLOSED_OR_TIMEOUT = 64;
|
||||
INVALID_IPV4_ADDRESS = 65;
|
||||
INVALID_IPV6_ADDRESS = 66;
|
||||
NULL_ADDRESS = 67;
|
||||
INVALID_VERSION = 68;
|
||||
SET_CONNECTION_PRIORITY_FAILED = 69;
|
||||
SET_CONNECTION_PRIORITY_INTERRUPTED = 70;
|
||||
UNKNOWN_IO_EXCEPTION = 71;
|
||||
READ_CHARACTERISTIC_FAILED = 72;
|
||||
WIFI_HOTSPOT_ENABLED = 73;
|
||||
AWARE_UNAVAILABLE = 74;
|
||||
IN_BLACK_LIST = 75;
|
||||
FEATURE_WIFI_NOT_SUPPORTED = 76;
|
||||
NULL_WIFI_MANAGER = 77;
|
||||
SOCKET_CLOSED = 78;
|
||||
SOCKET_ALREADY_CONNECTED = 79;
|
||||
NFC_TECH_NOT_SUPPORTED = 80;
|
||||
NFC_SERVICE_DIED = 81;
|
||||
BIND_NFC_SERVICE_FAILED = 82;
|
||||
NFC_CREATE_SOCKET_FAILED = 83;
|
||||
NULL_WIFI_AWARE_PEER = 84;
|
||||
NETWORK_ALREADY_JOINED = 85;
|
||||
JOIN_AWARE_NETWORK_CANCELLED = 86;
|
||||
NETWORK_UNAVAILABLE = 87;
|
||||
WITHOUT_ACTIVE_AWARE_NETWORK = 88;
|
||||
WITHOUT_JOINED_AWARE_NETWORK = 89;
|
||||
CONNET_TO_SOCKET_CANCELLED = 90;
|
||||
NULL_SSID = 91;
|
||||
NULL_PASSWORD = 92;
|
||||
FEATURE_WIFI_DIRECT_NOT_SUPPORTED = 93;
|
||||
NULL_WIFI_P2P_MANAGER = 94;
|
||||
P2P_GROUP_FORMED = 95;
|
||||
ACQUIRE_P2P_CHANNEL_FAILED = 96;
|
||||
P2P_UNSUPPORTED = 97;
|
||||
INTERNAL_ERROR = 98;
|
||||
BUSY = 99;
|
||||
REFLECTION_ERROR = 100;
|
||||
NETWORK_ERROR_EHOSTUNREACH = 101;
|
||||
NETWORK_ERROR_ENETUNREACH = 102;
|
||||
ADD_NETWORK_FAILED = 103;
|
||||
UPDATE_NETWORK_FAILED = 104;
|
||||
ALREADY_IN_PROGRESS = 105;
|
||||
INVALID_ARGS = 106;
|
||||
NOT_AUTHORIZED = 107;
|
||||
INVALID_NETWORK_ID = 108;
|
||||
WIFI_MANAGER_ENABLE_NETWORK_FAILED = 109;
|
||||
WIFI_MANAGER_RECONNECT_FAILED = 110;
|
||||
WITHOUT_ACTIVE_NETWORK = 111;
|
||||
WEBRTC_CONNECTION_FLOW_EXIST = 112;
|
||||
NULL_DROID_GUARD_RESULT = 113;
|
||||
TACHYON_SIGNALING_MESSENGER_EXIST = 114;
|
||||
TACHYON_ALREADY_START_RECEIVE_MESSAGE = 115;
|
||||
TACHYON_RECEIVE_MESSAGE_FAILED = 116;
|
||||
TACHYON_RECEIVE_MESSAGE_INTERRUPTED = 117;
|
||||
TACHYON_RECEIVE_MESSAGE_EXECUTION_EXCEPTION = 118;
|
||||
TACHYON_RECEIVE_MESSAGE_TIMEOUT = 119;
|
||||
TACHYON_RECEIVE_MESSAGE_AUTH_EXCEPTION = 120;
|
||||
TACHYON_RECEIVE_MESSAGE_STATUS_EXCEPTION = 121;
|
||||
TACHYON_SEND_MESSAGE_AUTH_EXCEPTION = 122;
|
||||
TACHYON_SEND_MESSAGE_STATUS_EXCEPTION = 123;
|
||||
TACHYON_GET_ICE_SERVER_AUTH_EXCEPTION = 124;
|
||||
TACHYON_GET_ICE_SERVER_STATUS_EXCEPTION = 125;
|
||||
EMPTY_TACHYON_ICE_SERVER = 126;
|
||||
POTENTIAL_WEBRTC_LIB_LOADING_FAILURE = 127;
|
||||
UNEXPECTED_GATT_DESCRIPTOR = 128;
|
||||
FAIL_TO_RECEIVE_L2CAP_PACKET = 129;
|
||||
WITHOUT_PSM_VALUE = 130;
|
||||
SOCKET_BIND_LISTEN_FAILED = 131;
|
||||
UNEXPECTED_PACKET_CONTENT = 132;
|
||||
UNREGISTER_NSD_MANAGER_FAILED = 133;
|
||||
PUBLISH_EMPTY_ADVERTISEMENT_FAILED = 134;
|
||||
BLUETOOTH_SOCKET_NOT_IN_LISTENING_STATE = 135;
|
||||
INVALID_BLUETOOTH_SOCKET_SIGNAL_SIZE = 136;
|
||||
INVALID_BLUETOOTH_SOCKET_SIGNAL_STATUS = 137;
|
||||
GET_ADDRESS_FAILED = 138;
|
||||
NULL_LOCAL_ADDRESS = 139;
|
||||
IS_LOOPBACK_ADDRESS = 140;
|
||||
SOCKET_NOT_BOUND = 141;
|
||||
INVALID_REMOTE_ADDRESS = 142;
|
||||
SOCKET_ALREADY_BOUND = 143;
|
||||
HOTSPOT_NOT_STARTED = 144;
|
||||
WEBRTC_ALREADY_INITIALIZED = 145;
|
||||
INVALID_WEBRTC_STATE = 146;
|
||||
NULL_DATA_CHANNEL = 147;
|
||||
CREATE_OFFER_FAILED = 148;
|
||||
CLOSE_SERVER_SOCKET_FAILED = 149;
|
||||
WIFI_AWARE_STARTED = 150;
|
||||
AWARE_PUBLISH_SESSION_RAN_OUT = 151;
|
||||
AWARE_SUBSCRIBE_SESSION_RAN_OUT = 152;
|
||||
AWARE_DATA_PATH_RAN_OUT = 153;
|
||||
WIFI_SIGNAL_STRENGTH_POOR = 154;
|
||||
POTENTIAL_SRD_ISSUE = 155;
|
||||
AWARE_L2_MESSAGE_HOST_NETWORK_ERROR = 156;
|
||||
AWARE_L2_MESSAGE_NETWORK_AVAILABLE_ERROR = 157;
|
||||
AWARE_L2_MESSAGE_IP_AVAILABLE_ERROR = 158;
|
||||
AWARE_L2_MESSAGE_CANCELLATION_RECEIVED = 159;
|
||||
TIE_BREAK_LOSER = 160;
|
||||
SERVER_SOCKET_UNAVAILABLE = 161;
|
||||
HOSTED_NETWORK_UNAVAILABLE = 162;
|
||||
AWARE_UPDATE_PUBLISHING_CONFIG_FAILED = 163;
|
||||
L2CAP_UNAVAILABLE = 164;
|
||||
ALREADY_HAS_GATT_CONNECTION = 165;
|
||||
}
|
||||
Reference in New Issue
Block a user