MOVERIO Pro Developer's Guide (Rev.1.4)
146
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
Format -2
Parameter
Model
name
Explanation
char connectedHandle
Connection handle
char findStartHandle
Handle location for starting the search
byte[] uuid
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
int discPriSrv(char connectedHandle, char findStartHandle);
int discPriSrv(char connectedHandle, char findStartHandle, byte[] uuid);
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 ...