Epson Moverio Pro BT-2000 Developer's Manual page 146

Hide thumbs Also See for Moverio Pro BT-2000:
Table of Contents

Advertisement

8.8.9. connect
Function
Specify the partner BD address (remote BD address), connection timeout, and the number
of times to retry, and then connect.
Format
int connect(AddrType addrType, String addr, int timeout, int retryReconnect);
Parameter
Model name
AddrType addrType
String
int timeout
int retryReconnect
Return value
Model Explanation
int
BluetoothLeChipCode.SUCCESS: success
BluetoothLeChipCode.BaseError.INVALID_ADDR: invalid memory address
BluetoothLeChipCode.BaseError.INVALID_PARAM: invalid parameter
BluetoothLeChipCode.BaseError.INVALID_STATE: invalid status
BluetoothLeChipCode.BaseError.INVALID_ADDR: invalid remote BD address
BluetoothLeChipCode.BaseError.NO_MEM: maximum connections
BluetoothLeChipCode.BaseError.BUSY: system busy status
Usage method
To receive connection processing results, you need to register the callback function in
setGapCallback in advance.
The following callback function sends a notification for connection processing results.
BluetoothLeGapCallback.onConnectResult
BD address classification
Value
BluetoothLeGapCallback.AddrType.PUBLIC
BluetoothLeGapCallback.AddrType.RANDOM_STATIC
BluetoothLeGapCallback.AddrType.RANDOM_PRIVATE_RESOLVABLE
BluetoothLeGapCallback.AddrType.RANDOM_PRIVATE_NON_RESOLVABLE
MOVERIO Pro Developer's Guide (Rev.1.4)
Explanation
Remote BD address classification
*See "BD address classification" for more details
Remote BD address
Timeout time (ms)
Set from 120 to 32000 ms in increments of 10 ms.
Number of retry times
140
Explanation
Public
Random

Advertisement

Table of Contents
loading

This manual is also suitable for:

Moverio pro bt-2200

Table of Contents