Skip to content

Android 9 issue? #107

@valientegaston

Description

@valientegaston

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Provided a clear description of your suggestion.
  • Included any relevant context or examples.

Issue or Suggestion Description

Good morning! Has anyone tried this library on Android 9? I’ve run into issues with devices on that version when authenticating with security 2, but not with security 0. Haven’t had the same problem on other Android versions. Thanks a lot!

`Send Wi-Fi scan command to device
Device Version : v1.1
sec_ver value : 2
Has sec_ver key : true
Security Version : 2
Init session with : SECURITY_2
User name : [HIDDEN] password : [HIDDEN]
Accessing hidden field Ljava/nio/Buffer;->address:J (light greylist, reflection)

getStep0Request

Session:init -> sendConfig

onCharacteristicWrite, status : 133
UUID : 021aff51-0382-4aea-bff4-6b3f1c5adfb4
java.lang.Exception: Write to BLE failed
at com.espressif.provisioning.transport.BLETransport$1.onCharacteristicWrite(BLETransport.java:378)
at android.bluetooth.BluetoothGatt$1$7.run(BluetoothGatt.java:438)
at android.bluetooth.BluetoothGatt.runOrQueueCallback(BluetoothGatt.java:770)
at android.bluetooth.BluetoothGatt.access$200(BluetoothGatt.java:39)
at android.bluetooth.BluetoothGatt$1.onCharacteristicWrite(BluetoothGatt.java:433)
at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:137)
at android.os.Binder.execTransact(Binder.java:735)
onClientConnectionState() - status=8 clientIf=7 device=A0:A3:B3:28:AC:C2
onConnectionStateChange, New state : 0, Status : 8
Disconnected from GATT server.
On Device Connection Event RECEIVED : 3`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions