Skip to content

Conversation

@sylwester-zielinski
Copy link
Contributor

@sylwester-zielinski sylwester-zielinski commented May 10, 2022

Changes

  • Increase gradle version.
  • Move package name to gradle files.
  • Enable sending empty string using WriteRequest.

On Android 12 (and perhaps before as well), gatt.writeCharacteristic(...) returns false if the characteristic value is null. This effectively disallow sending empty packets. This PR changes null to an empty array to workaround it.

@philips77 philips77 changed the title Feat/empty message Allow sending empty packets May 10, 2022
@sylwester-zielinski sylwester-zielinski merged commit aeb190a into master May 10, 2022
@sylwester-zielinski sylwester-zielinski deleted the feat/empty_message branch May 10, 2022 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants