Skip to content

Commit 2ea4b4e

Browse files
committed
Missing parsers
1 parent 166539f commit 2ea4b4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ble/src/main/java/no/nordicsemi/android/ble/error/GattError.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ public static String parseConnectionError(final int error) {
111111
case GATT_CONN_LMP_TIMEOUT -> "GATT CONN LMP TIMEOUT";
112112
case GATT_CONN_CANCEL -> "GATT CONN CANCEL ";
113113
case GATT_ERROR -> "GATT ERROR"; // Device not reachable
114+
case GATT_TIMEOUT -> "GATT TIMEOUT"; // Device not reachable, new Error added in Android 15
115+
case GATT_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED -> "GATT PAIRING WITH UNIT KEY NOT SUPPORTED";
114116
default -> "UNKNOWN (" + error + ")";
115117
};
116118
}

0 commit comments

Comments
 (0)