⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 diag_l2_saej1850.h

📁 Freediag contains various drivers (ISO9141, ISO14230, SAEJ1850-VPW, SAEJ1850-PWM) for different adap
💻 H
字号:
/* *	freediag - Vehicle Diagnostic Utility * * CVSID $Id: diag_l2_saej1850.h,v 1.1 2002/04/15 17:44:52 rpalmeida Exp $ * * Copyright (C) 2001 Richard Almeida & Ibex Ltd (rpa@ibex.co.uk) * * 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 2 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, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * ************************************************************************* * * Diag * * L2 header file for SAEJ1850 (VPW and PWM)  * *//* External interface *//* * The complex initialisation routine for SAEJ1850 */intdiag_l2_proto_j1850_startcomms( diag_l2_conn_t	*d_l2_conn, u_int16_t flags,	int bitrate, u_int8_t target, u_int8_t source);/**/intdiag_l2_proto_j1850_stopcomms(diag_l2_conn_t* pX);/* * Just send the data * * We add the header and checksums here as appropriate */intdiag_l2_proto_j1850_send(diag_l2_conn_t *d_l2_conn, diag_msg_t *msg);/* * Protocol receive routine * * Will sleep until a complete set of responses has been received, or fail * with a timeout error */intdiag_l2_proto_j1850_recv(diag_l2_conn_t *d_l2_conn, int timeout,	void (*callback)(void *handle, diag_msg_t *msg),	void *handle);/* * Send a request and wait for a response */diag_msg_t *diag_l2_proto_j1850_request(diag_l2_conn_t *d_l2_conn, diag_msg_t *msg,		int *errval);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -