Return-Path: Message-ID: <35c90d960809160956g186fc668p7970c4f6a4d4bf70@mail.gmail.com> Date: Tue, 16 Sep 2008 09:56:00 -0700 From: "Nick Pelly" To: "BlueZ development" In-Reply-To: MIME-Version: 1.0 References: <1221330440.6695.53.camel@californication> <1221331676.6695.55.camel@californication> Subject: Re: [Bluez-devel] A2DP over DBUS Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1722932545==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1722932545== Content-Type: multipart/alternative; boundary="----=_Part_16142_2422857.1221584160202" ------=_Part_16142_2422857.1221584160202 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sat, Sep 13, 2008 at 11:54 AM, Choi Sonim wrote: > Hi Marcel, > > On Sat, Sep 13, 2008 at 9:47 PM, Marcel Holtmann > wrote: > >> Can you please explain briefly what's the underlying method that the > >> plugin uses to send the data to bluez then ? does it directly uses > >> sockets and sends it to the kernel ? > > > > direct SCO or L2CAP sockets to have a low latency and to avoid copying > > data around. > > That's interesting. What about platforms like Android that are only > Java (If I am not wrong) ? Android is definitely not pure Java, although third party apps for Android are recommended to use the Java API's. The built in Android profiles currently open sockets with the kernel in C code. Can they connect directly to those sockets > from Java applications ? In Android v1.0 we will not have stable Java API's to use Bluetooth :( In the near future we intend to expose RFCOMM, L2CAP and SCO (control only) via a Java Socket-like API for third party app development. > Thank you a lot > Choi > > > > > Regards > > > > Marcel > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Bluez-devel mailing list > > Bluez-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bluez-devel > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel > ------=_Part_16142_2422857.1221584160202 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline


On Sat, Sep 13, 2008 at 11:54 AM, Choi Sonim <choisonim@gmail.com> wrote:
Hi Marcel,

On Sat, Sep 13, 2008 at 9:47 PM, Marcel Holtmann <marcel@holtmann.org> wrote:
>> Can you please explain briefly what's the underlying method that the
>> plugin uses to send the data to bluez then ? does it directly uses
>> sockets and sends it to the kernel ?
>
> direct SCO or L2CAP sockets to have a low latency and to avoid copying
> data around.

That's interesting. What about platforms like Android that are only
Java (If I am not wrong) ?

Android is definitely not pure Java, although third party apps for Android are recommended to use the Java API's.

The built in Android profiles currently open sockets with the kernel in C code.

Can they connect directly to those sockets
from Java applications ?

In Android v1.0 we will not have stable Java API's to use Bluetooth :(

In the near future we intend to expose RFCOMM, L2CAP and SCO (control only) via a Java Socket-like API for third party app development.


Thank you a lot
Choi

>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

------=_Part_16142_2422857.1221584160202-- --===============1722932545== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ --===============1722932545== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1722932545==--