2004-05-25 14:11:34

by Marcel Holtmann

[permalink] [raw]
Subject: RE: [Bluez-devel] Flush timeout at Baseband

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2004-05-28 19:39:35

by Marcel Holtmann

[permalink] [raw]
Subject: RE: [Bluez-devel] BC Flag in HCI ACL Data PACket.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2004-05-28 14:11:27

by Aarti Kumar

[permalink] [raw]
Subject: RE: [Bluez-devel] BC Flag in HCI ACL Data PACket.


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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel