User manual - 拡張機能ライブラリリファレンスマニュアル(2014年8月7日)
Table Of Contents
- 変更履歴
- 目次
- 1. アプリケーション支援ライブラリ
- 1.1. 概要
- 1.2. 日付チェック関数
- 1.3. ブロックチェック関数群
- 1.4. 入力関数群
- 1.5. 通信関数群
- 1.5.1. 関数一覧
- 1.5.2. ht_FLNKsend
- 1.5.3. ht_FLNKrecv
- 1.5.4. Ir_c_open
- 1.5.5. Ir_c_close
- 1.5.6. Ir_c_status
- 1.5.7. Ir_c_hold
- 1.5.8. Ir_c_chkopen
- 1.5.9. Ir_c_dout
- 1.5.10. Ir_c_din
- 1.5.11. Ir_c_tmdin
- 1.5.12. Ir_c_out
- 1.5.13. Ir_c_break
- 1.5.14. Ir_c_txrx
- 1.5.15. Ir_c_iobox
- 1.5.16. Ir_c_irout
- 1.5.17. Ir_c_timer
- 1.5.18. Ir_c_rs
- 1.5.19. Ir_c_er
- 1.5.20. Ir_c_errs
- 1.5.21. Ir_c_flush
- 1.5.22. Ir_c_bfsts
- 1.5.23. Ir_c_errbfring
- 1.5.24. Ir_c_rderrsts
- 1.5.25. Ir_c_chghdr
- 1.6. ファイル制御関数群
- 1.7. サービス関数群
- 2. Bluetoothプリンタライブラリ
- 3. TEC IrDAプリンタライブラリ
- 4. モバイルプリンタ制御ライブラリ
- 5. 高速ファイルサーチライブラリ
- 6. 付録

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
:正常終了