* RE: [Bluez-devel] Flush timeout at Baseband
[not found] <LMEOKMJFKNFFHEAEDGDEGEEHCHAA.wanghg@i2r.a-star.edu.sg>
@ 2004-05-25 14:11 ` Marcel Holtmann
2004-05-28 14:11 ` [Bluez-devel] BC Flag in HCI ACL Data PACket Aarti Kumar
0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2004-05-25 14:11 UTC (permalink / raw)
To: Wang Haiguang; +Cc: BlueZ Mailing List
Hi Haiguang,
> Please refer to the following section in Bluetooth specification 1.2:
>
> -- Volume 2: Core System Package
> -- Part E: Host Controller Interface Functional Specification
> -- Chapter 6: HCI Configuration Parameters
> -- Section 6.20: Flush Timeout.
>
> It explains the use of flush timeout value for ACL data and default is
> infinite.
>
> In PART B: the baseband specification, section 7.6.3, it explains this
> parameter
> is designed for the delay sensitive traffic such as voice/video.
>
> As in our project, we definitely need this parameter in configuration. So
> asked for
> the plan of including it in impelmentaion.
I checked the spec. by myself, because I don't asked for the explanation
of flush timeout. I asked for the HCI command to read or write it. The
commands are in 7.3.31 and 7.3.32 (read/write_automatic_flush_timeout).
These commands take a connection handle as parameter and so they are
connection specific and belong to hcitool. If they are not implemented
and you need them, send me a patch for hcitool.c and its manpage.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread* RE: [Bluez-devel] BC Flag in HCI ACL Data PACket.
2004-05-25 14:11 ` [Bluez-devel] Flush timeout at Baseband Marcel Holtmann
@ 2004-05-28 14:11 ` Aarti Kumar
2004-05-28 19:39 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: Aarti Kumar @ 2004-05-28 14:11 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Marcel,
I am doing some performance relatedd work over
bluetooth and I need to use the BC (Broadcast Control)
Flag in HCI ACL Data packet. The packet format
specifies 12 bits of connection handle and 2 bits each
of Packet Boudary Flag and BC Flag. I set the BC flag
to a value before sending (that is in function
hci_send_acl in hci_core.c) and have changed the
receiver function hci_acldata_packet function (in
hci_core.c) to recognize the value. But somehow it
dosent work. I was looking through the code for hci
and bcsp layer but couldnt locate anything related to
Flag field embeded in connection handle value. Are you
aware of any function which checks the Flag value in
HCI ACL data packet header after hci_send_acl function
(at sender side)and before hci_acldata_function (at
receiver side). Or anyother way so that I can use the
BC flag field.
Thanking you.
Regards,
Aarti.
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [Bluez-devel] BC Flag in HCI ACL Data PACket.
2004-05-28 14:11 ` [Bluez-devel] BC Flag in HCI ACL Data PACket Aarti Kumar
@ 2004-05-28 19:39 ` Marcel Holtmann
0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2004-05-28 19:39 UTC (permalink / raw)
To: Aarti Kumar; +Cc: BlueZ Mailing List
Hi Aarti,
> I am doing some performance relatedd work over
> bluetooth and I need to use the BC (Broadcast Control)
> Flag in HCI ACL Data packet. The packet format
> specifies 12 bits of connection handle and 2 bits each
> of Packet Boudary Flag and BC Flag. I set the BC flag
> to a value before sending (that is in function
> hci_send_acl in hci_core.c) and have changed the
> receiver function hci_acldata_packet function (in
> hci_core.c) to recognize the value. But somehow it
> dosent work. I was looking through the code for hci
> and bcsp layer but couldnt locate anything related to
> Flag field embeded in connection handle value. Are you
> aware of any function which checks the Flag value in
> HCI ACL data packet header after hci_send_acl function
> (at sender side)and before hci_acldata_function (at
> receiver side). Or anyother way so that I can use the
> BC flag field.
show me your code modifications and explain what you are trying to
achieve. I am not sure how the BC flag can help you.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-devel] Announce : BlueZ-based implemantation of JSR82
@ 2004-05-25 12:59 Julien Campana
2004-05-25 13:32 ` [Bluez-devel] Flush timeout at Baseband Wang Haiguang
0 siblings, 1 reply; 5+ messages in thread
From: Julien Campana @ 2004-05-25 12:59 UTC (permalink / raw)
To: Marcel Holtmann, BlueZ-devel List
Am Di, den 25.05.2004 schrieb Marcel Holtmann um 14:14:
> Hi Julien,
>
> > We have developped a JSR-82 implementation for Linux, which is based on
> > BlueZ and which is compatible with most USB-Dongle's.
> >
> > We've used parts of JavaBluetooth.org's works and parts of JBluez's
> > stuff.
> > The native C-Code of the project is entirely based on the BlueZ project
> > and I would like to thanks Marcel Holtmann for his answers to my
> > questions, which were all helpfull.
>
> you are welcome.
>
> > We've decided to make the Linux version OpenSource.
> >
> > The JSR-82 specification is not yet fully implemented but the major part
> > of the work (let say 95%) is done.
>
> I would never use Java for Bluetooth programming, but it seems that some
> companies wants this, especially mobile phone manufacturers. So I think
> we should build up a clean implementation of the JSR-82 standard that
> uses BlueZ as underlying Bluetooth stack.
This is exactly what I did, or at least I have implemented a big part of
the JSR-82 Standard with BlueZ as underlying Bluetooth stack. (I suppose
but do not really know if the implementation is clean:)). If you want
this implementation to be part of the BlueZ project, I (and especially
my boss:) agree.
> Clean means for me that we
> should concentrate on BlueZ and try to interface BlueZ<->JSR-82 as best
> as possible.
To better understand the way I have interfaced BlueZ <->JSR-82 and if
you have enough time for this, I invite you to have a quick look at the
file sources/c/BlueZ.cpp contained in the tgz archive downloadable at
http://www.avetana-gmbh.de/avetana-gmbh/jsr82.xml
This c file mostly re-write some BlueZ method and has surely to be
cleaned and documented.
This will be the next step of my work. This version is still a
beta-version but is stable and robust enough to be used in a project.
especially if the project uses RFCOMM connections. (there is still some
work to do with L2CAP).
> Give me some comments if there is really interest in doing
> this.
I will continue to work on this project until I reach a clean and really
stable implementation. If you have any comment about the implementation
do not hesitate to mail me.
Regards,
Julien
> Regards
>
> Marcel
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-05-28 19:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <LMEOKMJFKNFFHEAEDGDEGEEHCHAA.wanghg@i2r.a-star.edu.sg>
2004-05-25 14:11 ` [Bluez-devel] Flush timeout at Baseband Marcel Holtmann
2004-05-28 14:11 ` [Bluez-devel] BC Flag in HCI ACL Data PACket Aarti Kumar
2004-05-28 19:39 ` Marcel Holtmann
2004-05-25 12:59 [Bluez-devel] Announce : BlueZ-based implemantation of JSR82 Julien Campana
2004-05-25 13:32 ` [Bluez-devel] Flush timeout at Baseband Wang Haiguang
2004-05-25 13:42 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox