Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
プログラムで Bluetooth デバイスに接続することは可能ですか。したがって、ユーザーが Bluetooth 設定を開いて、接続する必要があるデバイスを選択する必要はありません。注: 接続する必要があるデバイスは、常に同じデバイス名になります。
コア Bluetooth を使用して、検出可能なすべてのデバイスを検出する場合は、はい。次に、名前などに一致する場合は、それに接続します。
これらの作業を簡単にするために、Apple の Core Bluetooth フレームワークのラッパーを作成しました。
https://github.com/steprescott/SCPCoreBluetoothManager