/* * Copyright (c) 2022. UnknownNetworkService Group * This file is created by UnknownObject at 2022 - 9 - 30 */ package com.uns.maincar.constants; public class Commands { public static byte FRAME_HEAD_0 = (byte) 0x55; public static byte FRAME_HEAD_1 = (byte) 0xAA; public static byte FRAME_END = (byte) 0xBB; public static byte STATUS_SUCCESS = (byte) 0xA1; public static byte STATUS_FAILED = (byte) 0xB1; public static byte QR_SUCCESS_1 = (byte) 0xA2; public static byte QR_SUCCESS_2 = (byte) 0xC2; public static byte QR_FAILED = (byte) 0xB2; public static byte TRAFFIC_LIGHT_SUCCESS = (byte) 0xA3; public static byte TRAFFIC_LIGHT_FAILED = (byte) 0xB3; public static byte TRAFFIC_LIGHT_RED = (byte) 0x01; public static byte TRAFFIC_LIGHT_GREEN = (byte) 0x02; public static byte TRAFFIC_LIGHT_YELLOW = (byte) 0x03; public static byte CAR_ID_SUCCESS_FIRST = (byte) 0xA4; public static byte CAR_ID_SUCCESS_SECOND = (byte) 0xA5; public static byte CAR_ID_FAILED = (byte) 0xB4; public static byte COLOR_SHAPE_SUCCESS = (byte) 0xA6; public static byte COLOR_SHAPE_FAILED = (byte) 0xB6; public static byte TRAFFIC_SIGN_SUCCESS = (byte) 0xA7; public static byte TRAFFIC_SIGN_FAILED = (byte) 0xB7; public static byte TRAFFIC_SIGN_TYPE_NO_ENTRY = (byte) 0x06; public static byte TRAFFIC_SIGN_TYPE_NO_STRAIGHT = (byte) 0x05; public static byte TRAFFIC_SIGN_TYPE_STRAIGHT = (byte) 0x01; public static byte TRAFFIC_SIGN_TYPE_TURN_LEFT = (byte) 0x02; public static byte TRAFFIC_SIGN_TYPE_TURN_RIGHT = (byte) 0x03; public static byte TRAFFIC_SIGN_TYPE_U_TURN = (byte) 0x04; public static byte TFT_PAGE_DOWN = (byte) 0xA8; public static byte OCR_TEXT_SUCCESS = (byte) 0xA9; public static byte OCR_TEXT_FAILED = (byte) 0xB9; public static byte OCR_TEXT_LENGTH = (byte) 0xC9; public static byte OCR_TEXT_DATA = (byte) 0xD9; public static byte OCR_TEXT_FINISH = (byte) 0xE9; public static final byte RECEIVE_FULL_AUTO = (byte) 0xA0; public static final byte RECEIVE_CAMERA_POS = (byte) 0xA1; public static final byte RECEIVE_CAMERA_POS1 = 0x01; public static final byte RECEIVE_CAMERA_POS2 = 0x02; public static final byte RECEIVE_CAMERA_POS3 = 0x03; public static final byte RECEIVE_CAMERA_POS4 = 0x04; public static final byte RECEIVE_QR = (byte) 0xA2; public static final byte RECEIVE_TRAFFIC_LIGHT = (byte) 0xA3; public static final byte RECEIVE_CAR_ID = (byte) 0xA4; public static final byte RECEIVE_SHAPE_COLOR = (byte) 0xA5; public static final byte RECEIVE_TRAFFIC_SIGN = (byte) 0xA6; public static final byte RECEIVE_TEXT_OCR = (byte) 0xA7; }