User manual - C# Bluetoothライブラリマニュアルver.1.00(2005年3月9日)
DT-10 ライブラリマニュアル
CASIO Bluetooth
Library for C#
3
BTST_LOCALINFO 構造体
DT-10 本体の Bluetooth デバイス情報を格納する構造体です。
struct _btlocalinfo {
TCHAR LocalName[82]; Bluetooth 機器名
TCHAR LocalAddress[18]; Bluetooth 機器アドレス
LONG LocalDeviceMode; Bluetooth デバイスモード
LONG LocalClass1 Bluetooth デバイスクラス 1(ローカル)
LONG LocalClass2 Bluetooth デバイスクラス 2(ローカル)
LONG LocalClass3 Bluetooth デバイスクラス 3(ローカル)
BOOL Authentication; Bluetooth 認証設定フラグ
BOOL Encryption; 暗号設定フラグ
} BTST_LOCALINFO;
BTST_LOCALINFO 構造体を使用する関数は以下の通りです。
BTGetLocalInfo
BTSetLocalInfo
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