最終更新:2024-04-23 (火) 10:59:20 (299d)
Bluetooth/UUID
UUID
- もともとは128bit
BLE
- 16bit UUIDと32bit UUIDの追加フォーマットが定義されている
仕様
uuid16?
- 16-bit UUID Numbers Document
- Bluetooth SIGにて標準で定義されているUUIDに限り、2Byte(4文字)で表現することが許されている
https://btprodspecificationrefs.blob.core.windows.net/assigned-values/16-bit UUID Numbers Document.pdf
ベースUUID
- 00000000-0000-1000-8000-00805f9b34fb
- 0000XXXX-0000-1000-8000-00805f9b34fb
種類
先頭 0xF Bluetooth/UUID/16-bit UUID for Members? 0x2A~0x2B Bluetooth/UUID/GATT Characteristic and Object Type? 0x28 Bluetooth/UUID/GATT Declarations 0x29 Bluetooth/UUID/GATT Descriptor 0x18 Bluetooth/UUID/GATT Service GATT (BLE)のサービス 0x27 Bluetooth/UUID/GATT Unit? 0x0 Bluetooth/UUID/Protocol Identifier? 0xFFF Bluetooth/UUID/SDO GATT Service? 0x11~0x14 Bluetooth/UUID/Service Classes and Profiles Bluetooth/プロファイル
主なやつ
Base UUID 00000000-0000-1000-8000-00805f9b34fb Service Classes and Profiles Serial Port Profile (SPP) 00001101-0000-1000-8000-00805f9b34fb Service Classes and Profiles Headset Profile (HSP) 00001108-0000-1000-8000-00805f9b34fb Service Classes and Profiles Advanced Audio Distribution Profile (A2DP) AudioSource? 0000110a-0000-1000-8000-00805f9b34fb Service Classes and Profiles Advanced Audio Distribution Profile (A2DP) AudioSink 0000110b-0000-1000-8000-00805f9b34fb Service Classes and Profiles Health Device Profile(HDP?) 00001400-0000-1000-8000-00805f9b34fb? Service Classes and Profiles Health Device Profile(HDP?) HDP Source 00001401-0000-1000-8000-00805f9b34fb? Service Classes and Profiles Health Device Profile(HDP?) HDP Sink 00001402-0000-1000-8000-00805f9b34fb? GATT Service GAP 00001800-0000-1000-8000-00805f9b34fb GATT Service GATT 00001801-0000-1000-8000-00805f9b34fb GATT Service HID 00001812-0000-1000-8000-00805f9b34fb