From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Hartkopp Subject: Re: linux-can ISOTP module Date: Wed, 04 Jun 2014 20:40:54 +0200 Message-ID: <538F6836.3060508@hartkopp.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.217]:62911 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750933AbaFDSk6 (ORCPT ); Wed, 4 Jun 2014 14:40:58 -0400 In-Reply-To: Sender: linux-can-owner@vger.kernel.org List-ID: To: laurent vaudoit Cc: linux-can@vger.kernel.org Hi Laurent, On 04.06.2014 14:55, laurent vaudoit wrote: > i'm using isotp module for some work purpose, > on a imx25 board, with kernel 3.10. > > I have integrated the module isotp and the correct header file in my > kernel. > > I'm able to use isotpsend adn isotprecv functions but i have some questions: > > Comming from automotiv diagnostic, we are used to configure a lots of > parameters in our baremetal Iso15765 protocol firmware (stmin, > bs,n_cs,n_bs...) > I have not seen anything to parameter timings such as n_cs, n_bs. > Is their something i missed? Definitely :-) See the help text from isotprecv: --- Usage: isotprecv [options] Options: -s (source can_id. Use 8 digits for extended IDs) -d (destination can_id. Use 8 digits for extended IDs) -x (extended addressing mode.) -p (set and enable padding byte) -P (check padding in SF/CF. (l)ength (c)ontent (a)ll) -b (blocksize. 0 = off) -m (STmin in ms/ns. See spec.) -f