最近一直在弄BLE设备与手机的连通,学习了uuid读取以及蓝牙UUID的换算。
摘自蓝牙核心规格文档《Core_V4.0.pdf》
A UUID is a universally unique identifier that is guaranteed to be unique across all space and all time. UUIDs can be independently created in a distributed fashion. No central registry of assigned UUIDs is required. A UUID is a 128-bit value.
To reduce the burden of storing and tr ansferring 128-bit UUID values, a range of UUID values has been pre-allocated for assignment to often-used, regis-tered purposes. The first UUID in this pre-allocated range is known as the Bluetooth Base UUID and has the value 000000 00-0000-1000-8000-00805F9B34FB, from the Bluetooth Assigned Numbers document. UUID val-ues in the pre-allocated range have aliases that are r