feat: implement BLE provisioning protocol, rudimentary UI
This commit is contained in:
@@ -0,0 +1,160 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated from network_constants.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: curly_braces_in_flow_control_structures
|
||||
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
||||
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
||||
// ignore_for_file: unused_import
|
||||
|
||||
import 'dart:convert' as $convert;
|
||||
import 'dart:core' as $core;
|
||||
import 'dart:typed_data' as $typed_data;
|
||||
|
||||
@$core.Deprecated('Use wifiStationStateDescriptor instead')
|
||||
const WifiStationState$json = {
|
||||
'1': 'WifiStationState',
|
||||
'2': [
|
||||
{'1': 'Connected', '2': 0},
|
||||
{'1': 'Connecting', '2': 1},
|
||||
{'1': 'Disconnected', '2': 2},
|
||||
{'1': 'ConnectionFailed', '2': 3},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `WifiStationState`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List wifiStationStateDescriptor = $convert.base64Decode(
|
||||
'ChBXaWZpU3RhdGlvblN0YXRlEg0KCUNvbm5lY3RlZBAAEg4KCkNvbm5lY3RpbmcQARIQCgxEaX'
|
||||
'Njb25uZWN0ZWQQAhIUChBDb25uZWN0aW9uRmFpbGVkEAM=');
|
||||
|
||||
@$core.Deprecated('Use wifiConnectFailedReasonDescriptor instead')
|
||||
const WifiConnectFailedReason$json = {
|
||||
'1': 'WifiConnectFailedReason',
|
||||
'2': [
|
||||
{'1': 'AuthError', '2': 0},
|
||||
{'1': 'WifiNetworkNotFound', '2': 1},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `WifiConnectFailedReason`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List wifiConnectFailedReasonDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChdXaWZpQ29ubmVjdEZhaWxlZFJlYXNvbhINCglBdXRoRXJyb3IQABIXChNXaWZpTmV0d29ya0'
|
||||
'5vdEZvdW5kEAE=');
|
||||
|
||||
@$core.Deprecated('Use wifiAuthModeDescriptor instead')
|
||||
const WifiAuthMode$json = {
|
||||
'1': 'WifiAuthMode',
|
||||
'2': [
|
||||
{'1': 'Open', '2': 0},
|
||||
{'1': 'WEP', '2': 1},
|
||||
{'1': 'WPA_PSK', '2': 2},
|
||||
{'1': 'WPA2_PSK', '2': 3},
|
||||
{'1': 'WPA_WPA2_PSK', '2': 4},
|
||||
{'1': 'WPA2_ENTERPRISE', '2': 5},
|
||||
{'1': 'WPA3_PSK', '2': 6},
|
||||
{'1': 'WPA2_WPA3_PSK', '2': 7},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `WifiAuthMode`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List wifiAuthModeDescriptor = $convert.base64Decode(
|
||||
'CgxXaWZpQXV0aE1vZGUSCAoET3BlbhAAEgcKA1dFUBABEgsKB1dQQV9QU0sQAhIMCghXUEEyX1'
|
||||
'BTSxADEhAKDFdQQV9XUEEyX1BTSxAEEhMKD1dQQTJfRU5URVJQUklTRRAFEgwKCFdQQTNfUFNL'
|
||||
'EAYSEQoNV1BBMl9XUEEzX1BTSxAH');
|
||||
|
||||
@$core.Deprecated('Use threadNetworkStateDescriptor instead')
|
||||
const ThreadNetworkState$json = {
|
||||
'1': 'ThreadNetworkState',
|
||||
'2': [
|
||||
{'1': 'Attached', '2': 0},
|
||||
{'1': 'Attaching', '2': 1},
|
||||
{'1': 'Dettached', '2': 2},
|
||||
{'1': 'AttachingFailed', '2': 3},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ThreadNetworkState`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List threadNetworkStateDescriptor = $convert.base64Decode(
|
||||
'ChJUaHJlYWROZXR3b3JrU3RhdGUSDAoIQXR0YWNoZWQQABINCglBdHRhY2hpbmcQARINCglEZX'
|
||||
'R0YWNoZWQQAhITCg9BdHRhY2hpbmdGYWlsZWQQAw==');
|
||||
|
||||
@$core.Deprecated('Use threadAttachFailedReasonDescriptor instead')
|
||||
const ThreadAttachFailedReason$json = {
|
||||
'1': 'ThreadAttachFailedReason',
|
||||
'2': [
|
||||
{'1': 'DatasetInvalid', '2': 0},
|
||||
{'1': 'ThreadNetworkNotFound', '2': 1},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ThreadAttachFailedReason`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List threadAttachFailedReasonDescriptor =
|
||||
$convert.base64Decode(
|
||||
'ChhUaHJlYWRBdHRhY2hGYWlsZWRSZWFzb24SEgoORGF0YXNldEludmFsaWQQABIZChVUaHJlYW'
|
||||
'ROZXR3b3JrTm90Rm91bmQQAQ==');
|
||||
|
||||
@$core.Deprecated('Use wifiConnectedStateDescriptor instead')
|
||||
const WifiConnectedState$json = {
|
||||
'1': 'WifiConnectedState',
|
||||
'2': [
|
||||
{'1': 'ip4_addr', '3': 1, '4': 1, '5': 9, '10': 'ip4Addr'},
|
||||
{
|
||||
'1': 'auth_mode',
|
||||
'3': 2,
|
||||
'4': 1,
|
||||
'5': 14,
|
||||
'6': '.WifiAuthMode',
|
||||
'10': 'authMode'
|
||||
},
|
||||
{'1': 'ssid', '3': 3, '4': 1, '5': 12, '10': 'ssid'},
|
||||
{'1': 'bssid', '3': 4, '4': 1, '5': 12, '10': 'bssid'},
|
||||
{'1': 'channel', '3': 5, '4': 1, '5': 5, '10': 'channel'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `WifiConnectedState`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List wifiConnectedStateDescriptor = $convert.base64Decode(
|
||||
'ChJXaWZpQ29ubmVjdGVkU3RhdGUSGQoIaXA0X2FkZHIYASABKAlSB2lwNEFkZHISKgoJYXV0aF'
|
||||
'9tb2RlGAIgASgOMg0uV2lmaUF1dGhNb2RlUghhdXRoTW9kZRISCgRzc2lkGAMgASgMUgRzc2lk'
|
||||
'EhQKBWJzc2lkGAQgASgMUgVic3NpZBIYCgdjaGFubmVsGAUgASgFUgdjaGFubmVs');
|
||||
|
||||
@$core.Deprecated('Use wifiAttemptFailedDescriptor instead')
|
||||
const WifiAttemptFailed$json = {
|
||||
'1': 'WifiAttemptFailed',
|
||||
'2': [
|
||||
{
|
||||
'1': 'attempts_remaining',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 13,
|
||||
'10': 'attemptsRemaining'
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `WifiAttemptFailed`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List wifiAttemptFailedDescriptor = $convert.base64Decode(
|
||||
'ChFXaWZpQXR0ZW1wdEZhaWxlZBItChJhdHRlbXB0c19yZW1haW5pbmcYASABKA1SEWF0dGVtcH'
|
||||
'RzUmVtYWluaW5n');
|
||||
|
||||
@$core.Deprecated('Use threadAttachStateDescriptor instead')
|
||||
const ThreadAttachState$json = {
|
||||
'1': 'ThreadAttachState',
|
||||
'2': [
|
||||
{'1': 'pan_id', '3': 1, '4': 1, '5': 13, '10': 'panId'},
|
||||
{'1': 'ext_pan_id', '3': 2, '4': 1, '5': 12, '10': 'extPanId'},
|
||||
{'1': 'channel', '3': 3, '4': 1, '5': 13, '10': 'channel'},
|
||||
{'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ThreadAttachState`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List threadAttachStateDescriptor = $convert.base64Decode(
|
||||
'ChFUaHJlYWRBdHRhY2hTdGF0ZRIVCgZwYW5faWQYASABKA1SBXBhbklkEhwKCmV4dF9wYW5faW'
|
||||
'QYAiABKAxSCGV4dFBhbklkEhgKB2NoYW5uZWwYAyABKA1SB2NoYW5uZWwSEgoEbmFtZRgEIAEo'
|
||||
'CVIEbmFtZQ==');
|
||||
Reference in New Issue
Block a user