zoukankan      html  css  js  c++  java
  • 蓝牙服务 UUID

     https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx

    手机蓝牙对手机 ,华为平板取红米手机

    8 个
    Audio Source
    {0000110A-0000-1000-8000-00805F9B34FB}
    OBEXObjectPush
    {00001105-0000-1000-8000-00805F9B34FB}
    Personal Area Network User (PANU)
    {00001115-0000-1000-8000-00805F9B34FB}
    Network Access Point (NAP)
    {00001116-0000-1000-8000-00805F9B34FB}
    Phonebook Access - PSE
    {0000112F-0000-1000-8000-00805F9B34FB}
    Headset Audio Gateway
    {00001112-0000-1000-8000-00805F9B34FB}
    Handsfree Audio Gateway
    {0000111F-0000-1000-8000-00805F9B34FB}
    Message Access Server
    {00001132-0000-1000-8000-00805F9B34FB}

    蓝牙音箱低音炮

    蓝牙手环

    红米取华为平板

     -----------------------------
    7
    Headset Audio Gateway
    {00001112-0000-1000-8000-00805F9B34FB}
    Handsfree Audio Gateway
    {0000111F-0000-1000-8000-00805F9B34FB}
    Audio Source
    {0000110A-0000-1000-8000-00805F9B34FB}
    AV Remote Control Target
    {0000110C-0000-1000-8000-00805F9B34FB}
    OBEXObjectPush
    {00001105-0000-1000-8000-00805F9B34FB}
    Phonebook Access - PSE
    {0000112F-0000-1000-8000-00805F9B34FB}
    Generic Audio
    {00001203-0000-1000-8000-00805F9B34FB} 

    android获得苹果

     -----------------------------
    7
    Handsfree Audio Gateway
    {0000111F-0000-1000-8000-00805F9B34FB}
    Audio Source
    {0000110A-0000-1000-8000-00805F9B34FB}
    AV Remote Control Target
    {0000110C-0000-1000-8000-00805F9B34FB}
    AV Remote Control
    {0000110E-0000-1000-8000-00805F9B34FB}
    Network Access Point (NAP)
    {00001116-0000-1000-8000-00805F9B34FB}
    Phonebook Access - PSE
    {0000112F-0000-1000-8000-00805F9B34FB}
    Generic Audio
    {00001203-0000-1000-8000-00805F9B34FB} 
     
     
    Android取手环的UUID
    - Discovering services -->
    1 - GAP - {00001800-0000-1000-8000-00805F9B34FB}
        - Device Name - {00002A00-0000-1000-8000-00805F9B34FB}
        - Appearance - {00002A01-0000-1000-8000-00805F9B34FB}
        - Peripheral Privacy Flag - {00002A02-0000-1000-8000-00805F9B34FB}
        - Peripheral Preferred Connection Parameters - {00002A04-0000-1000-8000-00805F9B34FB}
    2 - GATT - {00001801-0000-1000-8000-00805F9B34FB}
        - Service Changed - {00002A05-0000-1000-8000-00805F9B34FB}
    3 -  - {0000FEE0-0000-1000-8000-00805F9B34FB}
        -  - {0000FF01-0000-1000-8000-00805F9B34FB}
        -  - {0000FF02-0000-1000-8000-00805F9B34FB}
        -  - {0000FF03-0000-1000-8000-00805F9B34FB}
        -  - {0000FF04-0000-1000-8000-00805F9B34FB}
        -  - {0000FF05-0000-1000-8000-00805F9B34FB}
        -  - {0000FF06-0000-1000-8000-00805F9B34FB}
        -  - {0000FF07-0000-1000-8000-00805F9B34FB}
        -  - {0000FF08-0000-1000-8000-00805F9B34FB}
        -  - {0000FF09-0000-1000-8000-00805F9B34FB}
        -  - {0000FF0A-0000-1000-8000-00805F9B34FB}
        -  - {0000FF0B-0000-1000-8000-00805F9B34FB}
        -  - {0000FF0C-0000-1000-8000-00805F9B34FB}
        -  - {0000FF0D-0000-1000-8000-00805F9B34FB}
        -  - {0000FF0E-0000-1000-8000-00805F9B34FB}
        -  - {0000FF0F-0000-1000-8000-00805F9B34FB}
    4 -  - {0000FEE1-0000-1000-8000-00805F9B34FB}
        -  - {0000FEDD-0000-1000-8000-00805F9B34FB}
        -  - {0000FEDE-0000-1000-8000-00805F9B34FB}
        -  - {0000FEDF-0000-1000-8000-00805F9B34FB}
        -  - {0000FED0-0000-1000-8000-00805F9B34FB}
        -  - {0000FED1-0000-1000-8000-00805F9B34FB}
        -  - {0000FED2-0000-1000-8000-00805F9B34FB}
        -  - {0000FED3-0000-1000-8000-00805F9B34FB}
    5 -  - {0000FEE7-0000-1000-8000-00805F9B34FB}
        -  - {0000FEC7-0000-1000-8000-00805F9B34FB}
        -  - {0000FEC8-0000-1000-8000-00805F9B34FB}
        -  - {0000FEC9-0000-1000-8000-00805F9B34FB}
    6 - IMMEDIATE ALERT - {00001802-0000-1000-8000-00805F9B34FB}
        - Alert Level - {00002A06-0000-1000-8000-00805F9B34FB}

    BTX-110003 

    rssi-61

    Android取得BLE设备

    GAP
    {00001800-0000-1000-8000-00805F9B34FB}
    Device Name
    {00002A00-0000-1000-8000-00805F9B34FB}
    Appearance
    {00002A01-0000-1000-8000-00805F9B34FB}
    Peripheral Privacy Flag
    {00002A02-0000-1000-8000-00805F9B34FB}
    Reconnection Address
    {00002A03-0000-1000-8000-00805F9B34FB}
    Peripheral Preferred Connection Parameters
    {00002A04-0000-1000-8000-00805F9B34FB}
    GATT
    {00001801-0000-1000-8000-00805F9B34FB}
    Service Changed
    {00002A05-0000-1000-8000-00805F9B34FB}
    Key Service
    {0000FFE0-0000-1000-8000-00805F9B34FB}
    Key Service Characteristic
    {0000FFE1-0000-1000-8000-00805F9B34FB}

    iPhone 

    1 - Key Service - {0000FFE0-0000-1000-8000-00805F9B34FB}
        - Key Service Characteristic - {0000FFE1-0000-1000-8000-00805F9B34FB}

    BTX-110003 在Android手机上
    1 - BTX-110003 - 20:C3:8F:EA:1B:AF
    
    - Discovering services -->
    1 - GAP - {00001800-0000-1000-8000-00805F9B34FB}
        - Device Name - {00002A00-0000-1000-8000-00805F9B34FB}
        - Appearance - {00002A01-0000-1000-8000-00805F9B34FB}
        - Peripheral Privacy Flag - {00002A02-0000-1000-8000-00805F9B34FB}
        - Reconnection Address - {00002A03-0000-1000-8000-00805F9B34FB}
        - Peripheral Preferred Connection Parameters - {00002A04-0000-1000-8000-00805F9B34FB}
    2 - GATT - {00001801-0000-1000-8000-00805F9B34FB}
        - Service Changed - {00002A05-0000-1000-8000-00805F9B34FB}
    3 - Key Service - {0000FFE0-0000-1000-8000-00805F9B34FB}
        - Key Service Characteristic - {0000FFE1-0000-1000-8000-00805F9B34FB}

      -------------------------------------
    Beacon Found: BTX-110003; AltB
    Device Complete name: BTX-110003
     UUID: {8FEA1BAF-3800-4600-1B00-000001000000}
     Major:1536,  Minor:0,  txPower: 27
     Rssi: -66 Distance: 44668.36 m
     
    BT-0000002
     1 - BT-0000002 - 20:C3:8F:EA:03:DE
    - Discovering services -->
    1 - GAP - {00001800-0000-1000-8000-00805F9B34FB}
        - Device Name - {00002A00-0000-1000-8000-00805F9B34FB}
        - Appearance - {00002A01-0000-1000-8000-00805F9B34FB}
        - Peripheral Privacy Flag - {00002A02-0000-1000-8000-00805F9B34FB}
        - Reconnection Address - {00002A03-0000-1000-8000-00805F9B34FB}
        - Peripheral Preferred Connection Parameters - {00002A04-0000-1000-8000-00805F9B34FB}
    2 - GATT - {00001801-0000-1000-8000-00805F9B34FB}
        - Service Changed - {00002A05-0000-1000-8000-00805F9B34FB}
    3 - Key Service - {0000FFE0-0000-1000-8000-00805F9B34FB}
        - Key Service Characteristic - {0000FFE1-0000-1000-8000-00805F9B34FB}

    查找设备用这个UUID找到了  {0000FFE0-0000-1000-8000-00805F9B34FB}

    Device:
    
    
    UUID:{0000FFE0-0000-1000-8000-00805F9B34FB}

    UUIDName:Key Service

    Characteristic

    UUID: {0000FFE1-0000-1000-8000-00805F9B34FB}
    UUIDName:Key Service Characteristic
  • 相关阅读:
    WCF 第十三章 可编程站点 为站点创建操作
    WCF 第十三章 可编程站点 所有都与URI相关
    WCF 第十二章 对等网 使用自定义绑定实现消息定向
    WCF 第十三章 可编程站点 使用WebOperationContext
    Using App.Config for user defined runtime parameters
    WCF 第十三章 可编程站点
    WCF 第十三章 可编程站点 使用AJAX和JSON进行网页编程
    WCF 第十二章 总结
    WCF 第十三章 可编程站点 使用WebGet和WebInvoke
    WCF 第十三章 可编程站点 URI和UriTemplates
  • 原文地址:https://www.cnblogs.com/cb168/p/4844143.html
Copyright © 2011-2022 走看看