Skip to content

Calling js method onCharacteristicWrite failed #23

Open
@thiamugb

Description

@thiamugb

Hi,
I want to write some data to my characteristics alert like
bluetooth.writeWithoutResponse({
serviceUUID: '1802',
characteristicUUID: '2a06',
peripheralUUID: this.deviceUUID,
value: '0x01'
})

I have an error like " Error: java.lang.NoSuchFieldError: no "Landroid/os/Parcelable$Creator;" field "CREATOR" in class "Landroid/bluetooth/BluetoothGattCharacteristic;" or its superclasses "
Or if i use value : 0x01 i have 'Error in Bluetooth.writeWithoutResponse: Error: Expect integer value as a second argument."
I want to know if someone have the same error.
Need help or issues
Best Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions