public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] bdaddr for CSR chipset - porting dificulties
@ 2006-12-28  7:38 Ian Rickard
  2006-12-28 10:14 ` Osted Software Development
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Rickard @ 2006-12-28  7:38 UTC (permalink / raw)
  To: bluez-devel

I'm hoping there's someone on here with experience with the CSR
chipset.  This doesn't relate to BlueZ exactly, but I'm working from
BlueZ code so I figure someone here might have a clue what I'm doing
wrong.

I've been working on porting bluez's bdaddr utility to mac, and I
think I'm making pretty good progress.  After digging around the
internals of IOBluetooth.framework, I've managed to, I think,
replicate the behavior of bdaddr's csr_write_bd_addr and
csr_reset_device.

The reset appears to be working, however the write address command is
producing a response packet with a status of 0x0009, not 0x0000 as
csr_write_bd_addr seems to check for.  here's the low-level HCI
transaction dump:

HCIc: 00 fc 19 c2 02 00 0c 00 11 47 03 70 00 00 01 00
      04 00 00 00 cb 00 00 16 1b 00 7e ad
HCIe:  ff 19 c2 01 00 0c 00 11 47 03 70 09 00 01 00 04
      00 00 00 cb 00 00 16 1b 00 7e ad

as far as I can tell, the command sent matches exactly what
csr_write_bd_addr would have sent with transient=false and addr =
00-16-cb-1b-7e-ad.  Anyone see what I'm doing wrong?  Or even any clue
what status 0x0009 is?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2006-12-30 20:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-28  7:38 [Bluez-devel] bdaddr for CSR chipset - porting dificulties Ian Rickard
2006-12-28 10:14 ` Osted Software Development
2006-12-28 11:18   ` Peter Wippich
2006-12-28 17:42     ` Ian Rickard
2006-12-29 10:07       ` Osted Software Development
2006-12-30 16:50       ` Peter Wippich
2006-12-30 20:32         ` Ian Rickard

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