Skip to content

GattManager issues #4

@fadden

Description

@fadden

Android GATT callbacks appear to be executing on arbitrary Binder threads. I think GattManager#onCharacteristicChanged() needs to be synchronized to avoid concurrent access to mCharacteristicChangeListeners.

Also, this:

public BluetoothGatt getGatt(BluetoothDevice device) {
    return mGatts.get(device);
}

Should be mGatts.get(device.getAddress()).

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