This commit paves the way for multiple device implementation:
read/write/HVX callbacks will be able to distinguish between
peripherals by comparing per-device connection handles.
=============
Enhancements
~~~~~~~~~~~~
* Update module.json to depend on mbed-drivers instead of mbed-core.
* GapADVParams::get/setInterval() are now counterparts in terms of their units.
Bugfixes
~~~~~~~~
none.
=============
This is a minor release.
Enhancements
~~~~~~~~~~~~
* Add a new helper API: Gap::updateAdvertisingPayload(). This helps update a
particular AD field in the advertisement payload.
* Deprecate GattClient::onDataWrite() in favour of onDataWritten().
* fix#64. clearScanResponse() should work properly now.
* fix#60: if scanning parameters are changed while scanning is active, their
new values are propagated to the underlying stack right-away.
* Introducing an initial implementation for Google's Eddystone beacon service.
See https://github.com/google/eddystone.
* Updated module.json because URL of the host repo has changed to
"git@github.com:ARMmbed/ble.git".
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.
=============
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));