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

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

Advertisement

8.8.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
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.4)
Explanation
Connection handle
Handle location for starting the search
UUID for search target
146

Advertisement

Table of Contents
loading

This manual is also suitable for:

Moverio pro bt-2200

Table of Contents