zoukankan      html  css  js  c++  java
  • android bluetooth

    Android bluetooth介绍(一):基本概念及硬件接口

    BlueZ为调试和与蓝牙子系统通信提供很多设置命令行工具,包含下面这些:

    hciconfig

    hcitool

    hcidump

    sdptool

    dbus-send

    dbus-monitor
    通过Android Shell命令,完全可以绕开上层的网络管理机制来控制网络接口的状态。

    hciconfig -a            # print BT chipset address and features. Useful to checkif 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模块,红色虚线部分为合作伙伴指定模块(译者注:芯片商提供)。

    图表是以进程为导向视图:

  • 相关阅读:
    第二周总结
    个人总结
    软件设计模式7
    软件设计模式6
    软件设计模式5
    软件设计模式4
    软件设计模式3
    软件设计模式2
    软件设计模式1
    软件构造2
  • 原文地址:https://www.cnblogs.com/SZLLQ2000/p/4909208.html
Copyright © 2011-2022 走看看