UUID and MACAddress for Bluetooth BLE

前端 未结 1 1600
灰色年华
灰色年华 2021-02-13 18:33

I must confess I am a newbie when it comes to BLE 4.0, and I want to understand what comprises a unique identifier for a BLE peripheral. Generally, for all WiFi communications,

1条回答
  •  别跟我提以往
    2021-02-13 19:00

    BLE devices have unique 6 byte Bluetooth addresses just like regular Bluetooth. This uniquely identifies the device. However, BLE can also use "random" addresses which follow a specific format so you can tell when you have a random addresses as opposed to a regular public address.

    • In the BLE vernacular, "UUID" refers to the identification codes to identify the data types found in the Generic Attribute Protocol (GATT)
    • Not sure I understand this question... There's the Bluetooth address, but again, BLE devices can use random addresses.
    • Well, when you do a scan for advertising packets you receive packets that contain the Bluetooth addresses. Those addresses are what you use to connect to a specific device.
    • You have to manually make connections to devices when you want to "connect". However, advertising packets can contain data which you can receive passively without any sort of connection. iBeacon's use the connectionless advertising packet information and so no connections are made.

    0 讨论(0)
提交回复
热议问题