Skip to content
This repository was archived by the owner on Jun 19, 2024. It is now read-only.
This repository was archived by the owner on Jun 19, 2024. It is now read-only.

Android notification not working #33

Open

Description

Hey guys,
The device I am working with has several characteristics. There is one that we care about and enabling notification on it won't do much in Android. I see that the onDescriptorWrite returns successful but no value is getting updated. I played around the Charactratics and Gattcallback but it seems nothing can make it work. I see that there are other users who have the same issue. I used the sample that you guys posted and notifications do not work as well.

Activity

  1. KeyvanPouyan commented on May 13, 2015

    @KeyvanPouyan
    Author

    Hey guys,
    I managed to make it work. Apparently some BLE API implementation on Google side prefers having all the Gatt calls on the UI thread. Each call needs to be queued, so no overlapping calls. Each call needs to be completed before running the next one.

  2. KeyvanPouyan commented on May 13, 2015

    @KeyvanPouyan
    Author

    I did not contribute to the project as I understand having calls on the GUI thread is not desirable. Hopefully Android API gets a major facelift soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions