Epson BT-2000 Developers Guide - Page 129
discPriSrv
![]() |
View all Epson BT-2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 129 highlights
8.7.15. discPriSrv Function Start searching the connected BLE device for a Primary Service. Use format -2 when specifying a UUID and searching for the Primary Service. Format -1 int discPriSrv(char connectedHandle, char findStartHandle); Format -2 int discPriSrv(char connectedHandle, char findStartHandle, byte[] uuid); Parameter Model name char connectedHandle char findStartHandle byte[] uuid Explanation Connection handle Handle location for starting the search UUID for search target Return value Model Explanation int BluetoothLeChipCode.SUCCESS: success BluetoothLeChipCode.BaseError.INVALID_PARAM: invalid parameter 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.onDiscPriSrvResult MOVERIO Pro Developer's Guide (Rev.1.0) 125
![](/manual_guide/products/epson-bt2000-developers-guide-3a30282/129.png)