MOVERIO Pro Developer's Guide (Rev.1.4)
158
8.8.26.
BluetoothLeGapCallback.onDisconnectResult
Function
Provide an interface for the callback function to receive disconnection results for BLE.
Related API: disconnect
Format
Parameter
Model name
Explanation
char connectedHandle
Connection handle
byte response
Disconnection reason
boolean reconnecting
Flag during reconnecting
true: During reconnecting
false: not reconnecting
Disconnection reason
Disconnection reason
BluetoothLeErrorCodeDescription.SigDefinition.CONNECTION_TIMEOUT
BluetoothLeErrorCodeDescription.SigDefinition.CONNECTION_TERMINATED_BY_LOCAL_HOST
BluetoothLeErrorCodeDescription.SigDefinition.LMP_LL_RESPONSE_TIMEOUT
are the main values.
For details on other values,
see "
Specification of the Bluetooth System v4.1, Vol. 2, Part D : Error Code Descriptions"
void onDisconnectResult(char connectedHandle, byte response,
boolean reconnecting);
Summary of Contents for Moverio Pro BT-2000
Page 7: ...MOVERIO Pro Developer s Guide Rev 1 4 1 1 Introduction ...
Page 12: ...MOVERIO Pro Developer s Guide Rev 1 4 6 2 Developing Apps ...
Page 30: ...MOVERIO Pro Developer s Guide Rev 1 4 24 3 Display control ...
Page 39: ...MOVERIO Pro Developer s Guide Rev 1 4 33 4 UI control ...
Page 47: ...MOVERIO Pro Developer s Guide Rev 1 4 41 5 Voice commands ...
Page 70: ...MOVERIO Pro Developer s Guide Rev 1 4 64 6 Camera control ...
Page 119: ...MOVERIO Pro Developer s Guide Rev 1 4 113 7 Sensor control ...
Page 127: ...MOVERIO Pro Developer s Guide Rev 1 4 121 8 Bluetooth BLE ...
Page 184: ...MOVERIO Pro Developer s Guide Rev 1 4 178 9 Power control ...
Page 187: ...MOVERIO Pro Developer s Guide Rev 1 4 181 10 Self diagnostic function ...
Page 191: ...MOVERIO Pro Developer s Guide Rev 1 4 185 11 GPS Assist ...
Page 202: ...MOVERIO Pro Developer s Guide Rev 1 4 196 Memo ...