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

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

Advertisement

8.8.29. BluetoothLeGattCallback.onDiscPriSrvResult
Function
Provide an interface for the callback function to receive search results for the Primary
Service.
Related API: discPriSrv
Format
void onDiscPriSrvResult(char connectedHandle, int status ,
Parameter
Model name
char connectedHandle
int status
BluetoothLeGattService[] data
Search results
BluetoothLeChipCode.GattStatus definition
public static class GattStatus {
/** Success. */
public static final int BLE_GATT_STATUS_SUCCESS
/** Unknown or not applicable status. */
public static final int BLE_GATT_STATUS_UNKNOWN
/** ATT Error: Invalid Error Code. */
public static final int BLE_GATT_STATUS_ATTERR_INVALID
/** ATT Error: Invalid Attribute Handle. */
public static final int BLE_GATT_STATUS_ATTERR_INVALID_HANDLE
/** ATT Error: Read not permitted. */
public static final int BLE_GATT_STATUS_ATTERR_READ_NOT_PERMITTED
/** ATT Error: Write not permitted. */
public static final int BLE_GATT_STATUS_ATTERR_WRITE_NOT_PERMITTED
/** ATT Error: Used in ATT as Invalid PDU. */
public static final int BLE_GATT_STATUS_ATTERR_INVALID_PDU
/** ATT Error: Authenticated link required. */
public static final int BLE_GATT_STATUS_ATTERR_INSUF_AUTHENTICATION
/** ATT Error: Used in ATT as Request Not Supported. */
public static final int BLE_GATT_STATUS_ATTERR_REQUEST_NOT_SUPPORTED = 0x0106;
/** ATT Error: Offset specified was past the end of the attribute. */
public static final int BLE_GATT_STATUS_ATTERR_INVALID_OFFSET
/** ATT Error: Used in ATT as Insufficient Authorization. */
public static final int BLE_GATT_STATUS_ATTERR_INSUF_AUTHORIZATION
/** ATT Error: Used in ATT as Prepare Queue Full. */
public static final int BLE_GATT_STATUS_ATTERR_PREPARE_QUEUE_FULL
/** ATT Error: Used in ATT as Attribute not found. */
public static final int BLE_GATT_STATUS_ATTERR_ATTRIBUTE_NOT_FOUND
MOVERIO Pro Developer's Guide (Rev.1.4)
BluetoothLeGattService[] data);
Explanation
Connection handle
Search results
* Returns the value defined in
BluetoothLeChipCode.GattStatus
Service information
160
= 0x0000;
= 0x0001;
= 0x0100;
= 0x0101;
= 0x0102;
= 0x0103;
= 0x0104;
= 0x0105;
= 0x0107;
= 0x0108;
= 0x0109;
= 0x010A;

Advertisement

Table of Contents
loading

This manual is also suitable for:

Moverio pro bt-2200

Table of Contents