macos - 是否有任何 OS X 等效于 `hcitool` ?

标签 macos bluetooth

我想为 Mac 编写一些快速脚本来使用蓝牙设备(扫描等...)。在 linux 下我可能会使用 hcitool ,或 python bluez 库。

Mac 有哪些工具?

最佳答案

hcitoolBlueZ 附带的命令,这是特定于 Linux 内核的。

不幸的是,我没有 Mac OSX,所以我无法对此进行测试,但据我所知,Darwin与 BSD 共享很多,所以他们都使用 Netgraph framework对于蓝牙驱动程序。有一些关于如何使用的信息 Bluetooth in FreeBSD ,我认为它们可能会有所帮助,至少作为起点。 hcitool FreeBSD 中的等效项是 hccontrol .

关于macos - 是否有任何 OS X 等效于 `hcitool` ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/110661/

相关文章:

iphone:gameKit 无法连接到非 Apple 设备?

c++ - 我正在研究 Arduino Uno。错误 : "' RX' not declared in the scope ."and "duplicate case value"for switch case

python - 如何在 Mac OSX Yosemite 上安装 libret?

c - 多个目录中的 `dirent.h`

macos - Docker 无法创建机器 - 'Error in driver during machine creation'

macos - 如何在 macOS 上向客户展示具有附加服务器模式的应用程序

macos - 插入 OS X 系统调用

ios - 在特征上设置通知会导致无效句柄错误

android - 蓝牙接收器响应时间

iphone - 尽快在2台iOS设备之间发送数据