On Feb 24, 2005, at 8:19 AM, Marcus Metzler wrote:
>>>>>> "handika" == handika h <handika@...> writes:
> handika> Hi, I was wondering whether there is a way to embed
> handika> Bluetooth commands (hcitool scan, sdptool browse, etc.)
> handika> in a C program. In particular, I am interested in knowing
> handika> how to execute those commands automatically without
> handika> having to type it in the command prompt on the Linux box.
> handika> Any help would be greatly appreciated.
> Since those are probably all C programs and defintely open source, why
> don't you get the source and have a look. On the other hand, you could
> also write a shell script.
Yup, the code is all in the bluez-utils package in buildroot. They
call into bluez-libs which is a bluetooth library that's on the 'stix.