Epson BT-2000 Developers Guide - Page 125
BluetoothLeChipCode.STKError.INVALID_CONN_HANDLE: invalid connection
![]() |
View all Epson BT-2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 125 highlights
8.7.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 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 tat is not allowed. BluetoothLeErrorCodeDescription.SigDefinition. CONN_INTERVAL_UNACCEPTABLE 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.0) 121
![](/manual_guide/products/epson-bt2000-developers-guide-3a30282/125.png)