User manual - 拡張機能ライブラリリファレンスマニュアル(2014年8月7日)

Table Of Contents
100
4.3.12. MPRGetBluetooth
Bluetooth の通信パラメータを取得します
int MPRGetBluetooth (
ST_BTPARAMS *
pstBTParams
)
パラメータ
pstBTParams
ST_BTPARAMS 構造体へのポインタを指定します。
typedef struct _ST_BTPARAMS {
UW InqTimeout;
UW Timeout;
B Address[18];
int EnablePassKey;
B PassKey[17];
int Authentication;
int Encryption;
UW Reserved1;
UW Reserved2;
} ST_BTPARAMS;
InqTimeout
Bluetooth 機器問い合わせタイムアウト時間(秒単位)を取得します。
Timeout
Bluetooth 受信タイムアウト時間(秒単位)を取得します。
Address[18]
:通信対象プリンタの BD アドレスを取得します。
(コロン付き 16 進フォーマットの文字列)
EnablePassKey
:パスキーを設定するか、否かを取得します。
PassKey[17]
MPRSetBluetooth
設定したパスキーを取得します。
Authentication
Bluetooth 認証設定を取得します。
Encryption
:暗号設定を取得します。
Reserved1
:予約。
Reserved2
:予約。
戻り値
下記の値を返します
MPR_SUCCESS
:正常終了