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

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

Advertisement

8.8.11. disconnect
Function
Specify the partner BD address (remote BD address), connection timeout, and the number
of times to retry, and then connect.
Format
int disconnect(char connectedHandle , byte hci_status_code)
Parameter
Model name
char connectedHandle
byte hci_status_code
Return value
Mode
Explanation
l
Int
BluetoothLeChipCode.SUCCESS: success
BluetoothLeChipCode.BaseError.INVALID_PARAM: invalid parameter
BluetoothLeChipCode.BaseError.INVALID_STATE: invalid status
BluetoothLeChipCode.STKError.INVALID_CONN_HANDLE: invalid connection
handle
Usage method
To receive disconnection processing results, you need to register the callback function in
setGapCallback in advance.
The following callback function sends a notification for disconnection processing results.
BluetoothLeGapCallback.onDisconnectResult
MOVERIO Pro Developer's Guide (Rev.1.4)
Explanation
Connection handle
* Specify the connection handle (ConnectedHandle) in the
connected status (connStatus) acquired in onConnectResult.
Status code
Normally, the following is specified.
BluetoothLeErrorCodeDescription.SigDefinition.
REMOTE_USER_TERMINATED_CONNECTION
* Specify the following if there is a connection parameter that
is not allowed.
BluetoothLeErrorCodeDescription.SigDefinition.
142
CONN_INTERVAL_UNACCEPTABLE

Advertisement

Table of Contents
loading

This manual is also suitable for:

Moverio pro bt-2200

Table of Contents