How to inform the client that the GATT server has been closed
I’m working on an app that works alternatively as a client or as a server for GATT connections and the related data exchange.
The app has a status bar with the bluetooth connection status.
Android 14 BLE – WRITE_TYPE_DEFAULT vs WRITE_TYPE_NO_RESPONSE
My Android and iOS app (react native based) uses BLE to connect to a custom esp32-based peripheral. It’s been working fine for years, but starting with Android 14 some features are not working.
How to determine the correct UUID for sending a key (password that is used to unlock the device) [closed]
Closed 3 days ago.
code 137 is AUTHORIZATION_FAILED. bonding error popup is taking more than 1 min
@Override public void onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) { Log.d(“PesBleDevice”, “onCharacteristicRead, UUID : ” + characteristic.getUuid().toString() + “;status : ” + status); if (characteristic.getUuid().toString().equalsIgnoreCase(PES_DEVICE_CHARS_SERIAL_NUMBER_UUID)) { if (status == BluetoothGatt.GATT_SUCCESS) { try { byte[] data = characteristic.getValue(); String serialNumber = new String(data, StandardCharsets.UTF_8); //registrationBLECommand(); Log.e(“PesBleDevice”, “onCharacteristicRead : Serial Number Read = ” + serialNumber); Timber.tag(“PES”).i(“PesBleDevice-> […]
Message Integrity Check Failure in android BLE application
I am developing android app for communicating with a BLE capable device.
onCharacteristicChanged method is not called in android BLE
Hello in the below code device MQTT data not showing with Latest FW and differences between old and new FW .onCharacteristicChanged method is not called .setCharacteristicNotification called after that not calling anything can anyone help me