public class GattError extends Object
| Constructor and Description |
|---|
GattError() |
| Modifier and Type | Method and Description |
|---|---|
static String |
parse(int error)
Converts the bluetooth communication status given by other BluetoothGattCallbacks to error name.
|
static String |
parseConnectionError(int error)
Converts the connection status given by the
BluetoothGattCallback.onConnectionStateChange(android.bluetooth.BluetoothGatt, int, int) to error name. |
static String |
parseDfuRemoteError(int error) |
public static String parseConnectionError(int error)
BluetoothGattCallback.onConnectionStateChange(android.bluetooth.BluetoothGatt, int, int) to error name.error - the status numberpublic static String parse(int error)
error - the status numberpublic static String parseDfuRemoteError(int error)