1 |
hciconfig -a # print BT chipset address and features. Useful to check if you can communicate with your BT chipset. |
2 |
hcidump -XVt # print live HCI UART traffic. |
3 |
hcitool scan # scan for local devices. Useful to check if RX/TX works. |
4 |
l2ping ADDRESS # ping another BT device. Useful to check if RX/TX works. |
5 |
sdptool records ADDRESS # request the SDP records of another BT device. |
下面的图表提供了一个以库为导向的蓝牙栈视图。
实线框的是Android模块,红色虚线部分为合作伙伴指定模块(译者注:芯片商提供)。
图表是以进程为导向视图:
时间: 2024-12-16 07:47:53