public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* 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; 3+ 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] 3+ 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; 3+ 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] 3+ messages in thread

* RE: [Bluez-devel] BC Flag in HCI ACL Data PACket.
       [not found] <20040529144553.59027.qmail@web52304.mail.yahoo.com>
@ 2004-05-30  7:08 ` Marcel Holtmann
  0 siblings, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2004-05-30  7:08 UTC (permalink / raw)
  To: Aarti Kumar; +Cc: BlueZ Mailing List

Hi Aarti,

> Right now I am trying to differentiate between the
> packets I am sending to the master. Packets are coming
> from the same source, but one of the packet has got
> some information I need to process, differently. Now
> since between two bluetooth devices there can be just
> one acl link. I have to differentitate between the
> incoming packets. And that can be done by setting some
> header value of some field. The only field which i
> could identify is the BC flag field which is not being
> used right now. I want to set these field values and
> then check at them at receiver hci layer and process
> the packet seperatly.

who said that the BC flag will be there at the other end after your
packet is sent over the air? I don't think that you can misuse HCI flags
to achieve your goal. The HCI is a hardware interface and not a protocol
layer.

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] 3+ messages in thread

end of thread, other threads:[~2004-05-30  7:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20040529144553.59027.qmail@web52304.mail.yahoo.com>
2004-05-30  7:08 ` [Bluez-devel] BC Flag in HCI ACL Data PACket Marcel Holtmann
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox