Gatt Error
Gatt Error. Called when BluetoothGatt onConnectionStateChange return other than GATT_SUCCESS.
Parameters
Types
Could not establish a connection in specified period. Maybe when distance for connect is so long or device is currently connected to something else
The BLE connection failed to be established. This could be due to a variety of reasons, such as the device being out of range, the device being turned off, or a problem with the BLE stack on either device
The connection interval you requested is unacceptable to the BLE device
The BLE connection was terminated due to a microphone failure. This could indicate a hardware issue with the microphone or a problem with the audio processing on the device
The BLE controller is busy and can't handle your request
A different BLE transaction collided with the current one
The directed advertising procedure timed out before a connection could be established
The instant you specified has already passed
Your device terminated the BLE connection
The BLE device doesn't support pairing with a unit key
The BLE device terminated the connection because it's low on resources
The BLE device terminated the connection because it's powering off
The user on the other end terminated the BLE connection
The BLE device doesn't allow the command you're trying to send
The parameters you're using for the BLE command are invalid
The parameters for the Link Manager Protocol (LMP) are invalid
The LMP Protocol Data Unit (PDU) isn't allowed
The LMP response timed out
An unspecified error occurred with the BLE connection
The BLE device doesn't support a feature that your device needs
Authentication failed when attempting to connect to the BLE device. This could be due to an incorrect password or pairing key
The BLE connection is congested. This could be due to too many devices being connected to the device or too much data being transferred
The BLE connection timed out. This could be due to the device being out of range or the device being turned off
The BLE device's database is full. This could prevent the device from storing new data or updating existing data
A generic GATT failure occurred. This is a catch-all error that could indicate a variety of problems
An illegal parameter was passed to the GATT function. This could be due to an incorrect value being passed or a parameter being missing
Insufficient authentication for a given operation
The connection to the BLE device isn't secure enough
An internal error occurred on the BLE device. This is a generic error that could indicate a variety of problems
The data you're trying to send or receive is the wrong length
A read or write operation was requested with an invalid offset
The BLE device does not have enough resources to complete the request. This could be due to the device being low on memory or processing power
GATT read operation is not permitted
The given request is not supported
GATT write operation is not permitted
The BLE device is in the wrong state to complete the request. This could be due to the device not being connected or not being in the correct mode