8.8.19. readUuidGatt
Function
Start acquiring Characteristic Values for the connected BLE device according to the
specified UUID.
Format
int readUuidGatt(char connectedHandle,byte[] uuid, char startHandle,
Parameter
Model name
char connectedHandle
byte[] uuid
char startHandle
char endHandle
Return value
Model
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.onReadUuidGattResult
MOVERIO Pro Developer's Guide (Rev.1.4)
char endHandle);
150
Explanation
Connection handle
UUID for acquisition target Characteristic
Handle location for starting the search
Handle location for ending the search
Explanation