tesla-fleet-api 1.0.16__py3-none-any.whl → 1.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tesla_fleet_api/__init__.py +1 -1
- tesla_fleet_api/exceptions.py +26 -6
- tesla_fleet_api/tesla/vehicle/commands.py +6 -4
- tesla_fleet_api/tesla/vehicle/fleet.py +5 -2
- tesla_fleet_api/tesla/vehicle/proto/car_server_pb2.py +310 -160
- tesla_fleet_api/tesla/vehicle/proto/car_server_pb2.pyi +823 -7
- tesla_fleet_api/tesla/vehicle/proto/common_pb2.py +4 -2
- tesla_fleet_api/tesla/vehicle/proto/common_pb2.pyi +2 -1
- tesla_fleet_api/tesla/vehicle/proto/errors_pb2.py +4 -2
- tesla_fleet_api/tesla/vehicle/proto/keys_pb2.py +4 -2
- tesla_fleet_api/tesla/vehicle/proto/managed_charging_pb2.py +4 -2
- tesla_fleet_api/tesla/vehicle/proto/signatures_pb2.py +4 -2
- tesla_fleet_api/tesla/vehicle/proto/signatures_pb2.pyi +2 -1
- tesla_fleet_api/tesla/vehicle/proto/universal_message_pb2.py +4 -2
- tesla_fleet_api/tesla/vehicle/proto/universal_message_pb2.pyi +2 -1
- tesla_fleet_api/tesla/vehicle/proto/vcsec_pb2.py +27 -25
- tesla_fleet_api/tesla/vehicle/proto/vcsec_pb2.pyi +53 -2
- tesla_fleet_api/tesla/vehicle/proto/vehicle_pb2.py +4 -2
- tesla_fleet_api/tesla/vehicle/proto/vehicle_pb2.pyi +14 -13
- tesla_fleet_api/tesla/vehicle/signed.py +1 -1
- tesla_fleet_api/teslemetry/teslemetry.py +1 -1
- {tesla_fleet_api-1.0.16.dist-info → tesla_fleet_api-1.1.0.dist-info}/METADATA +6 -16
- {tesla_fleet_api-1.0.16.dist-info → tesla_fleet_api-1.1.0.dist-info}/RECORD +26 -26
- {tesla_fleet_api-1.0.16.dist-info → tesla_fleet_api-1.1.0.dist-info}/WHEEL +1 -1
- {tesla_fleet_api-1.0.16.dist-info → tesla_fleet_api-1.1.0.dist-info/licenses}/LICENSE +0 -0
- {tesla_fleet_api-1.0.16.dist-info → tesla_fleet_api-1.1.0.dist-info}/top_level.txt +0 -0
@@ -1,15 +1,17 @@
|
|
1
1
|
"""Generated protocol buffer code."""
|
2
2
|
from google.protobuf import descriptor as _descriptor
|
3
3
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
4
|
+
from google.protobuf import runtime_version as _runtime_version
|
4
5
|
from google.protobuf import symbol_database as _symbol_database
|
5
6
|
from google.protobuf.internal import builder as _builder
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 6, 31, 0, '', 'common.proto')
|
6
8
|
_sym_db = _symbol_database.Default()
|
7
9
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0ccommon.proto\x12\tCarServer"\x06\n\x04Void".\n\x07LatLong\x12\x10\n\x08latitude\x18\x01 \x01(\x02\x12\x11\n\tlongitude\x18\x02 \x01(\x02"\xae\x01\n\x14ChargePortLatchState\x12\x1e\n\x03SNA\x18\x01 \x01(\x0b2\x0f.CarServer.VoidH\x00\x12%\n\nDisengaged\x18\x02 \x01(\x0b2\x0f.CarServer.VoidH\x00\x12"\n\x07Engaged\x18\x03 \x01(\x0b2\x0f.CarServer.VoidH\x00\x12#\n\x08Blocking\x18\x04 \x01(\x0b2\x0f.CarServer.VoidH\x00B\x06\n\x04type"i\n\x14PreconditioningTimes\x12#\n\x08all_week\x18\x01 \x01(\x0b2\x0f.CarServer.VoidH\x00\x12#\n\x08weekdays\x18\x02 \x01(\x0b2\x0f.CarServer.VoidH\x00B\x07\n\x05times"i\n\x14OffPeakChargingTimes\x12#\n\x08all_week\x18\x01 \x01(\x0b2\x0f.CarServer.VoidH\x00\x12#\n\x08weekdays\x18\x02 \x01(\x0b2\x0f.CarServer.VoidH\x00B\x07\n\x05times"\xda\x01\n\x0eChargeSchedule\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x14\n\x0cdays_of_week\x18\x03 \x01(\x05\x12\x15\n\rstart_enabled\x18\x04 \x01(\x08\x12\x12\n\nstart_time\x18\x05 \x01(\x05\x12\x13\n\x0bend_enabled\x18\x06 \x01(\x08\x12\x10\n\x08end_time\x18\x07 \x01(\x05\x12\x10\n\x08one_time\x18\x08 \x01(\x08\x12\x0f\n\x07enabled\x18\t \x01(\x08\x12\x10\n\x08latitude\x18\n \x01(\x02\x12\x11\n\tlongitude\x18\x0b \x01(\x02"\xa9\x01\n\x14PreconditionSchedule\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x14\n\x0cdays_of_week\x18\x03 \x01(\x05\x12\x19\n\x11precondition_time\x18\x04 \x01(\x05\x12\x10\n\x08one_time\x18\x05 \x01(\x08\x12\x0f\n\x07enabled\x18\x06 \x01(\x08\x12\x10\n\x08latitude\x18\x07 \x01(\x02\x12\x11\n\tlongitude\x18\x08 \x01(\x02*\x16\n\x07Invalid\x12\x0b\n\x07INVALID\x10\x00*;\n\x13MediaPlaybackStatus\x12\x0b\n\x07Stopped\x10\x00\x12\x0b\n\x07Playing\x10\x01\x12\n\n\x06Paused\x10\x02*k\n\x0cStwHeatLevel\x12\x18\n\x14StwHeatLevel_Unknown\x10\x00\x12\x14\n\x10StwHeatLevel_Off\x10\x01\x12\x14\n\x10StwHeatLevel_Low\x10\x02\x12\x15\n\x11StwHeatLevel_High\x10\x03Bn\n$com.tesla.generated.carserver.commonZFgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/carserverb\x06proto3')
|
8
10
|
_globals = globals()
|
9
11
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
10
12
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common_pb2', _globals)
|
11
|
-
if _descriptor._USE_C_DESCRIPTORS
|
12
|
-
_globals['DESCRIPTOR'].
|
13
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
14
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
13
15
|
_globals['DESCRIPTOR']._serialized_options = b'\n$com.tesla.generated.carserver.commonZFgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/carserver'
|
14
16
|
_globals['_INVALID']._serialized_start = 867
|
15
17
|
_globals['_INVALID']._serialized_end = 889
|
@@ -1,7 +1,8 @@
|
|
1
1
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
2
2
|
from google.protobuf import descriptor as _descriptor
|
3
3
|
from google.protobuf import message as _message
|
4
|
-
from
|
4
|
+
from collections.abc import Mapping as _Mapping
|
5
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
5
6
|
DESCRIPTOR: _descriptor.FileDescriptor
|
6
7
|
|
7
8
|
class Invalid(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
@@ -1,15 +1,17 @@
|
|
1
1
|
"""Generated protocol buffer code."""
|
2
2
|
from google.protobuf import descriptor as _descriptor
|
3
3
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
4
|
+
from google.protobuf import runtime_version as _runtime_version
|
4
5
|
from google.protobuf import symbol_database as _symbol_database
|
5
6
|
from google.protobuf.internal import builder as _builder
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 6, 31, 0, '', 'errors.proto')
|
6
8
|
_sym_db = _symbol_database.Default()
|
7
9
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cerrors.proto\x12\x06Errors"<\n\x0cNominalError\x12,\n\x0cgenericError\x18\x01 \x01(\x0e2\x16.Errors.GenericError_E*\x9c\x02\n\x0eGenericError_E\x12\x15\n\x11GENERICERROR_NONE\x10\x00\x12\x18\n\x14GENERICERROR_UNKNOWN\x10\x01\x12\x1e\n\x1aGENERICERROR_CLOSURES_OPEN\x10\x02\x12\x1b\n\x17GENERICERROR_ALREADY_ON\x10\x03\x12*\n&GENERICERROR_DISABLED_FOR_USER_COMMAND\x10\x04\x12$\n GENERICERROR_VEHICLE_NOT_IN_PARK\x10\x05\x12\x1d\n\x19GENERICERROR_UNAUTHORIZED\x10\x06\x12+\n\'GENERICERROR_NOT_ALLOWED_OVER_TRANSPORT\x10\x07Ba\n\x1acom.tesla.generated.errorsZCgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/errorsb\x06proto3')
|
8
10
|
_globals = globals()
|
9
11
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
10
12
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'errors_pb2', _globals)
|
11
|
-
if _descriptor._USE_C_DESCRIPTORS
|
12
|
-
_globals['DESCRIPTOR'].
|
13
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
14
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
13
15
|
_globals['DESCRIPTOR']._serialized_options = b'\n\x1acom.tesla.generated.errorsZCgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/errors'
|
14
16
|
_globals['_GENERICERROR_E']._serialized_start = 87
|
15
17
|
_globals['_GENERICERROR_E']._serialized_end = 371
|
@@ -1,15 +1,17 @@
|
|
1
1
|
"""Generated protocol buffer code."""
|
2
2
|
from google.protobuf import descriptor as _descriptor
|
3
3
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
4
|
+
from google.protobuf import runtime_version as _runtime_version
|
4
5
|
from google.protobuf import symbol_database as _symbol_database
|
5
6
|
from google.protobuf.internal import builder as _builder
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 6, 31, 0, '', 'keys.proto')
|
6
8
|
_sym_db = _symbol_database.Default()
|
7
9
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nkeys.proto\x12\x04Keys*\x8a\x01\n\x04Role\x12\r\n\tROLE_NONE\x10\x00\x12\x10\n\x0cROLE_SERVICE\x10\x01\x12\x0e\n\nROLE_OWNER\x10\x02\x12\x0f\n\x0bROLE_DRIVER\x10\x03\x12\x0b\n\x07ROLE_FM\x10\x04\x12\x18\n\x14ROLE_VEHICLE_MONITOR\x10\x05\x12\x19\n\x15ROLE_CHARGING_MANAGER\x10\x06B]\n\x18com.tesla.generated.keysZAgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/keysb\x06proto3')
|
8
10
|
_globals = globals()
|
9
11
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
10
12
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'keys_pb2', _globals)
|
11
|
-
if _descriptor._USE_C_DESCRIPTORS
|
12
|
-
_globals['DESCRIPTOR'].
|
13
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
14
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
13
15
|
_globals['DESCRIPTOR']._serialized_options = b'\n\x18com.tesla.generated.keysZAgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/keys'
|
14
16
|
_globals['_ROLE']._serialized_start = 21
|
15
17
|
_globals['_ROLE']._serialized_end = 159
|
@@ -1,15 +1,17 @@
|
|
1
1
|
"""Generated protocol buffer code."""
|
2
2
|
from google.protobuf import descriptor as _descriptor
|
3
3
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
4
|
+
from google.protobuf import runtime_version as _runtime_version
|
4
5
|
from google.protobuf import symbol_database as _symbol_database
|
5
6
|
from google.protobuf.internal import builder as _builder
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 6, 31, 0, '', 'managed_charging.proto')
|
6
8
|
_sym_db = _symbol_database.Default()
|
7
9
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16managed_charging.proto\x12\x0fManagedCharging*\xc7\x02\n\x1bChargeOnSolarNoChargeReason\x12,\n(CHARGE_ON_SOLAR_NO_CHARGE_REASON_INVALID\x10\x00\x12>\n:CHARGE_ON_SOLAR_NO_CHARGE_REASON_POWERWALL_CHARGE_PRIORITY\x10\x01\x127\n3CHARGE_ON_SOLAR_NO_CHARGE_REASON_INSUFFICIENT_SOLAR\x10\x02\x129\n5CHARGE_ON_SOLAR_NO_CHARGE_REASON_GRID_EXPORT_PRIORITY\x10\x03\x12F\nBCHARGE_ON_SOLAR_NO_CHARGE_REASON_ALTERNATE_VEHICLE_CHARGE_PRIORITY\x10\x04BNZLgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/managedchargingb\x06proto3')
|
8
10
|
_globals = globals()
|
9
11
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
10
12
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'managed_charging_pb2', _globals)
|
11
|
-
if _descriptor._USE_C_DESCRIPTORS
|
12
|
-
_globals['DESCRIPTOR'].
|
13
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
14
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
13
15
|
_globals['DESCRIPTOR']._serialized_options = b'ZLgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/managedcharging'
|
14
16
|
_globals['_CHARGEONSOLARNOCHARGEREASON']._serialized_start = 44
|
15
17
|
_globals['_CHARGEONSOLARNOCHARGEREASON']._serialized_end = 371
|
@@ -1,15 +1,17 @@
|
|
1
1
|
"""Generated protocol buffer code."""
|
2
2
|
from google.protobuf import descriptor as _descriptor
|
3
3
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
4
|
+
from google.protobuf import runtime_version as _runtime_version
|
4
5
|
from google.protobuf import symbol_database as _symbol_database
|
5
6
|
from google.protobuf.internal import builder as _builder
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 6, 31, 0, '', 'signatures.proto')
|
6
8
|
_sym_db = _symbol_database.Default()
|
7
9
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10signatures.proto\x12\nSignatures"L\n\x0bKeyIdentity\x12\x14\n\npublic_key\x18\x01 \x01(\x0cH\x00\x12\x10\n\x06handle\x18\x03 \x01(\rH\x00B\x0f\n\ridentity_typeJ\x04\x08\x02\x10\x03"u\n#AES_GCM_Personalized_Signature_Data\x12\r\n\x05epoch\x18\x01 \x01(\x0c\x12\r\n\x05nonce\x18\x02 \x01(\x0c\x12\x0f\n\x07counter\x18\x03 \x01(\r\x12\x12\n\nexpires_at\x18\x04 \x01(\x07\x12\x0b\n\x03tag\x18\x05 \x01(\x0c"N\n\x1fAES_GCM_Response_Signature_Data\x12\r\n\x05nonce\x18\x01 \x01(\x0c\x12\x0f\n\x07counter\x18\x02 \x01(\r\x12\x0b\n\x03tag\x18\x03 \x01(\x0c""\n\x13HMAC_Signature_Data\x12\x0b\n\x03tag\x18\x01 \x01(\x0c"c\n HMAC_Personalized_Signature_Data\x12\r\n\x05epoch\x18\x01 \x01(\x0c\x12\x0f\n\x07counter\x18\x02 \x01(\r\x12\x12\n\nexpires_at\x18\x03 \x01(\x07\x12\x0b\n\x03tag\x18\x04 \x01(\x0c"\x84\x03\n\rSignatureData\x120\n\x0fsigner_identity\x18\x01 \x01(\x0b2\x17.Signatures.KeyIdentity\x12T\n\x19AES_GCM_Personalized_data\x18\x05 \x01(\x0b2/.Signatures.AES_GCM_Personalized_Signature_DataH\x00\x12;\n\x10session_info_tag\x18\x06 \x01(\x0b2\x1f.Signatures.HMAC_Signature_DataH\x00\x12N\n\x16HMAC_Personalized_data\x18\x08 \x01(\x0b2,.Signatures.HMAC_Personalized_Signature_DataH\x00\x12L\n\x15AES_GCM_Response_data\x18\t \x01(\x0b2+.Signatures.AES_GCM_Response_Signature_DataH\x00B\n\n\x08sig_typeJ\x04\x08\x07\x10\x08"F\n\x15GetSessionInfoRequest\x12-\n\x0ckey_identity\x18\x01 \x01(\x0b2\x17.Signatures.KeyIdentity"\x95\x01\n\x0bSessionInfo\x12\x0f\n\x07counter\x18\x01 \x01(\r\x12\x11\n\tpublicKey\x18\x02 \x01(\x0c\x12\r\n\x05epoch\x18\x03 \x01(\x0c\x12\x12\n\nclock_time\x18\x04 \x01(\x07\x12/\n\x06status\x18\x05 \x01(\x0e2\x1f.Signatures.Session_Info_Status\x12\x0e\n\x06handle\x18\x06 \x01(\r*\xcf\x01\n\x03Tag\x12\x16\n\x12TAG_SIGNATURE_TYPE\x10\x00\x12\x0e\n\nTAG_DOMAIN\x10\x01\x12\x17\n\x13TAG_PERSONALIZATION\x10\x02\x12\r\n\tTAG_EPOCH\x10\x03\x12\x12\n\x0eTAG_EXPIRES_AT\x10\x04\x12\x0f\n\x0bTAG_COUNTER\x10\x05\x12\x11\n\rTAG_CHALLENGE\x10\x06\x12\r\n\tTAG_FLAGS\x10\x07\x12\x14\n\x10TAG_REQUEST_HASH\x10\x08\x12\r\n\tTAG_FAULT\x10\t\x12\x0c\n\x07TAG_END\x10\xff\x01*\xbe\x01\n\rSignatureType\x12\x1a\n\x16SIGNATURE_TYPE_AES_GCM\x10\x00\x12\'\n#SIGNATURE_TYPE_AES_GCM_PERSONALIZED\x10\x05\x12\x17\n\x13SIGNATURE_TYPE_HMAC\x10\x06\x12$\n SIGNATURE_TYPE_HMAC_PERSONALIZED\x10\x08\x12#\n\x1fSIGNATURE_TYPE_AES_GCM_RESPONSE\x10\t"\x04\x08\x07\x10\x07*_\n\x13Session_Info_Status\x12\x1a\n\x16SESSION_INFO_STATUS_OK\x10\x00\x12,\n(SESSION_INFO_STATUS_KEY_NOT_ON_WHITELIST\x10\x01Bi\n\x1ecom.tesla.generated.signaturesZGgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/signaturesb\x06proto3')
|
8
10
|
_globals = globals()
|
9
11
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
10
12
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'signatures_pb2', _globals)
|
11
|
-
if _descriptor._USE_C_DESCRIPTORS
|
12
|
-
_globals['DESCRIPTOR'].
|
13
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
14
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
13
15
|
_globals['DESCRIPTOR']._serialized_options = b'\n\x1ecom.tesla.generated.signaturesZGgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/signatures'
|
14
16
|
_globals['_TAG']._serialized_start = 1062
|
15
17
|
_globals['_TAG']._serialized_end = 1269
|
@@ -1,7 +1,8 @@
|
|
1
1
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
2
2
|
from google.protobuf import descriptor as _descriptor
|
3
3
|
from google.protobuf import message as _message
|
4
|
-
from
|
4
|
+
from collections.abc import Mapping as _Mapping
|
5
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
5
6
|
DESCRIPTOR: _descriptor.FileDescriptor
|
6
7
|
|
7
8
|
class Tag(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
@@ -1,16 +1,18 @@
|
|
1
1
|
"""Generated protocol buffer code."""
|
2
2
|
from google.protobuf import descriptor as _descriptor
|
3
3
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
4
|
+
from google.protobuf import runtime_version as _runtime_version
|
4
5
|
from google.protobuf import symbol_database as _symbol_database
|
5
6
|
from google.protobuf.internal import builder as _builder
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 6, 31, 0, '', 'universal_message.proto')
|
6
8
|
_sym_db = _symbol_database.Default()
|
7
9
|
from . import signatures_pb2 as signatures__pb2
|
8
10
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17universal_message.proto\x12\x10UniversalMessage\x1a\x10signatures.proto"g\n\x0bDestination\x12*\n\x06domain\x18\x01 \x01(\x0e2\x18.UniversalMessage.DomainH\x00\x12\x19\n\x0frouting_address\x18\x02 \x01(\x0cH\x00B\x11\n\x0fsub_destination"\x8e\x01\n\rMessageStatus\x12=\n\x10operation_status\x18\x01 \x01(\x0e2#.UniversalMessage.OperationStatus_E\x12>\n\x14signed_message_fault\x18\x02 \x01(\x0e2 .UniversalMessage.MessageFault_E";\n\x12SessionInfoRequest\x12\x12\n\npublic_key\x18\x01 \x01(\x0c\x12\x11\n\tchallenge\x18\x02 \x01(\x0c"\xd6\x03\n\x0fRoutableMessage\x125\n\x0eto_destination\x18\x06 \x01(\x0b2\x1d.UniversalMessage.Destination\x127\n\x10from_destination\x18\x07 \x01(\x0b2\x1d.UniversalMessage.Destination\x12#\n\x19protobuf_message_as_bytes\x18\n \x01(\x0cH\x00\x12D\n\x14session_info_request\x18\x0e \x01(\x0b2$.UniversalMessage.SessionInfoRequestH\x00\x12\x16\n\x0csession_info\x18\x0f \x01(\x0cH\x00\x123\n\x0esignature_data\x18\r \x01(\x0b2\x19.Signatures.SignatureDataH\x01\x12<\n\x13signedMessageStatus\x18\x0c \x01(\x0b2\x1f.UniversalMessage.MessageStatus\x12\x14\n\x0crequest_uuid\x182 \x01(\x0c\x12\x0c\n\x04uuid\x183 \x01(\x0c\x12\r\n\x05flags\x184 \x01(\rB\t\n\x07payloadB\r\n\x0bsub_sigDataJ\x04\x08\x01\x10\x06J\x04\x08\x10\x10)J\x04\x08\x0b\x10\x0c*T\n\x06Domain\x12\x14\n\x10DOMAIN_BROADCAST\x10\x00\x12\x1b\n\x17DOMAIN_VEHICLE_SECURITY\x10\x02\x12\x17\n\x13DOMAIN_INFOTAINMENT\x10\x03*`\n\x11OperationStatus_E\x12\x16\n\x12OPERATIONSTATUS_OK\x10\x00\x12\x18\n\x14OPERATIONSTATUS_WAIT\x10\x01\x12\x19\n\x15OPERATIONSTATUS_ERROR\x10\x02*\xe4\t\n\x0eMessageFault_E\x12\x1b\n\x17MESSAGEFAULT_ERROR_NONE\x10\x00\x12\x1b\n\x17MESSAGEFAULT_ERROR_BUSY\x10\x01\x12\x1e\n\x1aMESSAGEFAULT_ERROR_TIMEOUT\x10\x02\x12%\n!MESSAGEFAULT_ERROR_UNKNOWN_KEY_ID\x10\x03\x12#\n\x1fMESSAGEFAULT_ERROR_INACTIVE_KEY\x10\x04\x12(\n$MESSAGEFAULT_ERROR_INVALID_SIGNATURE\x10\x05\x12/\n+MESSAGEFAULT_ERROR_INVALID_TOKEN_OR_COUNTER\x10\x06\x12.\n*MESSAGEFAULT_ERROR_INSUFFICIENT_PRIVILEGES\x10\x07\x12&\n"MESSAGEFAULT_ERROR_INVALID_DOMAINS\x10\x08\x12&\n"MESSAGEFAULT_ERROR_INVALID_COMMAND\x10\t\x12\x1f\n\x1bMESSAGEFAULT_ERROR_DECODING\x10\n\x12\x1f\n\x1bMESSAGEFAULT_ERROR_INTERNAL\x10\x0b\x12,\n(MESSAGEFAULT_ERROR_WRONG_PERSONALIZATION\x10\x0c\x12$\n MESSAGEFAULT_ERROR_BAD_PARAMETER\x10\r\x12\'\n#MESSAGEFAULT_ERROR_KEYCHAIN_IS_FULL\x10\x0e\x12&\n"MESSAGEFAULT_ERROR_INCORRECT_EPOCH\x10\x0f\x12*\n&MESSAGEFAULT_ERROR_IV_INCORRECT_LENGTH\x10\x10\x12#\n\x1fMESSAGEFAULT_ERROR_TIME_EXPIRED\x10\x11\x124\n0MESSAGEFAULT_ERROR_NOT_PROVISIONED_WITH_IDENTITY\x10\x12\x12.\n*MESSAGEFAULT_ERROR_COULD_NOT_HASH_METADATA\x10\x13\x12,\n(MESSAGEFAULT_ERROR_TIME_TO_LIVE_TOO_LONG\x10\x14\x12-\n)MESSAGEFAULT_ERROR_REMOTE_ACCESS_DISABLED\x10\x15\x125\n1MESSAGEFAULT_ERROR_REMOTE_SERVICE_ACCESS_DISABLED\x10\x16\x12;\n7MESSAGEFAULT_ERROR_COMMAND_REQUIRES_ACCOUNT_CREDENTIALS\x10\x17\x12+\n\'MESSAGEFAULT_ERROR_REQUEST_MTU_EXCEEDED\x10\x18\x12,\n(MESSAGEFAULT_ERROR_RESPONSE_MTU_EXCEEDED\x10\x19\x12\'\n#MESSAGEFAULT_ERROR_REPEATED_COUNTER\x10\x1a\x12)\n%MESSAGEFAULT_ERROR_INVALID_KEY_HANDLE\x10\x1b\x123\n/MESSAGEFAULT_ERROR_REQUIRES_RESPONSE_ENCRYPTION\x10\x1c*9\n\x05Flags\x12\x15\n\x11FLAG_USER_COMMAND\x10\x00\x12\x19\n\x15FLAG_ENCRYPT_RESPONSE\x10\x01Bu\n$com.tesla.generated.universalmessageZMgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/universalmessageb\x06proto3')
|
9
11
|
_globals = globals()
|
10
12
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
11
13
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'universal_message_pb2', _globals)
|
12
|
-
if _descriptor._USE_C_DESCRIPTORS
|
13
|
-
_globals['DESCRIPTOR'].
|
14
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
15
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
14
16
|
_globals['DESCRIPTOR']._serialized_options = b'\n$com.tesla.generated.universalmessageZMgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/universalmessage'
|
15
17
|
_globals['_DOMAIN']._serialized_start = 847
|
16
18
|
_globals['_DOMAIN']._serialized_end = 931
|
@@ -2,7 +2,8 @@ import signatures_pb2 as _signatures_pb2
|
|
2
2
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
3
3
|
from google.protobuf import descriptor as _descriptor
|
4
4
|
from google.protobuf import message as _message
|
5
|
-
from
|
5
|
+
from collections.abc import Mapping as _Mapping
|
6
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
6
7
|
DESCRIPTOR: _descriptor.FileDescriptor
|
7
8
|
|
8
9
|
class Domain(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
@@ -1,42 +1,44 @@
|
|
1
1
|
"""Generated protocol buffer code."""
|
2
2
|
from google.protobuf import descriptor as _descriptor
|
3
3
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
4
|
+
from google.protobuf import runtime_version as _runtime_version
|
4
5
|
from google.protobuf import symbol_database as _symbol_database
|
5
6
|
from google.protobuf.internal import builder as _builder
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 6, 31, 0, '', 'vcsec.proto')
|
6
8
|
_sym_db = _symbol_database.Default()
|
7
|
-
from . import keys_pb2 as keys__pb2
|
8
9
|
from . import errors_pb2 as errors__pb2
|
9
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0bvcsec.proto\x12\x05VCSEC\x1a\nkeys.proto\x1a\x0cerrors.proto"\\\n\rSignedMessage\x12\x1e\n\x16protobufMessageAsBytes\x18\x02 \x01(\x0c\x12+\n\rsignatureType\x18\x03 \x01(\x0e2\x14.VCSEC.SignatureType"=\n\x0eToVCSECMessage\x12+\n\rsignedMessage\x18\x01 \x01(\x0b2\x14.VCSEC.SignedMessage"&\n\rKeyIdentifier\x12\x15\n\rpublicKeySHA1\x18\x01 \x01(\x0c":\n\x0bKeyMetadata\x12+\n\rkeyFormFactor\x18\x01 \x01(\x0e2\x14.VCSEC.KeyFormFactor"!\n\tPublicKey\x12\x14\n\x0cPublicKeyRaw\x18\x01 \x01(\x0c"j\n\rWhitelistInfo\x12\x17\n\x0fnumberOfEntries\x18\x01 \x01(\r\x12.\n\x10whitelistEntries\x18\x02 \x03(\x0b2\x14.VCSEC.KeyIdentifier\x12\x10\n\x08slotMask\x18\x03 \x01(\r"\xb5\x01\n\x12WhitelistEntryInfo\x12#\n\x05keyId\x18\x01 \x01(\x0b2\x14.VCSEC.KeyIdentifier\x12#\n\tpublicKey\x18\x02 \x01(\x0b2\x10.VCSEC.PublicKey\x12*\n\x0emetadataForKey\x18\x04 \x01(\x0b2\x12.VCSEC.KeyMetadata\x12\x0c\n\x04slot\x18\x06 \x01(\r\x12\x1b\n\x07keyRole\x18\x07 \x01(\x0e2\n.Keys.Role"\xa6\x01\n\x12InformationRequest\x12=\n\x16informationRequestType\x18\x01 \x01(\x0e2\x1d.VCSEC.InformationRequestType\x12%\n\x05keyId\x18\x02 \x01(\x0b2\x14.VCSEC.KeyIdentifierH\x00\x12\x13\n\tpublicKey\x18\x03 \x01(\x0cH\x00\x12\x0e\n\x04slot\x18\x04 \x01(\rH\x00B\x05\n\x03key"\x98\x03\n\x12ClosureMoveRequest\x121\n\x0ffrontDriverDoor\x18\x01 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x124\n\x12frontPassengerDoor\x18\x02 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x120\n\x0erearDriverDoor\x18\x03 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x123\n\x11rearPassengerDoor\x18\x04 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x12+\n\trearTrunk\x18\x05 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x12,\n\nfrontTrunk\x18\x06 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x12,\n\nchargePort\x18\x07 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x12)\n\x07tonneau\x18\x08 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E"i\n\x10PermissionChange\x12\x1d\n\x03key\x18\x01 \x01(\x0b2\x10.VCSEC.PublicKey\x12\x19\n\x11secondsToBeActive\x18\x03 \x01(\r\x12\x1b\n\x07keyRole\x18\x04 \x01(\x0e2\n.Keys.Role"\xbb\x01\n\nReplaceKey\x12.\n\x12publicKeyToReplace\x18\x01 \x01(\x0b2\x10.VCSEC.PublicKeyH\x00\x12\x17\n\rslotToReplace\x18\x02 \x01(\rH\x00\x12"\n\x08keyToAdd\x18\x03 \x01(\x0b2\x10.VCSEC.PublicKey\x12\x1b\n\x07keyRole\x18\x04 \x01(\x0e2\n.Keys.Role\x12\x13\n\x0bimpermanent\x18\x05 \x01(\x08B\x0e\n\x0ckeyToReplace"\x8c\x05\n\x12WhitelistOperation\x123\n\x17addPublicKeyToWhitelist\x18\x01 \x01(\x0b2\x10.VCSEC.PublicKeyH\x00\x128\n\x1cremovePublicKeyFromWhitelist\x18\x02 \x01(\x0b2\x10.VCSEC.PublicKeyH\x00\x12<\n\x19addPermissionsToPublicKey\x18\x03 \x01(\x0b2\x17.VCSEC.PermissionChangeH\x00\x12A\n\x1eremovePermissionsFromPublicKey\x18\x04 \x01(\x0b2\x17.VCSEC.PermissionChangeH\x00\x12E\n"addKeyToWhitelistAndAddPermissions\x18\x05 \x01(\x0b2\x17.VCSEC.PermissionChangeH\x00\x12:\n\x17updateKeyAndPermissions\x18\x07 \x01(\x0b2\x17.VCSEC.PermissionChangeH\x00\x124\n\x11addImpermanentKey\x18\x08 \x01(\x0b2\x17.VCSEC.PermissionChangeH\x00\x12E\n"addImpermanentKeyAndRemoveExisting\x18\t \x01(\x0b2\x17.VCSEC.PermissionChangeH\x00\x12"\n\x18removeAllImpermanentKeys\x18\x10 \x01(\x08H\x00\x12\'\n\nreplaceKey\x18\x11 \x01(\x0b2\x11.VCSEC.ReplaceKeyH\x00\x12*\n\x0emetadataForKey\x18\x06 \x01(\x0b2\x12.VCSEC.KeyMetadataB\r\n\x0bsub_message"\xcf\x01\n\x19WhitelistOperation_status\x12N\n\x1dwhitelistOperationInformation\x18\x01 \x01(\x0e2\'.VCSEC.WhitelistOperation_information_E\x12/\n\x11signerOfOperation\x18\x02 \x01(\x0b2\x14.VCSEC.KeyIdentifier\x121\n\x0foperationStatus\x18\x03 \x01(\x0e2\x18.VCSEC.OperationStatus_E"m\n\x14SignedMessage_status\x12\x0f\n\x07counter\x18\x01 \x01(\r\x12D\n\x18signedMessageInformation\x18\x02 \x01(\x0e2".VCSEC.SignedMessage_information_E"\xd3\x01\n\rCommandStatus\x121\n\x0foperationStatus\x18\x01 \x01(\x0e2\x18.VCSEC.OperationStatus_E\x12:\n\x13signedMessageStatus\x18\x02 \x01(\x0b2\x1b.VCSEC.SignedMessage_statusH\x00\x12D\n\x18whitelistOperationStatus\x18\x03 \x01(\x0b2 .VCSEC.WhitelistOperation_statusH\x00B\r\n\x0bsub_message"\x92\x02\n\x0fUnsignedMessage\x127\n\x12InformationRequest\x18\x01 \x01(\x0b2\x19.VCSEC.InformationRequestH\x00\x12\'\n\tRKEAction\x18\x02 \x01(\x0e2\x12.VCSEC.RKEAction_EH\x00\x127\n\x12closureMoveRequest\x18\x04 \x01(\x0b2\x19.VCSEC.ClosureMoveRequestH\x00\x127\n\x12WhitelistOperation\x18\x10 \x01(\x0b2\x19.VCSEC.WhitelistOperationH\x00B\r\n\x0bsub_messageJ\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\rJ\x04\x08\r\x10\x0e"\xfd\x02\n\x0fClosureStatuses\x12.\n\x0ffrontDriverDoor\x18\x01 \x01(\x0e2\x15.VCSEC.ClosureState_E\x121\n\x12frontPassengerDoor\x18\x02 \x01(\x0e2\x15.VCSEC.ClosureState_E\x12-\n\x0erearDriverDoor\x18\x03 \x01(\x0e2\x15.VCSEC.ClosureState_E\x120\n\x11rearPassengerDoor\x18\x04 \x01(\x0e2\x15.VCSEC.ClosureState_E\x12(\n\trearTrunk\x18\x05 \x01(\x0e2\x15.VCSEC.ClosureState_E\x12)\n\nfrontTrunk\x18\x06 \x01(\x0e2\x15.VCSEC.ClosureState_E\x12)\n\nchargePort\x18\x07 \x01(\x0e2\x15.VCSEC.ClosureState_E\x12&\n\x07tonneau\x18\x08 \x01(\x0e2\x15.VCSEC.ClosureState_E"3\n\x15DetailedClosureStatus\x12\x1a\n\x12tonneauPercentOpen\x18\x01 \x01(\r"\x98\x02\n\rVehicleStatus\x12/\n\x0fclosureStatuses\x18\x01 \x01(\x0b2\x16.VCSEC.ClosureStatuses\x123\n\x10vehicleLockState\x18\x02 \x01(\x0e2\x19.VCSEC.VehicleLockState_E\x127\n\x12vehicleSleepStatus\x18\x03 \x01(\x0e2\x1b.VCSEC.VehicleSleepStatus_E\x12+\n\x0cuserPresence\x18\x04 \x01(\x0e2\x15.VCSEC.UserPresence_E\x12;\n\x15detailedClosureStatus\x18\x05 \x01(\x0b2\x1c.VCSEC.DetailedClosureStatus"\x9b\x02\n\x10FromVCSECMessage\x12-\n\rvehicleStatus\x18\x01 \x01(\x0b2\x14.VCSEC.VehicleStatusH\x00\x12-\n\rcommandStatus\x18\x04 \x01(\x0b2\x14.VCSEC.CommandStatusH\x00\x12-\n\rwhitelistInfo\x18\x10 \x01(\x0b2\x14.VCSEC.WhitelistInfoH\x00\x127\n\x12whitelistEntryInfo\x18\x11 \x01(\x0b2\x19.VCSEC.WhitelistEntryInfoH\x00\x12,\n\x0cnominalError\x18. \x01(\x0b2\x14.Errors.NominalErrorH\x00B\r\n\x0bsub_messageJ\x04\x08\x06\x10\x0b*H\n\rSignatureType\x12\x17\n\x13SIGNATURE_TYPE_NONE\x10\x00\x12\x1e\n\x1aSIGNATURE_TYPE_PRESENT_KEY\x10\x02*\xad\x01\n\rKeyFormFactor\x12\x1b\n\x17KEY_FORM_FACTOR_UNKNOWN\x10\x00\x12\x1c\n\x18KEY_FORM_FACTOR_NFC_CARD\x10\x01\x12\x1e\n\x1aKEY_FORM_FACTOR_IOS_DEVICE\x10\x06\x12"\n\x1eKEY_FORM_FACTOR_ANDROID_DEVICE\x10\x07\x12\x1d\n\x19KEY_FORM_FACTOR_CLOUD_KEY\x10\t*\xa9\x01\n\x16InformationRequestType\x12\'\n#INFORMATION_REQUEST_TYPE_GET_STATUS\x10\x00\x12/\n+INFORMATION_REQUEST_TYPE_GET_WHITELIST_INFO\x10\x05\x125\n1INFORMATION_REQUEST_TYPE_GET_WHITELIST_ENTRY_INFO\x10\x06*\x97\x01\n\x0bRKEAction_E\x12\x15\n\x11RKE_ACTION_UNLOCK\x10\x00\x12\x13\n\x0fRKE_ACTION_LOCK\x10\x01\x12\x1b\n\x17RKE_ACTION_REMOTE_DRIVE\x10\x14\x12"\n\x1eRKE_ACTION_AUTO_SECURE_VEHICLE\x10\x1d\x12\x1b\n\x17RKE_ACTION_WAKE_VEHICLE\x10\x1e*\xa0\x01\n\x11ClosureMoveType_E\x12\x1a\n\x16CLOSURE_MOVE_TYPE_NONE\x10\x00\x12\x1a\n\x16CLOSURE_MOVE_TYPE_MOVE\x10\x01\x12\x1a\n\x16CLOSURE_MOVE_TYPE_STOP\x10\x02\x12\x1a\n\x16CLOSURE_MOVE_TYPE_OPEN\x10\x03\x12\x1b\n\x17CLOSURE_MOVE_TYPE_CLOSE\x10\x04*`\n\x11OperationStatus_E\x12\x16\n\x12OPERATIONSTATUS_OK\x10\x00\x12\x18\n\x14OPERATIONSTATUS_WAIT\x10\x01\x12\x19\n\x15OPERATIONSTATUS_ERROR\x10\x02*\xf3\x08\n\x1bSignedMessage_information_E\x12"\n\x1eSIGNEDMESSAGE_INFORMATION_NONE\x10\x00\x12+\n\'SIGNEDMESSAGE_INFORMATION_FAULT_UNKNOWN\x10\x01\x124\n0SIGNEDMESSAGE_INFORMATION_FAULT_NOT_ON_WHITELIST\x10\x02\x12<\n8SIGNEDMESSAGE_INFORMATION_FAULT_IV_SMALLER_THAN_EXPECTED\x10\x03\x121\n-SIGNEDMESSAGE_INFORMATION_FAULT_INVALID_TOKEN\x10\x04\x12=\n9SIGNEDMESSAGE_INFORMATION_FAULT_TOKEN_AND_COUNTER_INVALID\x10\x05\x124\n0SIGNEDMESSAGE_INFORMATION_FAULT_AES_DECRYPT_AUTH\x10\x06\x12/\n+SIGNEDMESSAGE_INFORMATION_FAULT_ECDSA_INPUT\x10\x07\x123\n/SIGNEDMESSAGE_INFORMATION_FAULT_ECDSA_SIGNATURE\x10\x08\x126\n2SIGNEDMESSAGE_INFORMATION_FAULT_LOCAL_ENTITY_START\x10\t\x127\n3SIGNEDMESSAGE_INFORMATION_FAULT_LOCAL_ENTITY_RESULT\x10\n\x12:\n6SIGNEDMESSAGE_INFORMATION_FAULT_COULD_NOT_RETRIEVE_KEY\x10\x0b\x12<\n8SIGNEDMESSAGE_INFORMATION_FAULT_COULD_NOT_RETRIEVE_TOKEN\x10\x0c\x127\n3SIGNEDMESSAGE_INFORMATION_FAULT_SIGNATURE_TOO_SHORT\x10\r\x12=\n9SIGNEDMESSAGE_INFORMATION_FAULT_TOKEN_IS_INCORRECT_LENGTH\x10\x0e\x123\n/SIGNEDMESSAGE_INFORMATION_FAULT_INCORRECT_EPOCH\x10\x0f\x127\n3SIGNEDMESSAGE_INFORMATION_FAULT_IV_INCORRECT_LENGTH\x10\x10\x120\n,SIGNEDMESSAGE_INFORMATION_FAULT_TIME_EXPIRED\x10\x11\x12A\n=SIGNEDMESSAGE_INFORMATION_FAULT_NOT_PROVISIONED_WITH_IDENTITY\x10\x12\x12;\n7SIGNEDMESSAGE_INFORMATION_FAULT_COULD_NOT_HASH_METADATA\x10\x13*\xc3\x0c\n WhitelistOperation_information_E\x12\'\n#WHITELISTOPERATION_INFORMATION_NONE\x10\x00\x125\n1WHITELISTOPERATION_INFORMATION_UNDOCUMENTED_ERROR\x10\x01\x12B\n>WHITELISTOPERATION_INFORMATION_NO_PERMISSION_TO_REMOVE_ONESELF\x10\x02\x124\n0WHITELISTOPERATION_INFORMATION_KEYFOB_SLOTS_FULL\x10\x03\x121\n-WHITELISTOPERATION_INFORMATION_WHITELIST_FULL\x10\x04\x127\n3WHITELISTOPERATION_INFORMATION_NO_PERMISSION_TO_ADD\x10\x05\x125\n1WHITELISTOPERATION_INFORMATION_INVALID_PUBLIC_KEY\x10\x06\x12:\n6WHITELISTOPERATION_INFORMATION_NO_PERMISSION_TO_REMOVE\x10\x07\x12F\nBWHITELISTOPERATION_INFORMATION_NO_PERMISSION_TO_CHANGE_PERMISSIONS\x10\x08\x12L\nHWHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_ELEVATE_OTHER_ABOVE_ONESELF\x10\t\x12K\nGWHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_DEMOTE_SUPERIOR_TO_ONESELF\x10\n\x12G\nCWHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_REMOVE_OWN_PERMISSIONS\x10\x0b\x12>\n:WHITELISTOPERATION_INFORMATION_PUBLIC_KEY_NOT_ON_WHITELIST\x10\x0c\x12Y\nUWHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_ADD_KEY_THAT_IS_ALREADY_ON_THE_WHITELIST\x10\r\x12F\nBWHITELISTOPERATION_INFORMATION_NOT_ALLOWED_TO_ADD_UNLESS_ON_READER\x10\x0e\x12A\n=WHITELISTOPERATION_INFORMATION_FM_MODIFYING_OUTSIDE_OF_F_MODE\x10\x0f\x12E\nAWHITELISTOPERATION_INFORMATION_FM_ATTEMPTING_TO_ADD_PERMANENT_KEY\x10\x10\x12H\nDWHITELISTOPERATION_INFORMATION_FM_ATTEMPTING_TO_REMOVE_PERMANENT_KEY\x10\x11\x129\n5WHITELISTOPERATION_INFORMATION_KEYCHAIN_WHILE_FS_FULL\x10\x12\x12E\nAWHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_ADD_KEY_WITHOUT_ROLE\x10\x13\x12J\nFWHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_ADD_KEY_WITH_SERVICE_ROLE\x10\x14\x12Q\nMWHITELISTOPERATION_INFORMATION_NON_SERVICE_KEY_ATTEMPTING_TO_ADD_SERVICE_TECH\x10\x15\x12b\n^WHITELISTOPERATION_INFORMATION_SERVICE_KEY_ATTEMPTING_TO_ADD_SERVICE_TECH_OUTSIDE_SERVICE_MODE\x10\x16*\xc6\x01\n\x0eClosureState_E\x12\x17\n\x13CLOSURESTATE_CLOSED\x10\x00\x12\x15\n\x11CLOSURESTATE_OPEN\x10\x01\x12\x15\n\x11CLOSURESTATE_AJAR\x10\x02\x12\x18\n\x14CLOSURESTATE_UNKNOWN\x10\x03\x12\x1f\n\x1bCLOSURESTATE_FAILED_UNLATCH\x10\x04\x12\x18\n\x14CLOSURESTATE_OPENING\x10\x05\x12\x18\n\x14CLOSURESTATE_CLOSING\x10\x06*\x9f\x01\n\x12VehicleLockState_E\x12\x1d\n\x19VEHICLELOCKSTATE_UNLOCKED\x10\x00\x12\x1b\n\x17VEHICLELOCKSTATE_LOCKED\x10\x01\x12$\n VEHICLELOCKSTATE_INTERNAL_LOCKED\x10\x02\x12\'\n#VEHICLELOCKSTATE_SELECTIVE_UNLOCKED\x10\x03*y\n\x14VehicleSleepStatus_E\x12 \n\x1cVEHICLE_SLEEP_STATUS_UNKNOWN\x10\x00\x12\x1e\n\x1aVEHICLE_SLEEP_STATUS_AWAKE\x10\x01\x12\x1f\n\x1bVEHICLE_SLEEP_STATUS_ASLEEP\x10\x02*}\n\x0eUserPresence_E\x12!\n\x1dVEHICLE_USER_PRESENCE_UNKNOWN\x10\x00\x12%\n!VEHICLE_USER_PRESENCE_NOT_PRESENT\x10\x01\x12!\n\x1dVEHICLE_USER_PRESENCE_PRESENT\x10\x02B_\n\x19com.tesla.generated.vcsecZBgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/vcsecb\x06proto3')
|
10
|
+
from . import keys_pb2 as keys__pb2
|
11
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0bvcsec.proto\x12\x05VCSEC\x1a\x0cerrors.proto\x1a\nkeys.proto"\\\n\rSignedMessage\x12\x1e\n\x16protobufMessageAsBytes\x18\x02 \x01(\x0c\x12+\n\rsignatureType\x18\x03 \x01(\x0e2\x14.VCSEC.SignatureType"=\n\x0eToVCSECMessage\x12+\n\rsignedMessage\x18\x01 \x01(\x0b2\x14.VCSEC.SignedMessage"&\n\rKeyIdentifier\x12\x15\n\rpublicKeySHA1\x18\x01 \x01(\x0c":\n\x0bKeyMetadata\x12+\n\rkeyFormFactor\x18\x01 \x01(\x0e2\x14.VCSEC.KeyFormFactor"!\n\tPublicKey\x12\x14\n\x0cPublicKeyRaw\x18\x01 \x01(\x0c"j\n\rWhitelistInfo\x12\x17\n\x0fnumberOfEntries\x18\x01 \x01(\r\x12.\n\x10whitelistEntries\x18\x02 \x03(\x0b2\x14.VCSEC.KeyIdentifier\x12\x10\n\x08slotMask\x18\x03 \x01(\r"\xb5\x01\n\x12WhitelistEntryInfo\x12#\n\x05keyId\x18\x01 \x01(\x0b2\x14.VCSEC.KeyIdentifier\x12#\n\tpublicKey\x18\x02 \x01(\x0b2\x10.VCSEC.PublicKey\x12*\n\x0emetadataForKey\x18\x04 \x01(\x0b2\x12.VCSEC.KeyMetadata\x12\x0c\n\x04slot\x18\x06 \x01(\r\x12\x1b\n\x07keyRole\x18\x07 \x01(\x0e2\n.Keys.Role"\xa6\x01\n\x12InformationRequest\x12=\n\x16informationRequestType\x18\x01 \x01(\x0e2\x1d.VCSEC.InformationRequestType\x12%\n\x05keyId\x18\x02 \x01(\x0b2\x14.VCSEC.KeyIdentifierH\x00\x12\x13\n\tpublicKey\x18\x03 \x01(\x0cH\x00\x12\x0e\n\x04slot\x18\x04 \x01(\rH\x00B\x05\n\x03key"\x98\x03\n\x12ClosureMoveRequest\x121\n\x0ffrontDriverDoor\x18\x01 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x124\n\x12frontPassengerDoor\x18\x02 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x120\n\x0erearDriverDoor\x18\x03 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x123\n\x11rearPassengerDoor\x18\x04 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x12+\n\trearTrunk\x18\x05 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x12,\n\nfrontTrunk\x18\x06 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x12,\n\nchargePort\x18\x07 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E\x12)\n\x07tonneau\x18\x08 \x01(\x0e2\x18.VCSEC.ClosureMoveType_E"i\n\x10PermissionChange\x12\x1d\n\x03key\x18\x01 \x01(\x0b2\x10.VCSEC.PublicKey\x12\x19\n\x11secondsToBeActive\x18\x03 \x01(\r\x12\x1b\n\x07keyRole\x18\x04 \x01(\x0e2\n.Keys.Role"\xbb\x01\n\nReplaceKey\x12.\n\x12publicKeyToReplace\x18\x01 \x01(\x0b2\x10.VCSEC.PublicKeyH\x00\x12\x17\n\rslotToReplace\x18\x02 \x01(\rH\x00\x12"\n\x08keyToAdd\x18\x03 \x01(\x0b2\x10.VCSEC.PublicKey\x12\x1b\n\x07keyRole\x18\x04 \x01(\x0e2\n.Keys.Role\x12\x13\n\x0bimpermanent\x18\x05 \x01(\x08B\x0e\n\x0ckeyToReplace"\x8c\x05\n\x12WhitelistOperation\x123\n\x17addPublicKeyToWhitelist\x18\x01 \x01(\x0b2\x10.VCSEC.PublicKeyH\x00\x128\n\x1cremovePublicKeyFromWhitelist\x18\x02 \x01(\x0b2\x10.VCSEC.PublicKeyH\x00\x12<\n\x19addPermissionsToPublicKey\x18\x03 \x01(\x0b2\x17.VCSEC.PermissionChangeH\x00\x12A\n\x1eremovePermissionsFromPublicKey\x18\x04 \x01(\x0b2\x17.VCSEC.PermissionChangeH\x00\x12E\n"addKeyToWhitelistAndAddPermissions\x18\x05 \x01(\x0b2\x17.VCSEC.PermissionChangeH\x00\x12:\n\x17updateKeyAndPermissions\x18\x07 \x01(\x0b2\x17.VCSEC.PermissionChangeH\x00\x124\n\x11addImpermanentKey\x18\x08 \x01(\x0b2\x17.VCSEC.PermissionChangeH\x00\x12E\n"addImpermanentKeyAndRemoveExisting\x18\t \x01(\x0b2\x17.VCSEC.PermissionChangeH\x00\x12"\n\x18removeAllImpermanentKeys\x18\x10 \x01(\x08H\x00\x12\'\n\nreplaceKey\x18\x11 \x01(\x0b2\x11.VCSEC.ReplaceKeyH\x00\x12*\n\x0emetadataForKey\x18\x06 \x01(\x0b2\x12.VCSEC.KeyMetadataB\r\n\x0bsub_message"\xcf\x01\n\x19WhitelistOperation_status\x12N\n\x1dwhitelistOperationInformation\x18\x01 \x01(\x0e2\'.VCSEC.WhitelistOperation_information_E\x12/\n\x11signerOfOperation\x18\x02 \x01(\x0b2\x14.VCSEC.KeyIdentifier\x121\n\x0foperationStatus\x18\x03 \x01(\x0e2\x18.VCSEC.OperationStatus_E"m\n\x14SignedMessage_status\x12\x0f\n\x07counter\x18\x01 \x01(\r\x12D\n\x18signedMessageInformation\x18\x02 \x01(\x0e2".VCSEC.SignedMessage_information_E"\xd3\x01\n\rCommandStatus\x121\n\x0foperationStatus\x18\x01 \x01(\x0e2\x18.VCSEC.OperationStatus_E\x12:\n\x13signedMessageStatus\x18\x02 \x01(\x0b2\x1b.VCSEC.SignedMessage_statusH\x00\x12D\n\x18whitelistOperationStatus\x18\x03 \x01(\x0b2 .VCSEC.WhitelistOperation_statusH\x00B\r\n\x0bsub_message"\x92\x02\n\x0fUnsignedMessage\x127\n\x12InformationRequest\x18\x01 \x01(\x0b2\x19.VCSEC.InformationRequestH\x00\x12\'\n\tRKEAction\x18\x02 \x01(\x0e2\x12.VCSEC.RKEAction_EH\x00\x127\n\x12closureMoveRequest\x18\x04 \x01(\x0b2\x19.VCSEC.ClosureMoveRequestH\x00\x127\n\x12WhitelistOperation\x18\x10 \x01(\x0b2\x19.VCSEC.WhitelistOperationH\x00B\r\n\x0bsub_messageJ\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\rJ\x04\x08\r\x10\x0e"\xfd\x02\n\x0fClosureStatuses\x12.\n\x0ffrontDriverDoor\x18\x01 \x01(\x0e2\x15.VCSEC.ClosureState_E\x121\n\x12frontPassengerDoor\x18\x02 \x01(\x0e2\x15.VCSEC.ClosureState_E\x12-\n\x0erearDriverDoor\x18\x03 \x01(\x0e2\x15.VCSEC.ClosureState_E\x120\n\x11rearPassengerDoor\x18\x04 \x01(\x0e2\x15.VCSEC.ClosureState_E\x12(\n\trearTrunk\x18\x05 \x01(\x0e2\x15.VCSEC.ClosureState_E\x12)\n\nfrontTrunk\x18\x06 \x01(\x0e2\x15.VCSEC.ClosureState_E\x12)\n\nchargePort\x18\x07 \x01(\x0e2\x15.VCSEC.ClosureState_E\x12&\n\x07tonneau\x18\x08 \x01(\x0e2\x15.VCSEC.ClosureState_E"3\n\x15DetailedClosureStatus\x12\x1a\n\x12tonneauPercentOpen\x18\x01 \x01(\r"\x98\x02\n\rVehicleStatus\x12/\n\x0fclosureStatuses\x18\x01 \x01(\x0b2\x16.VCSEC.ClosureStatuses\x123\n\x10vehicleLockState\x18\x02 \x01(\x0e2\x19.VCSEC.VehicleLockState_E\x127\n\x12vehicleSleepStatus\x18\x03 \x01(\x0e2\x1b.VCSEC.VehicleSleepStatus_E\x12+\n\x0cuserPresence\x18\x04 \x01(\x0e2\x15.VCSEC.UserPresence_E\x12;\n\x15detailedClosureStatus\x18\x05 \x01(\x0b2\x1c.VCSEC.DetailedClosureStatus"\x9b\x02\n\x10FromVCSECMessage\x12-\n\rvehicleStatus\x18\x01 \x01(\x0b2\x14.VCSEC.VehicleStatusH\x00\x12-\n\rcommandStatus\x18\x04 \x01(\x0b2\x14.VCSEC.CommandStatusH\x00\x12-\n\rwhitelistInfo\x18\x10 \x01(\x0b2\x14.VCSEC.WhitelistInfoH\x00\x127\n\x12whitelistEntryInfo\x18\x11 \x01(\x0b2\x19.VCSEC.WhitelistEntryInfoH\x00\x12,\n\x0cnominalError\x18. \x01(\x0b2\x14.Errors.NominalErrorH\x00B\r\n\x0bsub_messageJ\x04\x08\x06\x10\x0b*H\n\rSignatureType\x12\x17\n\x13SIGNATURE_TYPE_NONE\x10\x00\x12\x1e\n\x1aSIGNATURE_TYPE_PRESENT_KEY\x10\x02*\xd8\x05\n\rKeyFormFactor\x12\x1b\n\x17KEY_FORM_FACTOR_UNKNOWN\x10\x00\x12\x1c\n\x18KEY_FORM_FACTOR_NFC_CARD\x10\x01\x12+\n\'KEY_FORM_FACTOR_3_BUTTON_BLE_CAR_KEYFOB\x10\x02\x12\x1e\n\x1aKEY_FORM_FACTOR_BLE_DEVICE\x10\x03\x12\x1e\n\x1aKEY_FORM_FACTOR_NFC_DEVICE\x10\x04\x12&\n"KEY_FORM_FACTOR_BLE_AND_NFC_DEVICE\x10\x05\x12\x1e\n\x1aKEY_FORM_FACTOR_IOS_DEVICE\x10\x06\x12"\n\x1eKEY_FORM_FACTOR_ANDROID_DEVICE\x10\x07\x12/\n+KEY_FORM_FACTOR_3_BUTTON_BLE_CAR_KEYFOB_P60\x10\x08\x12\x1d\n\x19KEY_FORM_FACTOR_CLOUD_KEY\x10\t\x120\n,KEY_FORM_FACTOR_3_BUTTON_GEN2_CAR_KEYFOB_P60\x10\n\x120\n,KEY_FORM_FACTOR_5_BUTTON_GEN2_CAR_KEYFOB_P60\x10\x0b\x123\n/KEY_FORM_FACTOR_3_BUTTON_GEN2_CAR_KEYFOB_P60_V2\x10\x0c\x123\n/KEY_FORM_FACTOR_3_BUTTON_GEN2_CAR_KEYFOB_P60_V3\x10\r\x12 \n\x1cKEY_FORM_FACTOR_NFC_CARD_P71\x10\x0e\x12\'\n#KEY_FORM_FACTOR_NFC_CARD_METAL_CARD\x10\x0f\x12)\n%KEY_FORM_FACTOR_NFC_CARD_PLASTIC_CARD\x10\x10\x12\x1f\n\x1bKEY_FORM_FACTOR_APPLE_WATCH\x10\x11*\xa9\x01\n\x16InformationRequestType\x12\'\n#INFORMATION_REQUEST_TYPE_GET_STATUS\x10\x00\x12/\n+INFORMATION_REQUEST_TYPE_GET_WHITELIST_INFO\x10\x05\x125\n1INFORMATION_REQUEST_TYPE_GET_WHITELIST_ENTRY_INFO\x10\x06*\xd5\x02\n\x0bRKEAction_E\x12\x15\n\x11RKE_ACTION_UNLOCK\x10\x00\x12\x13\n\x0fRKE_ACTION_LOCK\x10\x01\x12\x19\n\x15RKE_ACTION_OPEN_TRUNK\x10\x02\x12\x19\n\x15RKE_ACTION_OPEN_FRUNK\x10\x03\x12\x1f\n\x1bRKE_ACTION_OPEN_CHARGE_PORT\x10\x04\x12 \n\x1cRKE_ACTION_CLOSE_CHARGE_PORT\x10\x05\x12+\n\'RKE_ACTION_CANCEL_EXTERNAL_AUTHENTICATE\x10\x06\x12\x16\n\x12RKE_ACTION_UNKNOWN\x10\x13\x12\x1b\n\x17RKE_ACTION_REMOTE_DRIVE\x10\x14\x12"\n\x1eRKE_ACTION_AUTO_SECURE_VEHICLE\x10\x1d\x12\x1b\n\x17RKE_ACTION_WAKE_VEHICLE\x10\x1e*\xa0\x01\n\x11ClosureMoveType_E\x12\x1a\n\x16CLOSURE_MOVE_TYPE_NONE\x10\x00\x12\x1a\n\x16CLOSURE_MOVE_TYPE_MOVE\x10\x01\x12\x1a\n\x16CLOSURE_MOVE_TYPE_STOP\x10\x02\x12\x1a\n\x16CLOSURE_MOVE_TYPE_OPEN\x10\x03\x12\x1b\n\x17CLOSURE_MOVE_TYPE_CLOSE\x10\x04*`\n\x11OperationStatus_E\x12\x16\n\x12OPERATIONSTATUS_OK\x10\x00\x12\x18\n\x14OPERATIONSTATUS_WAIT\x10\x01\x12\x19\n\x15OPERATIONSTATUS_ERROR\x10\x02*\xf3\x08\n\x1bSignedMessage_information_E\x12"\n\x1eSIGNEDMESSAGE_INFORMATION_NONE\x10\x00\x12+\n\'SIGNEDMESSAGE_INFORMATION_FAULT_UNKNOWN\x10\x01\x124\n0SIGNEDMESSAGE_INFORMATION_FAULT_NOT_ON_WHITELIST\x10\x02\x12<\n8SIGNEDMESSAGE_INFORMATION_FAULT_IV_SMALLER_THAN_EXPECTED\x10\x03\x121\n-SIGNEDMESSAGE_INFORMATION_FAULT_INVALID_TOKEN\x10\x04\x12=\n9SIGNEDMESSAGE_INFORMATION_FAULT_TOKEN_AND_COUNTER_INVALID\x10\x05\x124\n0SIGNEDMESSAGE_INFORMATION_FAULT_AES_DECRYPT_AUTH\x10\x06\x12/\n+SIGNEDMESSAGE_INFORMATION_FAULT_ECDSA_INPUT\x10\x07\x123\n/SIGNEDMESSAGE_INFORMATION_FAULT_ECDSA_SIGNATURE\x10\x08\x126\n2SIGNEDMESSAGE_INFORMATION_FAULT_LOCAL_ENTITY_START\x10\t\x127\n3SIGNEDMESSAGE_INFORMATION_FAULT_LOCAL_ENTITY_RESULT\x10\n\x12:\n6SIGNEDMESSAGE_INFORMATION_FAULT_COULD_NOT_RETRIEVE_KEY\x10\x0b\x12<\n8SIGNEDMESSAGE_INFORMATION_FAULT_COULD_NOT_RETRIEVE_TOKEN\x10\x0c\x127\n3SIGNEDMESSAGE_INFORMATION_FAULT_SIGNATURE_TOO_SHORT\x10\r\x12=\n9SIGNEDMESSAGE_INFORMATION_FAULT_TOKEN_IS_INCORRECT_LENGTH\x10\x0e\x123\n/SIGNEDMESSAGE_INFORMATION_FAULT_INCORRECT_EPOCH\x10\x0f\x127\n3SIGNEDMESSAGE_INFORMATION_FAULT_IV_INCORRECT_LENGTH\x10\x10\x120\n,SIGNEDMESSAGE_INFORMATION_FAULT_TIME_EXPIRED\x10\x11\x12A\n=SIGNEDMESSAGE_INFORMATION_FAULT_NOT_PROVISIONED_WITH_IDENTITY\x10\x12\x12;\n7SIGNEDMESSAGE_INFORMATION_FAULT_COULD_NOT_HASH_METADATA\x10\x13*\x90\x10\n WhitelistOperation_information_E\x12\'\n#WHITELISTOPERATION_INFORMATION_NONE\x10\x00\x125\n1WHITELISTOPERATION_INFORMATION_UNDOCUMENTED_ERROR\x10\x01\x12B\n>WHITELISTOPERATION_INFORMATION_NO_PERMISSION_TO_REMOVE_ONESELF\x10\x02\x124\n0WHITELISTOPERATION_INFORMATION_KEYFOB_SLOTS_FULL\x10\x03\x121\n-WHITELISTOPERATION_INFORMATION_WHITELIST_FULL\x10\x04\x127\n3WHITELISTOPERATION_INFORMATION_NO_PERMISSION_TO_ADD\x10\x05\x125\n1WHITELISTOPERATION_INFORMATION_INVALID_PUBLIC_KEY\x10\x06\x12:\n6WHITELISTOPERATION_INFORMATION_NO_PERMISSION_TO_REMOVE\x10\x07\x12F\nBWHITELISTOPERATION_INFORMATION_NO_PERMISSION_TO_CHANGE_PERMISSIONS\x10\x08\x12L\nHWHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_ELEVATE_OTHER_ABOVE_ONESELF\x10\t\x12K\nGWHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_DEMOTE_SUPERIOR_TO_ONESELF\x10\n\x12G\nCWHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_REMOVE_OWN_PERMISSIONS\x10\x0b\x12>\n:WHITELISTOPERATION_INFORMATION_PUBLIC_KEY_NOT_ON_WHITELIST\x10\x0c\x12Y\nUWHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_ADD_KEY_THAT_IS_ALREADY_ON_THE_WHITELIST\x10\r\x12F\nBWHITELISTOPERATION_INFORMATION_NOT_ALLOWED_TO_ADD_UNLESS_ON_READER\x10\x0e\x12A\n=WHITELISTOPERATION_INFORMATION_FM_MODIFYING_OUTSIDE_OF_F_MODE\x10\x0f\x12E\nAWHITELISTOPERATION_INFORMATION_FM_ATTEMPTING_TO_ADD_PERMANENT_KEY\x10\x10\x12H\nDWHITELISTOPERATION_INFORMATION_FM_ATTEMPTING_TO_REMOVE_PERMANENT_KEY\x10\x11\x129\n5WHITELISTOPERATION_INFORMATION_KEYCHAIN_WHILE_FS_FULL\x10\x12\x12E\nAWHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_ADD_KEY_WITHOUT_ROLE\x10\x13\x12J\nFWHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_ADD_KEY_WITH_SERVICE_ROLE\x10\x14\x12Q\nMWHITELISTOPERATION_INFORMATION_NON_SERVICE_KEY_ATTEMPTING_TO_ADD_SERVICE_TECH\x10\x15\x12b\n^WHITELISTOPERATION_INFORMATION_SERVICE_KEY_ATTEMPTING_TO_ADD_SERVICE_TECH_OUTSIDE_SERVICE_MODE\x10\x16\x12D\n@WHITELISTOPERATION_INFORMATION_COULD_NOT_START_LOCAL_ENTITY_AUTH\x10\x17\x12E\nAWHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_UI_DENIED\x10\x18\x12U\nQWHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_TIMED_OUT_WAITING_FOR_TAP\x10\x19\x12X\nTWHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_TIMED_OUT_WAITING_FOR_UI_ACK\x10\x1a\x12F\nBWHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_VALET_MODE\x10\x1b\x12E\nAWHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_CANCELLED\x10\x1c*\xc6\x01\n\x0eClosureState_E\x12\x17\n\x13CLOSURESTATE_CLOSED\x10\x00\x12\x15\n\x11CLOSURESTATE_OPEN\x10\x01\x12\x15\n\x11CLOSURESTATE_AJAR\x10\x02\x12\x18\n\x14CLOSURESTATE_UNKNOWN\x10\x03\x12\x1f\n\x1bCLOSURESTATE_FAILED_UNLATCH\x10\x04\x12\x18\n\x14CLOSURESTATE_OPENING\x10\x05\x12\x18\n\x14CLOSURESTATE_CLOSING\x10\x06*\x9f\x01\n\x12VehicleLockState_E\x12\x1d\n\x19VEHICLELOCKSTATE_UNLOCKED\x10\x00\x12\x1b\n\x17VEHICLELOCKSTATE_LOCKED\x10\x01\x12$\n VEHICLELOCKSTATE_INTERNAL_LOCKED\x10\x02\x12\'\n#VEHICLELOCKSTATE_SELECTIVE_UNLOCKED\x10\x03*y\n\x14VehicleSleepStatus_E\x12 \n\x1cVEHICLE_SLEEP_STATUS_UNKNOWN\x10\x00\x12\x1e\n\x1aVEHICLE_SLEEP_STATUS_AWAKE\x10\x01\x12\x1f\n\x1bVEHICLE_SLEEP_STATUS_ASLEEP\x10\x02*}\n\x0eUserPresence_E\x12!\n\x1dVEHICLE_USER_PRESENCE_UNKNOWN\x10\x00\x12%\n!VEHICLE_USER_PRESENCE_NOT_PRESENT\x10\x01\x12!\n\x1dVEHICLE_USER_PRESENCE_PRESENT\x10\x02B_\n\x19com.tesla.generated.vcsecZBgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/vcsecb\x06proto3')
|
10
12
|
_globals = globals()
|
11
13
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
12
14
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'vcsec_pb2', _globals)
|
13
|
-
if _descriptor._USE_C_DESCRIPTORS
|
14
|
-
_globals['DESCRIPTOR'].
|
15
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
16
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
15
17
|
_globals['DESCRIPTOR']._serialized_options = b'\n\x19com.tesla.generated.vcsecZBgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/vcsec'
|
16
18
|
_globals['_SIGNATURETYPE']._serialized_start = 3982
|
17
19
|
_globals['_SIGNATURETYPE']._serialized_end = 4054
|
18
20
|
_globals['_KEYFORMFACTOR']._serialized_start = 4057
|
19
|
-
_globals['_KEYFORMFACTOR']._serialized_end =
|
20
|
-
_globals['_INFORMATIONREQUESTTYPE']._serialized_start =
|
21
|
-
_globals['_INFORMATIONREQUESTTYPE']._serialized_end =
|
22
|
-
_globals['_RKEACTION_E']._serialized_start =
|
23
|
-
_globals['_RKEACTION_E']._serialized_end =
|
24
|
-
_globals['_CLOSUREMOVETYPE_E']._serialized_start =
|
25
|
-
_globals['_CLOSUREMOVETYPE_E']._serialized_end =
|
26
|
-
_globals['_OPERATIONSTATUS_E']._serialized_start =
|
27
|
-
_globals['_OPERATIONSTATUS_E']._serialized_end =
|
28
|
-
_globals['_SIGNEDMESSAGE_INFORMATION_E']._serialized_start =
|
29
|
-
_globals['_SIGNEDMESSAGE_INFORMATION_E']._serialized_end =
|
30
|
-
_globals['_WHITELISTOPERATION_INFORMATION_E']._serialized_start =
|
31
|
-
_globals['_WHITELISTOPERATION_INFORMATION_E']._serialized_end =
|
32
|
-
_globals['_CLOSURESTATE_E']._serialized_start =
|
33
|
-
_globals['_CLOSURESTATE_E']._serialized_end =
|
34
|
-
_globals['_VEHICLELOCKSTATE_E']._serialized_start =
|
35
|
-
_globals['_VEHICLELOCKSTATE_E']._serialized_end =
|
36
|
-
_globals['_VEHICLESLEEPSTATUS_E']._serialized_start =
|
37
|
-
_globals['_VEHICLESLEEPSTATUS_E']._serialized_end =
|
38
|
-
_globals['_USERPRESENCE_E']._serialized_start =
|
39
|
-
_globals['_USERPRESENCE_E']._serialized_end =
|
21
|
+
_globals['_KEYFORMFACTOR']._serialized_end = 4785
|
22
|
+
_globals['_INFORMATIONREQUESTTYPE']._serialized_start = 4788
|
23
|
+
_globals['_INFORMATIONREQUESTTYPE']._serialized_end = 4957
|
24
|
+
_globals['_RKEACTION_E']._serialized_start = 4960
|
25
|
+
_globals['_RKEACTION_E']._serialized_end = 5301
|
26
|
+
_globals['_CLOSUREMOVETYPE_E']._serialized_start = 5304
|
27
|
+
_globals['_CLOSUREMOVETYPE_E']._serialized_end = 5464
|
28
|
+
_globals['_OPERATIONSTATUS_E']._serialized_start = 5466
|
29
|
+
_globals['_OPERATIONSTATUS_E']._serialized_end = 5562
|
30
|
+
_globals['_SIGNEDMESSAGE_INFORMATION_E']._serialized_start = 5565
|
31
|
+
_globals['_SIGNEDMESSAGE_INFORMATION_E']._serialized_end = 6704
|
32
|
+
_globals['_WHITELISTOPERATION_INFORMATION_E']._serialized_start = 6707
|
33
|
+
_globals['_WHITELISTOPERATION_INFORMATION_E']._serialized_end = 8771
|
34
|
+
_globals['_CLOSURESTATE_E']._serialized_start = 8774
|
35
|
+
_globals['_CLOSURESTATE_E']._serialized_end = 8972
|
36
|
+
_globals['_VEHICLELOCKSTATE_E']._serialized_start = 8975
|
37
|
+
_globals['_VEHICLELOCKSTATE_E']._serialized_end = 9134
|
38
|
+
_globals['_VEHICLESLEEPSTATUS_E']._serialized_start = 9136
|
39
|
+
_globals['_VEHICLESLEEPSTATUS_E']._serialized_end = 9257
|
40
|
+
_globals['_USERPRESENCE_E']._serialized_start = 9259
|
41
|
+
_globals['_USERPRESENCE_E']._serialized_end = 9384
|
40
42
|
_globals['_SIGNEDMESSAGE']._serialized_start = 48
|
41
43
|
_globals['_SIGNEDMESSAGE']._serialized_end = 140
|
42
44
|
_globals['_TOVCSECMESSAGE']._serialized_start = 142
|
@@ -1,10 +1,11 @@
|
|
1
|
-
import keys_pb2 as _keys_pb2
|
2
1
|
import errors_pb2 as _errors_pb2
|
2
|
+
import keys_pb2 as _keys_pb2
|
3
3
|
from google.protobuf.internal import containers as _containers
|
4
4
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
5
5
|
from google.protobuf import descriptor as _descriptor
|
6
6
|
from google.protobuf import message as _message
|
7
|
-
from
|
7
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
8
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
8
9
|
DESCRIPTOR: _descriptor.FileDescriptor
|
9
10
|
|
10
11
|
class SignatureType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
@@ -16,9 +17,22 @@ class KeyFormFactor(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
16
17
|
__slots__ = ()
|
17
18
|
KEY_FORM_FACTOR_UNKNOWN: _ClassVar[KeyFormFactor]
|
18
19
|
KEY_FORM_FACTOR_NFC_CARD: _ClassVar[KeyFormFactor]
|
20
|
+
KEY_FORM_FACTOR_3_BUTTON_BLE_CAR_KEYFOB: _ClassVar[KeyFormFactor]
|
21
|
+
KEY_FORM_FACTOR_BLE_DEVICE: _ClassVar[KeyFormFactor]
|
22
|
+
KEY_FORM_FACTOR_NFC_DEVICE: _ClassVar[KeyFormFactor]
|
23
|
+
KEY_FORM_FACTOR_BLE_AND_NFC_DEVICE: _ClassVar[KeyFormFactor]
|
19
24
|
KEY_FORM_FACTOR_IOS_DEVICE: _ClassVar[KeyFormFactor]
|
20
25
|
KEY_FORM_FACTOR_ANDROID_DEVICE: _ClassVar[KeyFormFactor]
|
26
|
+
KEY_FORM_FACTOR_3_BUTTON_BLE_CAR_KEYFOB_P60: _ClassVar[KeyFormFactor]
|
21
27
|
KEY_FORM_FACTOR_CLOUD_KEY: _ClassVar[KeyFormFactor]
|
28
|
+
KEY_FORM_FACTOR_3_BUTTON_GEN2_CAR_KEYFOB_P60: _ClassVar[KeyFormFactor]
|
29
|
+
KEY_FORM_FACTOR_5_BUTTON_GEN2_CAR_KEYFOB_P60: _ClassVar[KeyFormFactor]
|
30
|
+
KEY_FORM_FACTOR_3_BUTTON_GEN2_CAR_KEYFOB_P60_V2: _ClassVar[KeyFormFactor]
|
31
|
+
KEY_FORM_FACTOR_3_BUTTON_GEN2_CAR_KEYFOB_P60_V3: _ClassVar[KeyFormFactor]
|
32
|
+
KEY_FORM_FACTOR_NFC_CARD_P71: _ClassVar[KeyFormFactor]
|
33
|
+
KEY_FORM_FACTOR_NFC_CARD_METAL_CARD: _ClassVar[KeyFormFactor]
|
34
|
+
KEY_FORM_FACTOR_NFC_CARD_PLASTIC_CARD: _ClassVar[KeyFormFactor]
|
35
|
+
KEY_FORM_FACTOR_APPLE_WATCH: _ClassVar[KeyFormFactor]
|
22
36
|
|
23
37
|
class InformationRequestType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
24
38
|
__slots__ = ()
|
@@ -30,6 +44,12 @@ class RKEAction_E(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
30
44
|
__slots__ = ()
|
31
45
|
RKE_ACTION_UNLOCK: _ClassVar[RKEAction_E]
|
32
46
|
RKE_ACTION_LOCK: _ClassVar[RKEAction_E]
|
47
|
+
RKE_ACTION_OPEN_TRUNK: _ClassVar[RKEAction_E]
|
48
|
+
RKE_ACTION_OPEN_FRUNK: _ClassVar[RKEAction_E]
|
49
|
+
RKE_ACTION_OPEN_CHARGE_PORT: _ClassVar[RKEAction_E]
|
50
|
+
RKE_ACTION_CLOSE_CHARGE_PORT: _ClassVar[RKEAction_E]
|
51
|
+
RKE_ACTION_CANCEL_EXTERNAL_AUTHENTICATE: _ClassVar[RKEAction_E]
|
52
|
+
RKE_ACTION_UNKNOWN: _ClassVar[RKEAction_E]
|
33
53
|
RKE_ACTION_REMOTE_DRIVE: _ClassVar[RKEAction_E]
|
34
54
|
RKE_ACTION_AUTO_SECURE_VEHICLE: _ClassVar[RKEAction_E]
|
35
55
|
RKE_ACTION_WAKE_VEHICLE: _ClassVar[RKEAction_E]
|
@@ -96,6 +116,12 @@ class WhitelistOperation_information_E(int, metaclass=_enum_type_wrapper.EnumTyp
|
|
96
116
|
WHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_ADD_KEY_WITH_SERVICE_ROLE: _ClassVar[WhitelistOperation_information_E]
|
97
117
|
WHITELISTOPERATION_INFORMATION_NON_SERVICE_KEY_ATTEMPTING_TO_ADD_SERVICE_TECH: _ClassVar[WhitelistOperation_information_E]
|
98
118
|
WHITELISTOPERATION_INFORMATION_SERVICE_KEY_ATTEMPTING_TO_ADD_SERVICE_TECH_OUTSIDE_SERVICE_MODE: _ClassVar[WhitelistOperation_information_E]
|
119
|
+
WHITELISTOPERATION_INFORMATION_COULD_NOT_START_LOCAL_ENTITY_AUTH: _ClassVar[WhitelistOperation_information_E]
|
120
|
+
WHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_UI_DENIED: _ClassVar[WhitelistOperation_information_E]
|
121
|
+
WHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_TIMED_OUT_WAITING_FOR_TAP: _ClassVar[WhitelistOperation_information_E]
|
122
|
+
WHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_TIMED_OUT_WAITING_FOR_UI_ACK: _ClassVar[WhitelistOperation_information_E]
|
123
|
+
WHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_VALET_MODE: _ClassVar[WhitelistOperation_information_E]
|
124
|
+
WHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_CANCELLED: _ClassVar[WhitelistOperation_information_E]
|
99
125
|
|
100
126
|
class ClosureState_E(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
101
127
|
__slots__ = ()
|
@@ -129,14 +155,33 @@ SIGNATURE_TYPE_NONE: SignatureType
|
|
129
155
|
SIGNATURE_TYPE_PRESENT_KEY: SignatureType
|
130
156
|
KEY_FORM_FACTOR_UNKNOWN: KeyFormFactor
|
131
157
|
KEY_FORM_FACTOR_NFC_CARD: KeyFormFactor
|
158
|
+
KEY_FORM_FACTOR_3_BUTTON_BLE_CAR_KEYFOB: KeyFormFactor
|
159
|
+
KEY_FORM_FACTOR_BLE_DEVICE: KeyFormFactor
|
160
|
+
KEY_FORM_FACTOR_NFC_DEVICE: KeyFormFactor
|
161
|
+
KEY_FORM_FACTOR_BLE_AND_NFC_DEVICE: KeyFormFactor
|
132
162
|
KEY_FORM_FACTOR_IOS_DEVICE: KeyFormFactor
|
133
163
|
KEY_FORM_FACTOR_ANDROID_DEVICE: KeyFormFactor
|
164
|
+
KEY_FORM_FACTOR_3_BUTTON_BLE_CAR_KEYFOB_P60: KeyFormFactor
|
134
165
|
KEY_FORM_FACTOR_CLOUD_KEY: KeyFormFactor
|
166
|
+
KEY_FORM_FACTOR_3_BUTTON_GEN2_CAR_KEYFOB_P60: KeyFormFactor
|
167
|
+
KEY_FORM_FACTOR_5_BUTTON_GEN2_CAR_KEYFOB_P60: KeyFormFactor
|
168
|
+
KEY_FORM_FACTOR_3_BUTTON_GEN2_CAR_KEYFOB_P60_V2: KeyFormFactor
|
169
|
+
KEY_FORM_FACTOR_3_BUTTON_GEN2_CAR_KEYFOB_P60_V3: KeyFormFactor
|
170
|
+
KEY_FORM_FACTOR_NFC_CARD_P71: KeyFormFactor
|
171
|
+
KEY_FORM_FACTOR_NFC_CARD_METAL_CARD: KeyFormFactor
|
172
|
+
KEY_FORM_FACTOR_NFC_CARD_PLASTIC_CARD: KeyFormFactor
|
173
|
+
KEY_FORM_FACTOR_APPLE_WATCH: KeyFormFactor
|
135
174
|
INFORMATION_REQUEST_TYPE_GET_STATUS: InformationRequestType
|
136
175
|
INFORMATION_REQUEST_TYPE_GET_WHITELIST_INFO: InformationRequestType
|
137
176
|
INFORMATION_REQUEST_TYPE_GET_WHITELIST_ENTRY_INFO: InformationRequestType
|
138
177
|
RKE_ACTION_UNLOCK: RKEAction_E
|
139
178
|
RKE_ACTION_LOCK: RKEAction_E
|
179
|
+
RKE_ACTION_OPEN_TRUNK: RKEAction_E
|
180
|
+
RKE_ACTION_OPEN_FRUNK: RKEAction_E
|
181
|
+
RKE_ACTION_OPEN_CHARGE_PORT: RKEAction_E
|
182
|
+
RKE_ACTION_CLOSE_CHARGE_PORT: RKEAction_E
|
183
|
+
RKE_ACTION_CANCEL_EXTERNAL_AUTHENTICATE: RKEAction_E
|
184
|
+
RKE_ACTION_UNKNOWN: RKEAction_E
|
140
185
|
RKE_ACTION_REMOTE_DRIVE: RKEAction_E
|
141
186
|
RKE_ACTION_AUTO_SECURE_VEHICLE: RKEAction_E
|
142
187
|
RKE_ACTION_WAKE_VEHICLE: RKEAction_E
|
@@ -191,6 +236,12 @@ WHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_ADD_KEY_WITHOUT_ROLE: WhitelistOper
|
|
191
236
|
WHITELISTOPERATION_INFORMATION_ATTEMPTING_TO_ADD_KEY_WITH_SERVICE_ROLE: WhitelistOperation_information_E
|
192
237
|
WHITELISTOPERATION_INFORMATION_NON_SERVICE_KEY_ATTEMPTING_TO_ADD_SERVICE_TECH: WhitelistOperation_information_E
|
193
238
|
WHITELISTOPERATION_INFORMATION_SERVICE_KEY_ATTEMPTING_TO_ADD_SERVICE_TECH_OUTSIDE_SERVICE_MODE: WhitelistOperation_information_E
|
239
|
+
WHITELISTOPERATION_INFORMATION_COULD_NOT_START_LOCAL_ENTITY_AUTH: WhitelistOperation_information_E
|
240
|
+
WHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_UI_DENIED: WhitelistOperation_information_E
|
241
|
+
WHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_TIMED_OUT_WAITING_FOR_TAP: WhitelistOperation_information_E
|
242
|
+
WHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_TIMED_OUT_WAITING_FOR_UI_ACK: WhitelistOperation_information_E
|
243
|
+
WHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_VALET_MODE: WhitelistOperation_information_E
|
244
|
+
WHITELISTOPERATION_INFORMATION_LOCAL_ENTITY_AUTH_FAILED_CANCELLED: WhitelistOperation_information_E
|
194
245
|
CLOSURESTATE_CLOSED: ClosureState_E
|
195
246
|
CLOSURESTATE_OPEN: ClosureState_E
|
196
247
|
CLOSURESTATE_AJAR: ClosureState_E
|
@@ -1,8 +1,10 @@
|
|
1
1
|
"""Generated protocol buffer code."""
|
2
2
|
from google.protobuf import descriptor as _descriptor
|
3
3
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
4
|
+
from google.protobuf import runtime_version as _runtime_version
|
4
5
|
from google.protobuf import symbol_database as _symbol_database
|
5
6
|
from google.protobuf.internal import builder as _builder
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 6, 31, 0, '', 'vehicle.proto')
|
6
8
|
_sym_db = _symbol_database.Default()
|
7
9
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
8
10
|
from . import vcsec_pb2 as vcsec__pb2
|
@@ -12,8 +14,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rvehicle.proto\x1
|
|
12
14
|
_globals = globals()
|
13
15
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
14
16
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'vehicle_pb2', _globals)
|
15
|
-
if _descriptor._USE_C_DESCRIPTORS
|
16
|
-
_globals['DESCRIPTOR'].
|
17
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
18
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
17
19
|
_globals['DESCRIPTOR']._serialized_options = b'\n%com.tesla.generated.carserver.vehicleB\x07VehicleZFgithub.com/teslamotors/vehicle-command/pkg/protocol/protobuf/carserver'
|
18
20
|
_globals['_MEDIASOURCETYPE']._serialized_start = 24400
|
19
21
|
_globals['_MEDIASOURCETYPE']._serialized_end = 25372
|
@@ -6,7 +6,8 @@ from google.protobuf.internal import containers as _containers
|
|
6
6
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
8
8
|
from google.protobuf import message as _message
|
9
|
-
from
|
9
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
10
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
10
11
|
DESCRIPTOR: _descriptor.FileDescriptor
|
11
12
|
|
12
13
|
class MediaSourceType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
@@ -223,7 +224,7 @@ class ClosuresState(_message.Message):
|
|
223
224
|
tonneau_in_motion: bool
|
224
225
|
timestamp: _timestamp_pb2.Timestamp
|
225
226
|
|
226
|
-
def __init__(self, door_open_driver_front: bool=..., door_open_driver_rear: bool=..., door_open_passenger_front: bool=..., door_open_passenger_rear: bool=..., door_open_trunk_front: bool=..., door_open_trunk_rear: bool=..., window_open_driver_front: bool=..., window_open_passenger_front: bool=..., window_open_driver_rear: bool=..., window_open_passenger_rear: bool=..., sun_roof_state: _Optional[_Union[ClosuresState.SunRoofState, _Mapping]]=..., sun_roof_percent_open: _Optional[int]=..., locked: bool=..., is_user_present: bool=..., center_display_state: _Optional[_Union[ClosuresState.DisplayState, _Mapping]]=..., remote_start: bool=..., valet_mode: bool=..., valet_pin_needed: bool=..., sentry_mode_state: _Optional[_Union[ClosuresState.SentryModeState, _Mapping]]=..., sentry_mode_available: bool=..., speed_limit_mode: _Optional[_Union[SpeedLimitMode, _Mapping]]=..., tonneau_state: _Optional[_Union[_vcsec_pb2.ClosureState_E, str]]=..., tonneau_percent_open: _Optional[int]=..., tonneau_in_motion: bool=..., timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=...) -> None:
|
227
|
+
def __init__(self, door_open_driver_front: bool=..., door_open_driver_rear: bool=..., door_open_passenger_front: bool=..., door_open_passenger_rear: bool=..., door_open_trunk_front: bool=..., door_open_trunk_rear: bool=..., window_open_driver_front: bool=..., window_open_passenger_front: bool=..., window_open_driver_rear: bool=..., window_open_passenger_rear: bool=..., sun_roof_state: _Optional[_Union[ClosuresState.SunRoofState, _Mapping]]=..., sun_roof_percent_open: _Optional[int]=..., locked: bool=..., is_user_present: bool=..., center_display_state: _Optional[_Union[ClosuresState.DisplayState, _Mapping]]=..., remote_start: bool=..., valet_mode: bool=..., valet_pin_needed: bool=..., sentry_mode_state: _Optional[_Union[ClosuresState.SentryModeState, _Mapping]]=..., sentry_mode_available: bool=..., speed_limit_mode: _Optional[_Union[SpeedLimitMode, _Mapping]]=..., tonneau_state: _Optional[_Union[_vcsec_pb2.ClosureState_E, str]]=..., tonneau_percent_open: _Optional[int]=..., tonneau_in_motion: bool=..., timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=...) -> None:
|
227
228
|
...
|
228
229
|
|
229
230
|
class ChargeScheduleState(_message.Message):
|
@@ -243,7 +244,7 @@ class ChargeScheduleState(_message.Message):
|
|
243
244
|
show_schedule_complete_state: bool
|
244
245
|
timestamp: _timestamp_pb2.Timestamp
|
245
246
|
|
246
|
-
def __init__(self, charge_schedules: _Optional[_Iterable[_Union[_common_pb2.ChargeSchedule, _Mapping]]]=..., charge_schedule_window: _Optional[_Union[_common_pb2.ChargeSchedule, _Mapping]]=..., charge_buffer: _Optional[int]=..., max_num_charge_schedules: _Optional[int]=..., next_schedule: bool=..., show_schedule_complete_state: bool=..., timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=...) -> None:
|
247
|
+
def __init__(self, charge_schedules: _Optional[_Iterable[_Union[_common_pb2.ChargeSchedule, _Mapping]]]=..., charge_schedule_window: _Optional[_Union[_common_pb2.ChargeSchedule, _Mapping]]=..., charge_buffer: _Optional[int]=..., max_num_charge_schedules: _Optional[int]=..., next_schedule: bool=..., show_schedule_complete_state: bool=..., timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=...) -> None:
|
247
248
|
...
|
248
249
|
|
249
250
|
class PreconditioningScheduleState(_message.Message):
|
@@ -259,7 +260,7 @@ class PreconditioningScheduleState(_message.Message):
|
|
259
260
|
next_schedule: bool
|
260
261
|
timestamp: _timestamp_pb2.Timestamp
|
261
262
|
|
262
|
-
def __init__(self, precondition_schedules: _Optional[_Iterable[_Union[_common_pb2.PreconditionSchedule, _Mapping]]]=..., preconditioning_schedule_window: _Optional[_Union[_common_pb2.PreconditionSchedule, _Mapping]]=..., max_num_precondition_schedules: _Optional[int]=..., next_schedule: bool=..., timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=...) -> None:
|
263
|
+
def __init__(self, precondition_schedules: _Optional[_Iterable[_Union[_common_pb2.PreconditionSchedule, _Mapping]]]=..., preconditioning_schedule_window: _Optional[_Union[_common_pb2.PreconditionSchedule, _Mapping]]=..., max_num_precondition_schedules: _Optional[int]=..., next_schedule: bool=..., timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=...) -> None:
|
263
264
|
...
|
264
265
|
|
265
266
|
class SpeedLimitMode(_message.Message):
|
@@ -313,7 +314,7 @@ class ParentalControlsState(_message.Message):
|
|
313
314
|
parental_controls_pin_set: bool
|
314
315
|
parental_controls_settings: ParentalControlsSettings
|
315
316
|
|
316
|
-
def __init__(self, timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., parental_controls_active: bool=..., parental_controls_pin_set: bool=..., parental_controls_settings: _Optional[_Union[ParentalControlsSettings, _Mapping]]=...) -> None:
|
317
|
+
def __init__(self, timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., parental_controls_active: bool=..., parental_controls_pin_set: bool=..., parental_controls_settings: _Optional[_Union[ParentalControlsSettings, _Mapping]]=...) -> None:
|
317
318
|
...
|
318
319
|
|
319
320
|
class SoftwareUpdateState(_message.Message):
|
@@ -353,7 +354,7 @@ class SoftwareUpdateState(_message.Message):
|
|
353
354
|
version: str
|
354
355
|
timestamp: _timestamp_pb2.Timestamp
|
355
356
|
|
356
|
-
def __init__(self, status: _Optional[_Union[SoftwareUpdateState.SoftwareUpdateStatus, _Mapping]]=..., scheduled_time_ms: _Optional[int]=..., warning_time_remaining_ms: _Optional[int]=..., expected_duration_sec: _Optional[int]=..., download_perc: _Optional[int]=..., install_perc: _Optional[int]=..., version: _Optional[str]=..., timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=...) -> None:
|
357
|
+
def __init__(self, status: _Optional[_Union[SoftwareUpdateState.SoftwareUpdateStatus, _Mapping]]=..., scheduled_time_ms: _Optional[int]=..., warning_time_remaining_ms: _Optional[int]=..., expected_duration_sec: _Optional[int]=..., download_perc: _Optional[int]=..., install_perc: _Optional[int]=..., version: _Optional[str]=..., timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=...) -> None:
|
357
358
|
...
|
358
359
|
|
359
360
|
class DriveState(_message.Message):
|
@@ -387,7 +388,7 @@ class DriveState(_message.Message):
|
|
387
388
|
last_traffic_update: _timestamp_pb2.Timestamp
|
388
389
|
active_route_coordinates: _common_pb2.LatLong
|
389
390
|
|
390
|
-
def __init__(self, shift_state: _Optional[_Union[ShiftState, _Mapping]]=..., speed: _Optional[int]=..., power: _Optional[int]=..., timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., odometer_in_hundredths_of_a_mile: _Optional[int]=..., speed_float: _Optional[float]=..., active_route_destination: _Optional[str]=..., active_route_minutes_to_arrival: _Optional[float]=..., active_route_miles_to_arrival: _Optional[float]=..., active_route_traffic_minutes_delay: _Optional[float]=..., active_route_energy_at_arrival: _Optional[float]=..., last_route_update: _Optional[int]=..., last_traffic_update: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., active_route_coordinates: _Optional[_Union[_common_pb2.LatLong, _Mapping]]=...) -> None:
|
391
|
+
def __init__(self, shift_state: _Optional[_Union[ShiftState, _Mapping]]=..., speed: _Optional[int]=..., power: _Optional[int]=..., timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., odometer_in_hundredths_of_a_mile: _Optional[int]=..., speed_float: _Optional[float]=..., active_route_destination: _Optional[str]=..., active_route_minutes_to_arrival: _Optional[float]=..., active_route_miles_to_arrival: _Optional[float]=..., active_route_traffic_minutes_delay: _Optional[float]=..., active_route_energy_at_arrival: _Optional[float]=..., last_route_update: _Optional[int]=..., last_traffic_update: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., active_route_coordinates: _Optional[_Union[_common_pb2.LatLong, _Mapping]]=...) -> None:
|
391
392
|
...
|
392
393
|
|
393
394
|
class ChargeState(_message.Message):
|
@@ -723,7 +724,7 @@ class ChargeState(_message.Message):
|
|
723
724
|
work_location: _common_pb2.LatLong
|
724
725
|
outlet_max_timer_minutes: int
|
725
726
|
|
726
|
-
def __init__(self, charging_state: _Optional[_Union[ChargeState.ChargingState, _Mapping]]=..., fast_charger_type: _Optional[_Union[ChargeState.ChargerType, _Mapping]]=..., fast_charger_brand: _Optional[_Union[ChargeState.ChargerBrand, _Mapping]]=..., charge_limit_soc: _Optional[int]=..., charge_limit_soc_std: _Optional[int]=..., charge_limit_soc_min: _Optional[int]=..., charge_limit_soc_max: _Optional[int]=..., max_range_charge_counter: _Optional[int]=..., fast_charger_present: bool=..., battery_range: _Optional[float]=..., est_battery_range: _Optional[float]=..., ideal_battery_range: _Optional[float]=..., battery_level: _Optional[int]=..., usable_battery_level: _Optional[int]=..., charge_energy_added: _Optional[float]=..., charge_miles_added_rated: _Optional[float]=..., charge_miles_added_ideal: _Optional[float]=..., charger_voltage: _Optional[int]=..., charger_pilot_current: _Optional[int]=..., charger_actual_current: _Optional[int]=..., charger_power: _Optional[int]=..., minutes_to_full_charge: _Optional[int]=..., minutes_to_charge_limit: _Optional[int]=..., trip_charging: bool=..., charge_rate_mph: _Optional[int]=..., charge_port_door_open: bool=..., conn_charge_cable: _Optional[_Union[ChargeState.CableType, _Mapping]]=..., scheduled_charging_start_time: _Optional[int]=..., scheduled_charging_pending: bool=..., scheduled_departure_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., user_charge_enable_request: bool=..., charge_enable_request: bool=..., charger_phases: _Optional[int]=..., charge_port_latch: _Optional[_Union[_common_pb2.ChargePortLatchState, _Mapping]]=..., charge_port_cold_weather_mode: bool=..., charge_current_request: _Optional[int]=..., charge_current_request_max: _Optional[int]=..., managed_charging_active: bool=..., managed_charging_user_canceled: bool=..., managed_charging_start_time: _Optional[int]=..., timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., preconditioning_times: _Optional[_Union[_common_pb2.PreconditioningTimes, _Mapping]]=..., off_peak_charging_times: _Optional[_Union[_common_pb2.OffPeakChargingTimes, _Mapping]]=..., off_peak_hours_end_time: _Optional[int]=..., scheduled_charging_mode: _Optional[_Union[ChargeState.ScheduledChargingMode, str]]=..., charging_amps: _Optional[int]=..., scheduled_charging_start_time_minutes: _Optional[int]=..., scheduled_departure_time_minutes: _Optional[int]=..., preconditioning_enabled: bool=..., scheduled_charging_start_time_app: _Optional[int]=..., supercharger_session_trip_planner: bool=..., charge_port_color: _Optional[_Union[ChargeState.ChargePortColor_E, str]]=..., charge_rate_mph_float: _Optional[float]=..., charge_limit_reason: _Optional[_Union[ChargeState.ChargeLimitReason, str]]=..., managed_charging_state: _Optional[_Union[ManagedChargingState, _Mapping]]=..., charge_cable_unlatched: bool=..., outlet_state: _Optional[_Union[ChargeState.OutletState, str]]=..., power_feed_state: _Optional[_Union[ChargeState.PowerFeedState, str]]=..., outlet_soc_limit: _Optional[int]=..., power_feed_soc_limit: _Optional[int]=..., outlet_time_remaining: _Optional[int]=..., power_feed_time_remaining: _Optional[int]=..., powershare_feature_allowed: bool=..., powershare_feature_enabled: bool=..., powershare_request: bool=..., powershare_type: _Optional[_Union[ChargeState.PowershareType, str]]=..., powershare_status: _Optional[_Union[ChargeState.PowershareStatus, str]]=..., powershare_stop_reason: _Optional[_Union[ChargeState.PowershareStopReason, str]]=..., powershare_instantaneous_load_kw: _Optional[float]=..., powershare_vehicle_energy_left_hr: _Optional[int]=..., powershare_soc_limit: _Optional[int]=..., one_time_soc_limit: _Optional[int]=..., home_location: _Optional[_Union[_common_pb2.LatLong, _Mapping]]=..., work_location: _Optional[_Union[_common_pb2.LatLong, _Mapping]]=..., outlet_max_timer_minutes: _Optional[int]=...) -> None:
|
727
|
+
def __init__(self, charging_state: _Optional[_Union[ChargeState.ChargingState, _Mapping]]=..., fast_charger_type: _Optional[_Union[ChargeState.ChargerType, _Mapping]]=..., fast_charger_brand: _Optional[_Union[ChargeState.ChargerBrand, _Mapping]]=..., charge_limit_soc: _Optional[int]=..., charge_limit_soc_std: _Optional[int]=..., charge_limit_soc_min: _Optional[int]=..., charge_limit_soc_max: _Optional[int]=..., max_range_charge_counter: _Optional[int]=..., fast_charger_present: bool=..., battery_range: _Optional[float]=..., est_battery_range: _Optional[float]=..., ideal_battery_range: _Optional[float]=..., battery_level: _Optional[int]=..., usable_battery_level: _Optional[int]=..., charge_energy_added: _Optional[float]=..., charge_miles_added_rated: _Optional[float]=..., charge_miles_added_ideal: _Optional[float]=..., charger_voltage: _Optional[int]=..., charger_pilot_current: _Optional[int]=..., charger_actual_current: _Optional[int]=..., charger_power: _Optional[int]=..., minutes_to_full_charge: _Optional[int]=..., minutes_to_charge_limit: _Optional[int]=..., trip_charging: bool=..., charge_rate_mph: _Optional[int]=..., charge_port_door_open: bool=..., conn_charge_cable: _Optional[_Union[ChargeState.CableType, _Mapping]]=..., scheduled_charging_start_time: _Optional[int]=..., scheduled_charging_pending: bool=..., scheduled_departure_time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., user_charge_enable_request: bool=..., charge_enable_request: bool=..., charger_phases: _Optional[int]=..., charge_port_latch: _Optional[_Union[_common_pb2.ChargePortLatchState, _Mapping]]=..., charge_port_cold_weather_mode: bool=..., charge_current_request: _Optional[int]=..., charge_current_request_max: _Optional[int]=..., managed_charging_active: bool=..., managed_charging_user_canceled: bool=..., managed_charging_start_time: _Optional[int]=..., timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., preconditioning_times: _Optional[_Union[_common_pb2.PreconditioningTimes, _Mapping]]=..., off_peak_charging_times: _Optional[_Union[_common_pb2.OffPeakChargingTimes, _Mapping]]=..., off_peak_hours_end_time: _Optional[int]=..., scheduled_charging_mode: _Optional[_Union[ChargeState.ScheduledChargingMode, str]]=..., charging_amps: _Optional[int]=..., scheduled_charging_start_time_minutes: _Optional[int]=..., scheduled_departure_time_minutes: _Optional[int]=..., preconditioning_enabled: bool=..., scheduled_charging_start_time_app: _Optional[int]=..., supercharger_session_trip_planner: bool=..., charge_port_color: _Optional[_Union[ChargeState.ChargePortColor_E, str]]=..., charge_rate_mph_float: _Optional[float]=..., charge_limit_reason: _Optional[_Union[ChargeState.ChargeLimitReason, str]]=..., managed_charging_state: _Optional[_Union[ManagedChargingState, _Mapping]]=..., charge_cable_unlatched: bool=..., outlet_state: _Optional[_Union[ChargeState.OutletState, str]]=..., power_feed_state: _Optional[_Union[ChargeState.PowerFeedState, str]]=..., outlet_soc_limit: _Optional[int]=..., power_feed_soc_limit: _Optional[int]=..., outlet_time_remaining: _Optional[int]=..., power_feed_time_remaining: _Optional[int]=..., powershare_feature_allowed: bool=..., powershare_feature_enabled: bool=..., powershare_request: bool=..., powershare_type: _Optional[_Union[ChargeState.PowershareType, str]]=..., powershare_status: _Optional[_Union[ChargeState.PowershareStatus, str]]=..., powershare_stop_reason: _Optional[_Union[ChargeState.PowershareStopReason, str]]=..., powershare_instantaneous_load_kw: _Optional[float]=..., powershare_vehicle_energy_left_hr: _Optional[int]=..., powershare_soc_limit: _Optional[int]=..., one_time_soc_limit: _Optional[int]=..., home_location: _Optional[_Union[_common_pb2.LatLong, _Mapping]]=..., work_location: _Optional[_Union[_common_pb2.LatLong, _Mapping]]=..., outlet_max_timer_minutes: _Optional[int]=...) -> None:
|
727
728
|
...
|
728
729
|
|
729
730
|
class ManagedChargingState(_message.Message):
|
@@ -865,7 +866,7 @@ class LocationState(_message.Message):
|
|
865
866
|
estimated_gps_valid: bool
|
866
867
|
estimated_to_raw_distance: float
|
867
868
|
|
868
|
-
def __init__(self, latitude: _Optional[float]=..., longitude: _Optional[float]=..., heading: _Optional[int]=..., gps_as_of: _Optional[int]=..., native_location_supported: bool=..., native_latitude: _Optional[float]=..., native_longitude: _Optional[float]=..., native_type: _Optional[_Union[LocationState.GPSCoordinateType, _Mapping]]=..., corrected_latitude: _Optional[float]=..., corrected_longitude: _Optional[float]=..., timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., homelink_nearby: bool=..., location_name: _Optional[str]=..., geo_latitude: _Optional[float]=..., geo_longitude: _Optional[float]=..., geo_heading: _Optional[float]=..., geo_elevation: _Optional[float]=..., geo_accuracy: _Optional[float]=..., estimated_gps_valid: bool=..., estimated_to_raw_distance: _Optional[float]=...) -> None:
|
869
|
+
def __init__(self, latitude: _Optional[float]=..., longitude: _Optional[float]=..., heading: _Optional[int]=..., gps_as_of: _Optional[int]=..., native_location_supported: bool=..., native_latitude: _Optional[float]=..., native_longitude: _Optional[float]=..., native_type: _Optional[_Union[LocationState.GPSCoordinateType, _Mapping]]=..., corrected_latitude: _Optional[float]=..., corrected_longitude: _Optional[float]=..., timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., homelink_nearby: bool=..., location_name: _Optional[str]=..., geo_latitude: _Optional[float]=..., geo_longitude: _Optional[float]=..., geo_heading: _Optional[float]=..., geo_elevation: _Optional[float]=..., geo_accuracy: _Optional[float]=..., estimated_gps_valid: bool=..., estimated_to_raw_distance: _Optional[float]=...) -> None:
|
869
870
|
...
|
870
871
|
|
871
872
|
class VehicleState(_message.Message):
|
@@ -1073,7 +1074,7 @@ class ClimateState(_message.Message):
|
|
1073
1074
|
hvac_auto_request: ClimateState.HvacAutoRequest
|
1074
1075
|
cop_not_running_reason: ClimateState.COPNotRunningReason
|
1075
1076
|
|
1076
|
-
def __init__(self, inside_temp_celsius: _Optional[float]=..., outside_temp_celsius: _Optional[float]=..., driver_temp_setting: _Optional[float]=..., passenger_temp_setting: _Optional[float]=..., left_temp_direction: _Optional[int]=..., right_temp_direction: _Optional[int]=..., is_front_defroster_on: bool=..., is_rear_defroster_on: bool=..., fan_status: _Optional[int]=..., is_climate_on: bool=..., min_avail_temp_celsius: _Optional[float]=..., max_avail_temp_celsius: _Optional[float]=..., seat_heater_left: _Optional[int]=..., seat_heater_right: _Optional[int]=..., seat_heater_rear_left: _Optional[int]=..., seat_heater_rear_right: _Optional[int]=..., seat_heater_rear_center: _Optional[int]=..., seat_heater_rear_right_back: _Optional[int]=..., seat_heater_rear_left_back: _Optional[int]=..., seat_heater_third_row_right: _Optional[int]=..., seat_heater_third_row_left: _Optional[int]=..., battery_heater: bool=..., battery_heater_no_power: bool=..., steering_wheel_heater: bool=..., wiper_blade_heater: bool=..., side_mirror_heaters: bool=..., is_preconditioning: bool=..., remote_heater_control_enabled: bool=..., climate_keeper_mode: _Optional[_Union[ClimateState.ClimateKeeperMode, _Mapping]]=..., timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., bioweapon_mode_on: bool=..., defrost_mode: _Optional[_Union[ClimateState.DefrostMode, _Mapping]]=..., is_auto_conditioning_on: bool=..., auto_seat_climate_left: bool=..., auto_seat_climate_right: bool=..., seat_fan_front_left: _Optional[int]=..., seat_fan_front_right: _Optional[int]=..., allow_cabin_overheat_protection: bool=..., supports_fan_only_cabin_overheat_protection: bool=..., cabin_overheat_protection: _Optional[_Union[ClimateState.CabinOverheatProtection_E, str]]=..., cabin_overheat_protection_actively_cooling: bool=..., cop_activation_temperature: _Optional[_Union[ClimateState.CopActivationTemp, str]]=..., auto_steering_wheel_heat: bool=..., steering_wheel_heat_level: _Optional[_Union[_common_pb2.StwHeatLevel, str]]=..., hvac_auto_request: _Optional[_Union[ClimateState.HvacAutoRequest, str]]=..., cop_not_running_reason: _Optional[_Union[ClimateState.COPNotRunningReason, str]]=...) -> None:
|
1077
|
+
def __init__(self, inside_temp_celsius: _Optional[float]=..., outside_temp_celsius: _Optional[float]=..., driver_temp_setting: _Optional[float]=..., passenger_temp_setting: _Optional[float]=..., left_temp_direction: _Optional[int]=..., right_temp_direction: _Optional[int]=..., is_front_defroster_on: bool=..., is_rear_defroster_on: bool=..., fan_status: _Optional[int]=..., is_climate_on: bool=..., min_avail_temp_celsius: _Optional[float]=..., max_avail_temp_celsius: _Optional[float]=..., seat_heater_left: _Optional[int]=..., seat_heater_right: _Optional[int]=..., seat_heater_rear_left: _Optional[int]=..., seat_heater_rear_right: _Optional[int]=..., seat_heater_rear_center: _Optional[int]=..., seat_heater_rear_right_back: _Optional[int]=..., seat_heater_rear_left_back: _Optional[int]=..., seat_heater_third_row_right: _Optional[int]=..., seat_heater_third_row_left: _Optional[int]=..., battery_heater: bool=..., battery_heater_no_power: bool=..., steering_wheel_heater: bool=..., wiper_blade_heater: bool=..., side_mirror_heaters: bool=..., is_preconditioning: bool=..., remote_heater_control_enabled: bool=..., climate_keeper_mode: _Optional[_Union[ClimateState.ClimateKeeperMode, _Mapping]]=..., timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., bioweapon_mode_on: bool=..., defrost_mode: _Optional[_Union[ClimateState.DefrostMode, _Mapping]]=..., is_auto_conditioning_on: bool=..., auto_seat_climate_left: bool=..., auto_seat_climate_right: bool=..., seat_fan_front_left: _Optional[int]=..., seat_fan_front_right: _Optional[int]=..., allow_cabin_overheat_protection: bool=..., supports_fan_only_cabin_overheat_protection: bool=..., cabin_overheat_protection: _Optional[_Union[ClimateState.CabinOverheatProtection_E, str]]=..., cabin_overheat_protection_actively_cooling: bool=..., cop_activation_temperature: _Optional[_Union[ClimateState.CopActivationTemp, str]]=..., auto_steering_wheel_heat: bool=..., steering_wheel_heat_level: _Optional[_Union[_common_pb2.StwHeatLevel, str]]=..., hvac_auto_request: _Optional[_Union[ClimateState.HvacAutoRequest, str]]=..., cop_not_running_reason: _Optional[_Union[ClimateState.COPNotRunningReason, str]]=...) -> None:
|
1077
1078
|
...
|
1078
1079
|
|
1079
1080
|
class TirePressureState(_message.Message):
|
@@ -1117,7 +1118,7 @@ class TirePressureState(_message.Message):
|
|
1117
1118
|
tpms_rcp_front_value: float
|
1118
1119
|
tpms_rcp_rear_value: float
|
1119
1120
|
|
1120
|
-
def __init__(self, timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., tpms_pressure_fl: _Optional[float]=..., tpms_pressure_fr: _Optional[float]=..., tpms_pressure_rl: _Optional[float]=..., tpms_pressure_rr: _Optional[float]=..., tpms_last_seen_pressure_time_fl: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., tpms_last_seen_pressure_time_fr: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., tpms_last_seen_pressure_time_rl: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., tpms_last_seen_pressure_time_rr: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., tpms_hard_warning_fl: bool=..., tpms_hard_warning_fr: bool=..., tpms_hard_warning_rl: bool=..., tpms_hard_warning_rr: bool=..., tpms_soft_warning_fl: bool=..., tpms_soft_warning_fr: bool=..., tpms_soft_warning_rl: bool=..., tpms_soft_warning_rr: bool=..., tpms_rcp_front_value: _Optional[float]=..., tpms_rcp_rear_value: _Optional[float]=...) -> None:
|
1121
|
+
def __init__(self, timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., tpms_pressure_fl: _Optional[float]=..., tpms_pressure_fr: _Optional[float]=..., tpms_pressure_rl: _Optional[float]=..., tpms_pressure_rr: _Optional[float]=..., tpms_last_seen_pressure_time_fl: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., tpms_last_seen_pressure_time_fr: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., tpms_last_seen_pressure_time_rl: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., tpms_last_seen_pressure_time_rr: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., tpms_hard_warning_fl: bool=..., tpms_hard_warning_fr: bool=..., tpms_hard_warning_rl: bool=..., tpms_hard_warning_rr: bool=..., tpms_soft_warning_fl: bool=..., tpms_soft_warning_fr: bool=..., tpms_soft_warning_rl: bool=..., tpms_soft_warning_rr: bool=..., tpms_rcp_front_value: _Optional[float]=..., tpms_rcp_rear_value: _Optional[float]=...) -> None:
|
1121
1122
|
...
|
1122
1123
|
|
1123
1124
|
class MediaState(_message.Message):
|
@@ -1141,7 +1142,7 @@ class MediaState(_message.Message):
|
|
1141
1142
|
now_playing_source: MediaSourceType
|
1142
1143
|
media_playback_status: _common_pb2.MediaPlaybackStatus
|
1143
1144
|
|
1144
|
-
def __init__(self, timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., remote_control_enabled: bool=..., now_playing_artist: _Optional[str]=..., now_playing_title: _Optional[str]=..., audio_volume: _Optional[float]=..., audio_volume_increment: _Optional[float]=..., audio_volume_max: _Optional[float]=..., now_playing_source: _Optional[_Union[MediaSourceType, str]]=..., media_playback_status: _Optional[_Union[_common_pb2.MediaPlaybackStatus, str]]=...) -> None:
|
1145
|
+
def __init__(self, timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., remote_control_enabled: bool=..., now_playing_artist: _Optional[str]=..., now_playing_title: _Optional[str]=..., audio_volume: _Optional[float]=..., audio_volume_increment: _Optional[float]=..., audio_volume_max: _Optional[float]=..., now_playing_source: _Optional[_Union[MediaSourceType, str]]=..., media_playback_status: _Optional[_Union[_common_pb2.MediaPlaybackStatus, str]]=...) -> None:
|
1145
1146
|
...
|
1146
1147
|
|
1147
1148
|
class MediaDetailState(_message.Message):
|
@@ -1161,7 +1162,7 @@ class MediaDetailState(_message.Message):
|
|
1161
1162
|
now_playing_station: str
|
1162
1163
|
a2dp_source_name: str
|
1163
1164
|
|
1164
|
-
def __init__(self, timestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]]=..., now_playing_duration: _Optional[int]=..., now_playing_elapsed: _Optional[int]=..., now_playing_source_string: _Optional[str]=..., now_playing_album: _Optional[str]=..., now_playing_station: _Optional[str]=..., a2dp_source_name: _Optional[str]=...) -> None:
|
1165
|
+
def __init__(self, timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]]=..., now_playing_duration: _Optional[int]=..., now_playing_elapsed: _Optional[int]=..., now_playing_source_string: _Optional[str]=..., now_playing_album: _Optional[str]=..., now_playing_station: _Optional[str]=..., a2dp_source_name: _Optional[str]=...) -> None:
|
1165
1166
|
...
|
1166
1167
|
|
1167
1168
|
class ShiftState(_message.Message):
|
@@ -13,7 +13,7 @@ if TYPE_CHECKING:
|
|
13
13
|
from tesla_fleet_api.tesla.fleet import TeslaFleetApi
|
14
14
|
|
15
15
|
|
16
|
-
class VehicleSigned(
|
16
|
+
class VehicleSigned(Commands, VehicleFleet):
|
17
17
|
"""Class describing the Tesla Fleet API vehicle endpoints and commands for a specific vehicle with command signing."""
|
18
18
|
|
19
19
|
|
@@ -56,7 +56,7 @@ class Teslemetry(TeslaFleetApi):
|
|
56
56
|
)
|
57
57
|
if update_region and "region" in resp:
|
58
58
|
self.region = resp["region"].lower()
|
59
|
-
self.server = f"https://{self.region}.teslemetry.com"
|
59
|
+
#self.server = f"https://{self.region}.teslemetry.com"
|
60
60
|
LOGGER.debug("Using server %s", self.server)
|
61
61
|
return resp
|
62
62
|
|