bluetooth 订阅
蓝牙技术是一种无线数据和语音通信开放的全球规范,它是基于低成本的近距离无线连接,为固定和移动设备建立通信环境的一种特殊的近距离无线技术连接。 [1]  蓝牙使今天的一些便携移动设备和计算机设备能够不需要电缆就能连接到互联网,并且可以无线接入互联网。 [1] 展开全文
蓝牙技术是一种无线数据和语音通信开放的全球规范,它是基于低成本的近距离无线连接,为固定和移动设备建立通信环境的一种特殊的近距离无线技术连接。 [1]  蓝牙使今天的一些便携移动设备和计算机设备能够不需要电缆就能连接到互联网,并且可以无线接入互联网。 [1]
信息
频    段
2.4—2.485GHz的ISM波段
创始人
爱立信公司
外文名
bluetooth
释    义
一种短距离无线通信技术
中文名
蓝牙
性    质
无线技术标准
蓝牙概述
蓝牙,是一种支持设备短距离通信(一般10m内)的无线电技术,能在包括移动电话、PDA、无线耳机、笔记本电脑、相关外设等众多设备之间进行无线信息交换。利用“蓝牙”技术,能够有效地简化移动通信终端设备之间的通信,也能够成功地简化设备与因特网Internet之间的通信,从而数据传输变得更加迅速高效,为无线通信拓宽道路。 [2]  蓝牙作为一种小范围无线连接技术,能在设备间实现方便快捷、灵活安全、低成本、低功耗的数据通信和语音通信,因此它是目前实现无线个域网通信的主流技术之一。与其他网络相连接可以带来更广泛的应用。是一种尖端的开放式无线通信,能够让各种数码设备无线沟通,是无线网络传输技术的一种,原本用来取代红外。 [3]  蓝牙技术是一种无线数据与语音通信的开放性全球规范,它以低成本的近距离无线连接为基础,为固定与移动设备通信环境建立一个特别连接。其实质内容是为固定设备或移动设备之间的通信环境建立通用的无线电空中接口(Radio Air Interface),将通信技术与计算机技术进一步结合起来,使各种3C设备在没有电线或电缆相互连接的情况下,能在近距离范围内实现相互通信或操作。简单的说,蓝牙技术是一种利用低功率无线电在各种3C设备间彼此传输数据的技术。蓝牙工作在全球通用的2.4GHz ISM(即工业、科学、医学)频段,使用IEEE802.15协议。作为一种新兴的短距离无线通信技术,正有力地推动着低速率无线个人区域网络的发展。 [2] 
收起全文
精华内容
下载资源
问答
  • BLuetooth

    2019-04-03 10:49:49
    Bluetooth 123

    Bluetooth
    123

    展开全文
  • blueTooth

    2018-01-24 18:42:42
    /opt/firefly-android5.1/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/  BondStateMachine.java /opt/firefly-android5.1/packages/apps/Settings/src/com/android/settings/bluetooth/  

    /opt/firefly-android5.1/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/     BondStateMachine.java

    /opt/firefly-android5.1/packages/apps/Settings/src/com/android/settings/bluetooth/    BluetoothPairingDialog.java    BluetoothPairingRequest.java    

    /opt/firefly-android5.1/frameworks/base/core/java/android/bluetooth    BluetoothClass.java   BluetoothDevice.java    

     

    1.屏蔽蓝牙连接弹窗

     <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />(需要系统权限)

            收到蓝牙绑定广播后调用 

        BluetoothDevice btDevice = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
     
        btDevice.setPairingConfirmation(true);

            abortBroadcast();

    2.设置固定Pin码;(手机端收到输入Pin需要修改蓝牙类型)

    3.使用蓝牙socket连接,交互数据。

    展开全文
  • bluetooth

    2010-09-11 01:08:38
    bluetooth

    bluetooth

    展开全文
  • Bluetooth

    2016-04-19 16:32:00
    Android provides a default Bluetooth stack that is divided into two layers: The Bluetooth Embedded System (BTE), which implements the core Bluetooth functionality, and the Bluetooth Applica...

    Bluetooth

    Android provides a default Bluetooth stack that is divided into two layers: The Bluetooth Embedded System (BTE), which implements the core Bluetooth functionality, and the Bluetooth Application Layer (BTA), which communicates with Android framework applications.

    To fully leverage the Bluetooth Low Energy APIs added in Android 5.0, you should implement the Android 6.0 Bluetooth HCI Requirements. That document initially was provided as the Android 5.0 Bluetooth HCI Requirements.

    Architecture


    A Bluetooth system service communicates with the Bluetooth stack through JNI and with applications through Binder IPC. The system service provides developers with access to various Bluetooth profiles. The following diagram shows the general structure of the Bluetooth stack:

    Figure 1. Bluetooth architecture

    Application framework
    At the application framework level is application code, which utilizes the android.bluetooth APIs to interact with the Bluetooth hardware. Internally, this code calls the Bluetooth process through the Binder IPC mechanism.
    Bluetooth system service
    The Bluetooth system service, located in packages/apps/Bluetooth, is packaged as an Android app and implements the Bluetooth service and profiles at the Android framework layer. This app calls into the HAL layer via JNI.
    JNI
    The JNI code associated with android.bluetooth is located in packages/apps/Bluetooth/jni. The JNI code calls into the HAL layer and receives callbacks from the HAL when certain Bluetooth operations occur, such as when devices are discovered.
    HAL
    The hardware abstraction layer defines the standard interface that the android.bluetooth APIs and Bluetooth process call into and that you must implement to have your Bluetooth hardware function correctly. The header file for the Bluetooth HAL is hardware/libhardware/include/hardware/bluetooth.h. Additionally, please review all of the hardware/libhardware/include/hardware/bt_*.h files.
    Bluetooth stack
    The default Bluetooth stack is provided for you and is located in system/bt. The stack implements the generic Bluetooth HAL and customizes it with extensions and configuration changes.
    Vendor extensions
    To add custom extensions and an HCI layer for tracing, you can create a libbt-vendor module and specify these components.

    Implementing the HAL


    The Bluetooth HAL is located in /hardware/libhardware/include/hardware/bluetooth.h. Thus, the bluetooth.h file contains the basic interface for the Bluetooth stack, and you must implement its functions.

    Profile-specific files are located in the same directory. For details, see the HAL File Reference.

    The following is a partial list of the profile-related files. For the complete set, see the /hardware/libhardware/include/hardware/ directory:

    • bt_av.h: Includes the interface definition for the A2DP profile.
    • bt_gatt.h, bt_gatt_client.h, and bt_gatt_server.h: These include the interface definition for the GATT profile.
    • bt_hf.h: Includes the interface definition for the HFP profile.
    • bt_hh.h: Includes the interface definition for the HID host profile.
    • bt_hl.h: Includes the interface definition for the HDP profile.
    • bt_mce.h: Includes the interface definition for the MAP profile.
    • bt_pan.h: Includes the interface definition for the PAN profile.
    • bt_rc.h: Includes the interface definition for the AVRCP profile.
    • bt_sock.h: Includes the interface definition for RFCOMM sockets.

    Keep in mind that your Bluetooth implementation is not constrained to the features and profiles exposed in the HAL. You can find the default implementation located in the Bluetooth stack in the system/bt directory, which implements the default HAL and also extra features and customizations.

    Customizing the Native Bluetooth Stack


    If you are using the default Bluetooth stack, but want to make a few customizations, you can do the following:

    • Custom Bluetooth profiles - If you want to add Bluetooth profiles that do not have HAL interfaces provided by Android, you must supply an SDK add-on download to make the profile available to app developers, make the APIs available in the Bluetooth system process app (packages/apps/Bluetooth), and add them to the default stack (system/bt).
    • Custom vendor extensions and configuration changes - You can add things such as extra AT commands or device-specific configuration changes by creating a libbt-vendor module. See the /hardware/broadcom/libbt directory for an example.
    • Host Controller Interface (HCI) - You can provide your own HCI by creating a libbt-hci module, which is mainly used for debug tracing. See the external/bluetooth/hci directory for an example.
    展开全文
  • BlueTooth BlueTooth

    2018-05-02 15:44:08
    BlueTooth BlueTooth BlueTooth BlueTooth BlueTooth BlueTooth
  • BlueTooth

    2019-10-19 11:18:19
    https://blog.csdn.net/qq_34536167/article/details/79432223

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 20,427
精华内容 8,170
关键字:

bluetooth