I'd like to write some quick scripts to play with bluetooth devices (scan etc…), for the Mac. Under linux I'd probably use hcitool
, or the python bluez library.
What tools are there for the Mac?
I'd like to write some quick scripts to play with bluetooth devices (scan etc…), for the Mac. Under linux I'd probably use hcitool
, or the python bluez library.
What tools are there for the Mac?
hcitool
is a command that comes with BlueZ, which is specific to the Linux kernel.
Unfortunately, I don't have Mac OSX, so I can't test this, but as far as I know, Darwin shares a lot with BSD, so they both use Netgraph framework for bluetooth drivers. There's some information on how to use Bluetooth in FreeBSD, I think they might be helpful, at least as a starting point. The hcitool
equivalent in FreeBSD is hccontrol
.