* changing bit timings from C program @ 2012-05-08 21:18 Michael Economides 2012-05-08 21:35 ` Marc Kleine-Budde 0 siblings, 1 reply; 2+ messages in thread From: Michael Economides @ 2012-05-08 21:18 UTC (permalink / raw) To: linux-can@vger.kernel.org; +Cc: Oliver Hartkopp In the socketCAN documentation it says we should use the netlink interface (from the command line) to change can bit timings: http://lxr.linux.no/linux+v3.1.1/Documentation/networking/can.txt#L742 But I would like to know if there is an API I can call directly from my C program to do it. Thanks, Mike ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: changing bit timings from C program 2012-05-08 21:18 changing bit timings from C program Michael Economides @ 2012-05-08 21:35 ` Marc Kleine-Budde 0 siblings, 0 replies; 2+ messages in thread From: Marc Kleine-Budde @ 2012-05-08 21:35 UTC (permalink / raw) To: Michael Economides; +Cc: linux-can@vger.kernel.org, Oliver Hartkopp [-- Attachment #1: Type: text/plain, Size: 891 bytes --] On 05/08/2012 11:18 PM, Michael Economides wrote: > In the socketCAN documentation it says we should use the netlink > interface (from the command line) to change can bit timings: > > http://lxr.linux.no/linux+v3.1.1/Documentation/networking/can.txt#L742 > > But I would like to know if there is an API I can call directly from > my C program to do it. http://www.pengutronix.de/software/libsocketcan/download/ http://git.pengutronix.de/?p=tools/libsocketcan.git;a=blob;f=include/libsocketcan.h;h=dc52053b824d1a8976126b043de4ee5d843c1401;hb=5b990a47714ea21911538304f9350edefe349299 cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 262 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-08 21:36 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-05-08 21:18 changing bit timings from C program Michael Economides 2012-05-08 21:35 ` Marc Kleine-Budde
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).