Epson BT-2000 Developers Guide - Page 130
discChar
View all Epson BT-2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 130 highlights
8.7.16. discChar Function Start searching the connected BLE device for Characteristics. Format int discChar(char connectedHandle, char startHandle, char endHandle); Parameter Model name char connectedHandle char startHandle char endHandle Explanation Connection handle Handle location for starting the search Handle location for ending the search Return value Model Explanation int BluetoothLeChipCode.SUCCESS: success BluetoothLeChipCode.BaseError.INVALID_ADDR: invalid memory address BluetoothLeChipCode.BaseError.INVALID_STATE: invalid status BluetoothLeChipCode.BaseError.BUSY: system busy status BluetoothLeChipCode.STKError.INVALID_CONN_HANDLE:invalid connection handle Usage method To receive search results, you need to register the callback function in setGattCallback in advance. The following callback function sends a notification for search results. BluetoothLeGattCallback.onDiscCharResult MOVERIO Pro Developer's Guide (Rev.1.0) 126