diff --git a/consts.go b/consts.go index 3ab8203..b68296a 100644 --- a/consts.go +++ b/consts.go @@ -167,6 +167,14 @@ var modelCodes = map[string]string{ "PCL": "Ascent Limited 7-Passenger", } +var badValues = map[string]any{ + "remainingFuelPercent": 101, + "tyreStatusFrontLeft": "UNKNOWN", + "tyreStatusFrontRight": "UNKNOWN", + "tyreStatusRearLeft": "UNKNOWN", + "tyreStatusRearRight": "UNKNOWN", +} + const ( GET = "GET" POST = "POST" @@ -301,7 +309,7 @@ const ( ERROR_G1_INVALID_PIN = "SXM40006" ERROR_G1_SERVICE_ALREADY_STARTED = "SXM40009" ERROR_G1_PIN_LOCKED = "SXM40017" - VEHICLE_ATTRIBUTES = "attributes" //Controller Vehicle Data Dict Keys + VEHICLE_ATTRIBUTES = "attributes" // Controller Vehicle Data Dict Keys VEHICLE_STATUS = "status" VEHICLE_ID = "id" VEHICLE_NAME = "nickname"