linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] OGF and OCF
@ 2004-03-09 18:15 paolo2278
  2004-03-09 21:25 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: paolo2278 @ 2004-03-09 18:15 UTC (permalink / raw)
  To: bluez-devel


Hi!



I am using a commercial USB BT that have a CSR's chip.

I wuold like to extract the native clock from the chip, and I used the hcitool cmd as described in HCI Extention, in BCCMD basic Command and BCCMD Protocol, more over I read the hciconfig source code, where is reported an example of a vendor packet but only for the eicsson chip.

I would like to know wich are the OGF and OCF of the CSR module for vendor specific commands (I used respectively 0x3f and 0x0000, are they correct?).

P.S. the structure of the packet that I realized but I can't send with the hcitool cmd (because the sysem say that 0x3f and0x000 are Unknown commands) is:



OGF    OCF        TYPE       LENGTH      VARID      STATUS



0x3f   0x0000     0x0000     0x0001      0x2c00     0x0000  



and at the end there are 4 packets of 0x0000 to complete the length of the minimum packet that can be realized. There something wrong in it?



Bests regards and thanks in advance Paolo Sperandio

-----------------------------------------------------------
Spazio ILLIMITATO per la tua Email, Scanner Antivirus,
Antispam, Backup e POP3. Prova la nuova Email di superEva:
http://webmail.supereva.it/
-----------------------------------------------------------



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] OGF and OCF
  2004-03-09 18:15 [Bluez-devel] OGF and OCF paolo2278
@ 2004-03-09 21:25 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-03-09 21:25 UTC (permalink / raw)
  To: paolo2278; +Cc: BlueZ Mailing List

Hi,

> I wuold like to extract the native clock from the chip, and I used the hcitool cmd as described in HCI Extention, in BCCMD basic Command and BCCMD Protocol, more over I read the hciconfig source code, where is reported an example of a vendor packet but only for the eicsson chip.

look at CVS repository under utils/tools/csr.[ch]

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-09 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-09 18:15 [Bluez-devel] OGF and OCF paolo2278
2004-03-09 21:25 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).