Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: acr@acroberts.com
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Windows Port
Date: Tue, 27 Jan 2004 17:38:40 +0100	[thread overview]
Message-ID: <1075221520.12766.31.camel@pegasus> (raw)
In-Reply-To: <48760.80.63.28.114.1075219113.squirrel@acroberts.com>

Hi Antony,

> I've just been looking at the code (from 2.4 - I'm running RH9). As far as
> I can see L2CAP and RFCOMM are connected by a socket interface, and L2CAP
> and the HCI layer are connected by a callback interface, yes?
> 
> After a very cursory investigation, I don't think it's a lot of work to
> create an abstraction layer so that Windows can provide the same APIs that
> BlueZ is using. In fact Microsofts BT implementation also uses a
> socket-based approach (unfortunately, because MS don't want us innovating
> in Bluetooth, everything other than RFCOMM is locked down).
> 
> Of course, the hci_ API would have to be re-written to accomodate the new
> driver (probably need to use sockets there as well), but I don't see why
> L2CAP and RFCOMM couldn't communicate in the same way on Windows. I'd
> probably move them up into user space as services - this of course means
> you have a messy route back into kernel mode for Virtual Serial port
> functions, but still, I'd say it's doable.
> 
> I would draw the line at Virtual Serial Port and BNEP, and let Windows
> have it's own user services (not the same as the gnome stuff for BlueZ).
> 
> What do you think? Am I right in that we are basically talking about
> sockets for L2CAP and RFCOMM?

I don't believe that it is possible to port BlueZ to the Windows
platform, but I also don't wanna keep you from trying it. Personally I
think it is easier to start from scratch and then offer the same
interfaces as BlueZ does for Linux.

Regards

Marcel




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  parent reply	other threads:[~2004-01-27 16:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-27  8:54 [Bluez-devel] Windows Port Antony C. Roberts
2004-01-27 13:59 ` Marcel Holtmann
     [not found]   ` <46161.80.63.28.114.1075214415.squirrel@acroberts.com>
2004-01-27 14:25     ` Marcel Holtmann
     [not found]       ` <46892.80.63.28.114.1075215434.squirrel@acroberts.com>
     [not found]         ` <48760.80.63.28.114.1075219113.squirrel@acroberts.com>
2004-01-27 16:38           ` Marcel Holtmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-01-28  7:33 Peter Kjellerstedt
2004-01-28  7:53 ` Marcel Holtmann
2004-01-28  7:58   ` Antony C. Roberts
2004-01-28  8:08     ` Marcel Holtmann
2004-01-28  8:18       ` Antony C. Roberts
2004-01-28 16:22         ` Marcel Holtmann
2004-01-28 19:55           ` Antony C. Roberts

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=1075221520.12766.31.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=acr@acroberts.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /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