最終更新:2022-08-15 (月) 07:33:20 (762d)
BD_ADDR
Top / BD_ADDR
Bluetooth Device Address
Each Bluetooth device shall be allocated a unique 48-bit Bluetooth Device Address (BD_ADDR).
構造
- 11:22:33:44::55:66
- OUI (Organizationally Unique Identifier)
- 11:22 : NAP
- 33 : UAP
- 44:55:66 : Assigned by Vendor
- OUI (Organizationally Unique Identifier)
BLE/アドレス
- To help secure user privacy, BLE includes the following two features:
- address randomization and cross-transport key derivation.
- アドレスのランダム化
- CTKD
iOS
動作
- iOS 7以降は取得不可能
- https://developer.apple.com/library/archive/releasenotes/General/WhatsNewIniOS/Articles/iOS7.html
- In iOS 7 and later, if you ask for the MAC address of an iOS device, the system returns the value 02:00:00:00:00:00.
- If you need to identify the device, use the identifierForVendor? property of UIDevice instead. (Apps that need an identifier for their own advertising purposes should consider using the advertisingIdentifier property of ASIdentifierManager? instead.)
- iOS hides the MAC address of the device and generates a UUID for you.
参考
- https://developer.apple.com/forums/thread/8442
- https://github.com/don/cordova-plugin-ble-central/issues/77
- https://stackoverflow.com/questions/33166039/get-bluetooth-mac-address-on-iphone
- https://stackoverflow.com/questions/33145798/how-to-get-mac-address-from-cbperipheral-and-cbcenter