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

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

Advertisement

8.8.21. writeGatt
Function
Write to for the Characteristic Value specified with the handle.
Format
int writeGatt(char connectedHandle, char handle, byte[] value);
Parameter
Model name
char connectedHandle
char handle
byte[] value
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.BaseError.INVALID_PARAM: invalid parameter
BluetoothLeChipCode.BaseError.DATA_SIZE: exceeded data size
BluetoothLeChipCode.BaseError.NO_TX_BUFFERS: exceeded buffer capacity
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.onWriteGattResult
MOVERIO Pro Developer's Guide (Rev.1.4)
Explanation
Connection handle
Handle location for Characteristic Value
Written value
152

Advertisement

Table of Contents
loading

This manual is also suitable for:

Moverio pro bt-2200

Table of Contents