BC4-Externalを入手

20070924に書いたbluetooth snifferですが、やっとBlueCore4-Externalなデバイスの入手に至った。bccmdで確認したところ、ちゃんとBC4-Externalと表示されます。
Device : TOSHIBA IPCN086A

%sudo ./bccmd chiprev
Chip revision: 0x0026 (BC4-External)
%sudo ./bccmd memtypes
psi (0x0001) = Flash memory (0)
psf (0x0002) = Flash memory (0)
psram (0x0008) = RAM (transient) (2)

bccmdの作り方は、hacking bluetoothのPDFに書いてあるが、Typoがあってハマりやすいのでメモしておきます。
How to compile bccmd.

  • %sudo apt-get install libbluetooth2 libbluetooth2-dev libusb-0.1-4 libusb-dev
  • %cvs -d:pserver:anonymous@cvs.bluez.org:/cvsroot/bluez login
  • %cvs -d:pserver:anonymous@cvs.bluez.org:/cvsroot/bluez co utils
  • %cd utils/tools
  • %gcc -lusb -lbluetooth csr.c csr_3wire.c csr_bcsp.c csr_h4.c csr_hci.c csr_usb.c ubcsp.c bccmd.c -o bccmd