//----------------------------------------------------------------------- // // Copyright © 2012 Nils Hammar. All rights reserved. // //----------------------------------------------------------------------- /* * Software to access vehicle information via the OBD-II connector. * * Copyright © 2012 Nils Hammar * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see . * * Alternative licensing is possible, see the licensing document. * * The above text may not be removed or modified. */ namespace DeviceApi.J2534 { /// /// Definition of constants for IOCTL operations. /// public static class IoctlParameter { /// /// IOCTL Parameter DATA_RATE. /// public const int DATA_RATE = 0x01; /// /// IOCTL Parameter LOOPBACK. /// public const int LOOPBACK = 0x03; /// /// IOCTL Parameter NODE_ADDRESS. /// public const int NODE_ADDRESS = 0x04; /// /// IOCTL Parameter NETWORK_LINE. /// public const int NETWORK_LINE = 0x05; /// /// IOCTL Parameter P1_MIN. /// public const int P1_MIN = 0x06; /// /// IOCTL Parameter P1_MAX. /// public const int P1_MAX = 0x07; /// /// IOCTL Parameter P2_MIN. /// public const int P2_MIN = 0x08; /// /// IOCTL Parameter P2_MAX. /// public const int P2_MAX = 0x09; /// /// IOCTL Parameter P3_MIN. /// public const int P3_MIN = 0x0A; /// /// IOCTL Parameter P3_MAX. /// public const int P3_MAX = 0x0B; /// /// IOCTL Parameter P4_MIN. /// public const int P4_MIN = 0x0C; /// /// IOCTL Parameter P4_MAX. /// public const int P4_MAX = 0x0D; /// /// IOCTL Parameter W1. /// public const int W1 = 0x0E; /// /// IOCTL Parameter W2. /// public const int W2 = 0x0F; /// /// IOCTL Parameter W3. /// public const int W3 = 0x10; /// /// IOCTL Parameter W4. /// public const int W4 = 0x11; /// /// IOCTL Parameter W5. /// public const int W5 = 0x12; /// /// IOCTL Parameter TIDLE. /// public const int TIDLE = 0x13; /// /// IOCTL Parameter TINIL. /// public const int TINIL = 0x14; /// /// IOCTL Parameter TWUP. /// public const int TWUP = 0x15; /// /// IOCTL Parameter PARITY. /// public const int PARITY = 0x16; /// /// IOCTL Parameter BIT_SAMPLE_POINT. /// public const int BIT_SAMPLE_POINT = 0x17; /// /// IOCTL Parameter SYNC_JUMP_WIDTH. /// public const int SYNC_JUMP_WIDTH = 0x18; /// /// IOCTL Parameter T1_MAX. /// public const int T1_MAX = 0x1A; /// /// IOCTL Parameter T2_MAX. /// public const int T2_MAX = 0x1B; /// /// IOCTL Parameter T4_MAX. /// public const int T4_MAX = 0x1C; /// /// IOCTL Parameter T5_MAX. /// public const int T5_MAX = 0x1D; /// /// IOCTL Parameter ISO15765_BS. /// public const int ISO15765_BS = 0x1E; /// /// IOCTL Parameter ISO15765_STMIN. /// public const int ISO15765_STMIN = 0x1F; /// /// IOCTL Parameter DATA_BITS. /// public const int DATA_BITS = 0x20; /// /// IOCTL Parameter FIVE_BAUD_MOD. /// public const int FIVE_BAUD_MOD = 0x21; /// /// IOCTL Parameter BS_TX. /// public const int BS_TX = 0x22; /// /// IOCTL Parameter STMIN_TX. /// public const int STMIN_TX = 0x23; /// /// IOCTL Parameter T3_MAX. /// public const int T3_MAX = 0x24; /// /// IOCTL Parameter ISO15765_WFT_MAX. /// public const int ISO15765_WFT_MAX = 0x25; /*********** Parameter Types **********/ /// /// Parameter type TYPE_BINARY. /// public const int TYPE_BINARY = 0x01; /// /// Parameter type TYPE_8BIT. /// public const int TYPE_8BIT = 0x02; /// /// Parameter type TYPE_16BIT. /// public const int TYPE_16BIT = 0x03; /// /// Parameter type TYPE_32BIT. /// public const int TYPE_32BIT = 0x04; /// /// Parameter type TYPE_BUS. /// public const int TYPE_BUS = 0x05; /// /// Parameter type TYPE_PARITY. /// public const int TYPE_PARITY = 0x06; } }