=============
This is a minor release.
Enhancements
~~~~~~~~~~~~
* Switch github repo URL to ARMmbed organization: https://github.com/ARMmbed/BLE_API.
We were previously hosted in the mbedmicro organization.
* Extend onRadioNotification() to take a <object, member> pair. This also
introduces a new GAP API: initRadioNotification() which porters of BLE_API
should implement.
* Rename iBeaconService as iBeacon. This is not a Service in the BLE sense.
* Pull from Ollie Ford (#56): GattCharacteristic constructors now expose optional descriptors.
* Pull from AFernandes: change DiscoveredCharacteristic API to return long or short UUIDs.
* Provide a useful initial implementation for GattClient::discoverServices().
Bugfixes
~~~~~~~~
none.
=============
This is a minor release.
Enhancements
~~~~~~~~~~~~
* Switch github repo URL to ARMmbed organization: https://github.com/ARMmbed/BLE_API.
We were previously hosted in the mbedmicro organization.
* Extend onRadioNotification() to take a <object, member> pair. This also
introduces a new GAP API: initRadioNotification() which porters of BLE_API
should implement.
* Rename iBeaconService as iBeacon. This is not a Service in the BLE sense.
* Pull from Ollie Ford (#56): GattCharacteristic constructors now expose optional descriptors.
* Pull from AFernandes: change DiscoveredCharacteristic API to return long or short UUIDs.
* Provide a useful initial implementation for GattClient::discoverServices().
Bugfixes
~~~~~~~~
none.
void onRadioNotification(void (*callback)(bool))
This then is extended in Gap.h by:
template <typename T>
void onRadioNotification(T *tptr, void (T::*mptr)(bool));
=============
This is a minor release.
Enhancements
~~~~~~~~~~~~
* fix#53: add GattClient API for handling HVX Events (notifications and
indications). Refer to GattClient::onHVX(HVXCallback_t ...) and
GattHVXCallbackParams.
* Add empty (void) declarations for unused variables in the default
implementations for several API (in Gap, GattServer, GattClient, etc). This
avoids compiler warnings.
Bugfixes
~~~~~~~~
none.
=============
This is a minor release.
Enhancements
~~~~~~~~~~~~
* fix#53: add GattClient API for handling HVX Events (notifications and
indications). Refer to GattClient::onHVX(HVXCallback_t ...) and
GattHVXCallbackParams.
* Add empty (void) declarations for unused variables in the default
implementations for several API (in Gap, GattServer, GattClient, etc). This
avoids compiler warnings.
Bugfixes
~~~~~~~~
none.
=============
This is a minor release.
Enhancements
~~~~~~~~~~~~
* Introduce API GattServer::areUpdatesEnabled() to determine notification
status for a characteristic.
This is a follow up from https://github.com/mbedmicro/BLE_API/pull/41.
@jeremybrodt did a lovely job submitting that pull request, but there had
been too many changes in the neighbouring code recently to merge his
work directly. I didn't take the trouble of preserving his submission
in the history; my apologies--credit for this API goes entirely to him.
* Replace DiscoveredCharacteristic::setupOnDataRead() with GattClient::onDataRead().
* Move GATT_MTU_SIZE_DEFAULT into blecommon.h as BLE_GATT_MTU_SIZE_DEFAULT.
* Replace uses of the deprecated updateCharacteristicValue() with ble.gattServer().write().
* Change access levels to protected for various members of the standard services.
* Update LinkLossService with a recent change to the definition of
GattWriteCallbackParams. Involved renaming member charHandle to handle.
Bugfixes
~~~~~~~~
* None.
follow up from https://github.com/mbedmicro/BLE_API/pull/41.
@jeremybrodt did a lovely job submitting that pull request, but there had been too many changes in the neighbouring code recently to merge his work directly. I didn't take the trouble of preseving his submission in the history; my apologies--credit for this API goes entirely to him.