User manual - C++Bluetoothライブラリマニュアルver.1.00(2005年3月9日)

DT-10 ライブラリマニュアル
CASIO Bluetooth
Library
36
4-8.各プロファイルの Bluetooth 機器接続手順
DT-10 がサポートしているプロファイルを使用して、他の Bluetooth 機器との接続および通信を行う手順を示
します。
4-8-1.通信する Bluetooth 機器情報の登録
DT-10 本体の Bluetooth デバイスをマスタモードで使用する場合には、以下の手順に従って通信する Bluetooth
機器の登録を行ってください。
(1) Bluetooth デバイスの初期化
BTInitialize
(2) Bluetooth デバイスの情報設定
BTGetLocalInfo
BTSetLocalInfo
(3) Bluetooth デバイスの
情報をレジストリへ登録
BTRegistLocalInfo
(4) 通信する Bluetooth 機器の
Inquiry(問い合わせ
BTInquiry
(6) 通信する Bluetooth 機器の
サービス情報取得
BTGetServiceInfo
(7) 通信する Bluetooth 機器の
情報をレジストリへ登録
BTRegistDeviceInfo
(8) デフォルトで通信する
Bluetooth 機器を指定
BTSetDefaultDevice
(9) Bluetooth 機器との
通信を実行
(10) Bluetooth デバイスの使用を終了
BTDeInitialize
(5) 通信する Bluetooth 機器の
機器情報取得
BTGetDeviceInfo
・手順(6)は省略することが可能です。
・デフォルトで通信する Bluetooth 機器を指定する場合は、手順(8)を実行してください。
Bluetooth 機器情報の登録終了後直ちに通信を行う場合は、手順(9)を実行してください。