1)Download the source code from the official site or checkout sources from repository. We will choose the second one, because it contains the latest patches and changes (sometime new bugs :( also ). "hcidump" uses Git source control system, so the git package is needed (Ubuntu: sudo apt-get install git). To check-out the sources run the following
$git clone git://git.kernel.org/pub/scm/bluetooth/bluez-hcidump.git
2)Enter "bluez-hcidump" directory. Now you need to configure the sources and then build them. It uses GNU build system, so we need to follow standard steps.
GNU build system(source: Wikipedia). |
Steps:
$ aclocal # Generate "aclocal.m4" file
$ autoheader # Generate "config.h.in"
$ autoconf # Generate "configre" file
$ automake --add-missing # Generate "Makefile.in" file and add missing files
$ ./configure # Configure
$ make # Build hcidump
$ make install # Install
Now you have the latest hcidump tool.
I am still a beginner and need to use windows (I know it's lame). Is it possible to get the source code of hcidump? and how to proceed with windows and wireshark?
ReplyDeleteThx