From: Wolfgang Grandegger <wg@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: Xenomai-help@domain.hid
Subject: Re: [Xenomai-help] CAN driver
Date: Wed, 21 Feb 2007 14:00:49 +0100 [thread overview]
Message-ID: <45DC4281.8030903@domain.hid> (raw)
In-Reply-To: <45DC3E6C.8040905@domain.hid>
Jan Kiszka wrote:
> Wolfgang Grandegger wrote:
>> Jan Kiszka wrote:
>>> Roland Tollenaar wrote:
>>>> Hi list,
>>>>
>>>> does anyone have, or can anyone direct met to a project or code-snippet
>>>> that shows how the CAN driver in the xenomai patch is used in an
>>>> application? If not that any documentation that gives and explains what
>>>> calls it responds to.
>>> Check src/utils/can/ on some tools that can also serve as nice examples.
>>> But maybe we should also add even simpler demo code to the examples
>>> repository. Just takes someone to write them...
>> The utility programs rtcanconfig, rtcansend and rtcanrcv in
>> src/utils/can already demonstrate most of RT-Socket-CAN's functionality
>> including filter definition and error handling. I do not see a need for
>> simpler examples.
>
> Yeah, maybe already a link (README) from the examples repos would be
> enough to point beginners to them. Or maybe we should ask some beginners
> what they expect, what they didn't understand... (Roland?)
Forgot to mention, that there is a README in src/utils/can and
ksrc/drivers/can.
>> I have attached a patch for a nice program to measure
>> the round trip time of CAN messages. It contrast to the other CAN
>> utility programs, it uses the POSIX-API and works as-is for Socket-CAN
>> as well. Jan, any objections to include it? If yes, I'm going to provide
>> a README.
>
> On first glance, nope, looks nice and clean.
OK, a revised patch will follow. And shouldn't we have separate sub-dirs
for each skin in examples/rtdm/profiles/can and serial as well. The
Makefile is currently valid only for one skin, at least.
>
>> BTW: some time ago I provided a patch to make the CAN utility programs
>> part of the Doxygen documentation. IIRC, we said it's nice to have
>> hyperlinked examples in general.
>
> Some link at hand? Does it still apply? Sounds like something worth to
> apply.
See https://mail.gna.org/public/xenomai-core/2006-11/msg00033.html.
My patch was for the CAN utilities only. The idea was to have a more
general implementation including code snippets and now examples as well.
Wolfgang.
next prev parent reply other threads:[~2007-02-21 13:00 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-21 10:20 [Xenomai-help] CAN driver Roland Tollenaar
2007-02-21 10:52 ` Jan Kiszka
2007-02-21 12:23 ` Wolfgang Grandegger
2007-02-21 12:43 ` Jan Kiszka
2007-02-21 13:00 ` Wolfgang Grandegger [this message]
2007-02-21 13:11 ` Roland Tollenaar
2007-02-21 14:00 ` Jan Kiszka
2007-02-21 19:25 ` [Xenomai-core] (was: [Xenomai-help] CAN driver) Jan Kiszka
2007-02-21 21:02 ` [Xenomai-core] " Gilles Chanteperdrix
2007-02-22 0:06 ` Philippe Gerum
2007-02-22 8:30 ` Wolfgang Grandegger
2007-02-22 9:00 ` Gilles Chanteperdrix
2007-02-22 20:18 ` Gilles Chanteperdrix
2007-02-22 9:09 ` [Xenomai-help] CAN driver Wolfgang Grandegger
2007-02-22 10:14 ` roland Tollenaar
2007-02-22 10:40 ` roland Tollenaar
2007-02-22 11:22 ` Jan Kiszka
2007-02-22 11:19 ` Jan Kiszka
2007-02-22 11:39 ` roland Tollenaar
2007-02-22 11:53 ` Wolfgang Grandegger
2007-02-22 12:06 ` roland Tollenaar
2007-02-22 12:23 ` Wolfgang Grandegger
2007-02-22 12:34 ` roland Tollenaar
2007-02-22 12:54 ` Wolfgang Grandegger
2007-02-22 13:02 ` roland Tollenaar
2007-02-22 13:18 ` Wolfgang Grandegger
2007-02-22 13:36 ` roland Tollenaar
2007-02-22 13:42 ` Wolfgang Grandegger
2007-02-22 13:57 ` roland Tollenaar
2007-02-22 14:13 ` Wolfgang Grandegger
2007-02-22 14:52 ` roland Tollenaar
2007-02-22 15:22 ` Wolfgang Grandegger
2007-02-22 20:39 ` Roland Tollenaar
2007-02-22 21:25 ` Wolfgang Grandegger
2007-02-23 10:14 ` roland Tollenaar
2007-02-23 10:52 ` roland Tollenaar
2007-02-23 10:59 ` Gilles Chanteperdrix
2007-02-23 12:04 ` roland Tollenaar
2007-02-23 12:31 ` Paul
2007-02-23 13:25 ` roland Tollenaar
2007-02-23 13:43 ` Jan Kiszka
2007-02-23 15:00 ` roland Tollenaar
2007-02-23 15:29 ` Jan Kiszka
2007-02-23 13:52 ` Paul
[not found] ` <45DF08B0.1020901@domain.hid>
[not found] ` <200702231559.43782.paul_c@domain.hid>
2007-02-23 16:23 ` Roland Tollenaar
2007-02-22 11:48 ` Wolfgang Grandegger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45DC4281.8030903@domain.hid \
--to=wg@domain.hid \
--cc=Xenomai-help@domain.hid \
--cc=jan.kiszka@domain.hid \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.