NordicSemiconductor / Android-BLE-Library

A library that makes working with Bluetooth LE on Android a pleasure. Seriously.
BSD 3-Clause "New" or "Revised" License
2.04k stars 419 forks source link

Migration to API 33 #424

Closed philips77 closed 2 years ago

philips77 commented 2 years ago

This PR makes use of the new Bluetooth LE API added in Android 13 (API 33). It solves #419.

Still, characteristic.setValue(..) and descriptor.setValue(..) are used in some places for:

  1. older Android versions
  2. holding a values of shared server characteristics and descriptors

Beside that, the PR removes some warnings here and there.