All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Minh GIANG <giang.hminh@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] difference Analogy API et rtdm API in xenomai
Date: Sat, 31 Mar 2012 21:10:39 +0200	[thread overview]
Message-ID: <4F7756AF.5000602@domain.hid> (raw)
In-Reply-To: <CAGq8jPgJUWE2YrhUMCshCtSsRyTWPqx5zV5vPnVzpF2ctN0edg@domain.hid>

On 03/30/2012 03:45 PM, Minh GIANG wrote:
> hello everybody,
> 
> i have a small question, which is the difference between the analogy API
> and rtdm API in xenomai. for exemple, i think that i can open a port for
> data transmission in the two api.

The RTDM API is an API allowing to implement drivers for xenomai using
the usual POSIX open/close/ioctl/etc... API.

Analogy is a driver implemented using the RTDM API. So, you can access
it using either the usual POSIX open/close/ioctl/etc... API, or using
the analogy library provided.

So, yes, you can use the two APIs, but using the analogy library is
probably simpler.

-- 
                                                                Gilles.


  reply	other threads:[~2012-03-31 19:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30 13:45 [Xenomai-help] difference Analogy API et rtdm API in xenomai Minh GIANG
2012-03-31 19:10 ` Gilles Chanteperdrix [this message]
2012-04-01 23:30   ` Minh GIANG
2012-04-01 23:37     ` Gilles Chanteperdrix

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=4F7756AF.5000602@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=giang.hminh@domain.hid \
    --cc=xenomai@xenomai.org \
    /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.