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. 付録

98
4.3.11. MPRSetBluetooth
Bluetooth の通信パラメータを設定します。
int MPRSetBluetooth (
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 機器問い合わせタイムアウト時間を秒単位で指定します。
最小値 : 0秒
最大値 :60 秒
デフォルト :10 秒
Timeout
:Bluetooth 受信タイムアウト時間を秒単位で指定します。
最小値 : 0秒
最大値 :30 秒
デフォルト :10 秒
Address[18]
:通信対象プリンタの BD アドレスを指定します。
(コロン付き 16 進フォーマットの文字列)
例 12:34:56:78:AB:CD
初期値 00:00:00:00:00:00
EnablePassKey
:パスキーを設定するか、否かを指定します。
TRUE :パスキーを設定します。
FALSE :パスキーを設定しません。
初期値 :FALSE
PassKey[17]
:設定するパスキーを ASCII 文字列で指定します。
空文字(“”)
を指定すると、他の Bluetooth 機器からの
パスキー要求を拒否し
ます。
最小値 :0 桁
最大値 :16 桁
初期値 :0 桁