最終更新:2024-04-30 (火) 01:42:41 (5d)
Android/BLE
メモ
ドキュメント
パーミッション
- android.permission.BLUETOOTH
- android.permission.BLUETOOTH_ADMIN
- android.permission.ACCESS_FINE_LOCATION
- android.permission.ACCESS_COARSE_LOCATION - Android 9(API レベル 28)以下
クラス
android.bluetooth.BluetoothGattServer
android.bluetooth.BluetoothAdapter
android.bluetooth.BluetoothManager
Android/BLE/処理
Android/BLE/スキャン
BluetoothLeScanner.startScan
BluetoothAdapter.startLeScan
- This method was deprecated in API level 21. use BluetoothLeScanner.startScan() instead.
- android.bluetooth.BluetoothAdapter
- コールバック: BluetoothAdapter.LeScanCallback
接続
GATT
- android.bluetooth.BluetoothGattServerCallback?
- android.bluetooth.BluetoothGattService