User manual - Bluetoothライブラリマニュアルver.1.08(2014年8月6日)
6
3.2 BTST_DEVICEINFO
通信する Bluetooth 機器のデバイス情報を格納します。
struct _btdeviceinfo {
LONG DeviceErrorFlag; エラーフラグ
HANDLE DeviceHandle; デバイスハンドル
TCHAR DeviceName[82]; Bluetooth 機器名
TCHAR DeviceAddress[18]; Bluetooth 機器アドレス
LONG DeviceClass1; Bluetooth デバイスクラス 1(通信先)
LONG DeviceClass2; Bluetooth デバイスクラス 2(通信先)
LONG DeviceClass 3; Bluetooth デバイスクラス 3(通信先)
DWORD ProfileNumber; 使用可能なプロファイルの数
WORD ProfileUUID[16]; 使用可能なプロファイルの種類
} BTST_DEVICEINFO;
BTST_DEVICEINFO 構造体を使用する関数は以下の通りです。
BTGetDeviceInfo
BTGetServiceInfo
BTSelectDevice
BTTrustDevice
BTRegisterLocalInfo
BTSearchDeviceInfo
BTDeleteDeviceInfo
BTGetDefaultDeviceInfo
BTSetDefaultDevice