From: Maksim Yevmenkin <myevmenk@exodus.net>
To: Max Krasnyansky <maxk@qualcomm.com>
Cc: Maksim Yevmenkin <Maksim.Yevmenkin@cw.com>,
Marcel Holtmann <marcel@rvs.uni-bielefeld.de>,
BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Patch for bluez-hcidump-1.5
Date: Mon, 09 Dec 2002 10:37:33 -0800 [thread overview]
Message-ID: <3DF4E2ED.9735213B@exodus.net> (raw)
In-Reply-To: 5.1.0.14.2.20021209094932.08533800@mail1.qualcomm.com
Max Krasnyansky wrote:
>
> At 8:7 M 2/7/2002 -0800, Maksim Yevmenkin wrote:
>
> >i will try to make the first step and create hci.h and l2cap.h
> >that will contain only HCI and L2CAP types and defines - no system
> >specific code. the next step is to define API for Bluetooth sockets
> >(HCI and L2CAP), i.e. ioctl names, setsockopt defines etc. i also
> >propose to define common libBluetooth, libHCI (and probably libL2CAP)
> >API that will hide possible implementation differences. after we
> >do that all application just will use defined API and source code
> >will be 100% portable.
> libL2CAP ?? We don't have libTCP/IP, do we ?
> To much abstraction is _bad_.
:) i said *probably* :) there are still some differences in
L2CAP API. i have a different semantic for raw L2CAP sockets
for example. in order to send L2CAP PING and GET_INFO i use
ioctl() to avoid L2CAP command ID's collisions. the L2CAP
library could hide stuff like this. but then again - may be
its way too much abstraction :)
> >as for RFCOMM, SDP etc. then you guys will lead the parade :)
> >i'm currently using BlueZ code with the minimal changes. i'm just
> >hoping that SDP, RFCOMM etc. implementation won't become too
> >Linux specific :)
> SDP should be portable.
amen :)
> But RFCOMM TTY stuff will probably be different. How are you going to
> implement it btw ?
i have not decided yet :( i have bigger problems now :( my
current plan is to make it completely in user space. FreeBSD
has the null-modem driver which will play the role of virtual
serial port. a service will start on the null-modem master's
side. a client will start on the null-modem's slave side. in
both cases rfcomm daemon will control other side of the
null-modem, monitor L2CAP socket and maintain rfcomm sessions.
i'm also thinking about RFCOMM sockets module.
max
next prev parent reply other threads:[~2002-12-09 18:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <45258A4365C6B24A9832BFE224837D552B1270@sjdcex01.int.exodus .net>
2002-12-09 17:58 ` [Bluez-devel] Patch for bluez-hcidump-1.5 Max Krasnyansky
2002-12-09 18:37 ` Maksim Yevmenkin [this message]
2002-12-08 4:17 Maksim Yevmenkin
-- strict thread matches above, loose matches on Subject: below --
2002-12-07 17:07 Maksim Yevmenkin
2002-12-08 0:18 ` Marcel Holtmann
2002-12-07 5:04 Maksim Yevmenkin
2002-12-07 16:01 ` Marcel Holtmann
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=3DF4E2ED.9735213B@exodus.net \
--to=myevmenk@exodus.net \
--cc=Maksim.Yevmenkin@cw.com \
--cc=bluez-devel@lists.sourceforge.net \
--cc=marcel@rvs.uni-bielefeld.de \
--cc=maxk@qualcomm.com \
/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 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).