最終更新:2025-01-10 (金) 00:33:02 (15d)  

BluetoothDevice.createRfcommSocketToServiceRecord
Top / BluetoothDevice.createRfcommSocketToServiceRecord

Create an RFCOMM BluetoothSocket ready to start a secure outgoing connection to this remote device using SDP lookup of uuid.

https://developer.android.com/reference/android/bluetooth/BluetoothDevice#createRfcommSocketToServiceRecord(java.util.UUID)

ヒント

  • Bluetooth シリアル ボードに接続する場合は、よく知られている SPP UUID 00001101-0000-1000-8000-00805F9B34FB を使用してみてください。

Bluetooth/UUID