What is the iBeacon Bluetooth Profile

前端 未结 6 2032
没有蜡笔的小新
没有蜡笔的小新 2020-11-22 10:14

I\'d like to create my own iBeacon with some Bluetooth Low Energy dev kits. Apple has yet to release a specification for iBeacons, however, a few hardware developers have re

6条回答
  •  Happy的楠姐
    2020-11-22 10:41

    It seems to based on advertisement data, particularly the manufacturer data:

    4C00 02 15 585CDE931B0142CC9A1325009BEDC65E 0000 0000 C5
    
      
           
    
    • Apple Company Identifier (Little Endian), 0x004c
    • data type, 0x02 => iBeacon
    • data length, 0x15 = 21
    • uuid: 585CDE931B0142CC9A1325009BEDC65E
    • major: 0000
    • minor: 0000
    • meaured power at 1 meter: 0xc5 = -59

    I have this node.js script working on Linux with the sample AirLocate app example.

提交回复
热议问题