Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getValueHandle() returns characteristicIndex instead of attribute-handle #20

Closed
rgrover opened this issue Jul 1, 2015 · 0 comments
Closed

Comments

@rgrover
Copy link
Contributor

rgrover commented Jul 1, 2015

attribute-handles are reported incorrectly by the Nordic port of BLE_API. getHandle() returns characteristicIndex instead. This should be solved urgently.

@rgrover rgrover closed this as completed in 1682fb0 Jul 2, 2015
rgrover pushed a commit that referenced this issue Jul 2, 2015
=============

This is a minor release.

Enhancements
~~~~~~~~~~~~

* Hide duplicate symbol definitions in ble_types.h. These have already been
  brought into ble/blecommon.h.

* Replace DiscoveredCharacteristic::setupOnDataRead() with
  GattClient::onDataRead().

* Implement new API GattServer::areUpdatesEnabled() to determine notification
  status for a characteristic.

Bugfixes
~~~~~~~~

* fix for #20: GattServer::addService() incorrectly initialized value
  attribute-handles. These were getting confused with characteristicIndex.
  Event handlers also return attribute handles correctly now; they were also
  previously returning characteristic indices.
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

No branches or pull requests

1 participant