=============
Enhancements
~~~~~~~~~~~~
* Use template classes to simplify definitions of GattCharacteristic within services.
Bugfixes
~~~~~~~~
Compatibility
~~~~~~~~~~~~~
This release is API compatible with 0.2.4.
=============
Enhancements
~~~~~~~~~~~~
* BLEDevice::onDataSent() now appends to a callChain. This means we can string
together multiple onDataSent() callbacks.
* rename GattCharacteristicWriteCBParams.h as GattCharacteristicCallbackParams.h.
* Added optional data and length fields to the return structure for
readAuthorization so a new 'value' can be provided for each individual
authorization.
* Several improvements to URIBeaconConfigService:
** ServiceDataPayload can have a maximum of 18 bytes of URIData.
** Add lock and unlock characteristics; and use 'pstorage' to make their
values persist.
* Remove minor warnings seen with GCC ARM toolchain.
Bugfixes
~~~~~~~~
Compatibility
~~~~~~~~~~~~~
This release is API compatible with 0.2.4.
[Warning] Gap.h@152: 152:16: warning: enumeration value
‘GAP_EVENT_CONNECTED’ not handled in switch [-Wswitch] enumeration value
‘GAP_EVENT_DISCONNECTED’ not handled in switch [-Wswitch]
[Warning] GattServer.h@78: In member function ‘void
GattServer::handleEvent(GattServerEvents::gattEvent_e, uint16_t)’:
enumeration value ‘GATT_EVENT_DATA_SENT’ not handled in switch
[-Wswitch]
[Warning] GattServer.h@78: In member function ‘void
GattServer::handleEvent(GattServerEvents::gattEvent_e, uint16_t)’:
enumeration value ‘GATT_EVENT_DATA_WRITTEN’ not handled in switch
[-Wswitch]
[Warning] GattServer.h@78: In member function ‘void
GattServer::handleEvent(GattServerEvents::gattEvent_e, uint16_t)’:
enumeration value ‘GATT_EVENT_READ_AUTHORIZATION_REQ’ not handled in
switch [-Wswitch]
[Warning] GattServer.h@78: In member function ‘void
GattServer::handleEvent(GattServerEvents::gattEvent_e, uint16_t)’:
enumeration value ‘GATT_EVENT_WRITE_AUTHORIZATION_REQ’ not handled in
switch [-Wswitch]
=============
API enhancements to support read/write authorization for GATT accesses.
Enhancements
~~~~~~~~~~~~
* Add support for authorization, whereby the user application can receive a
callback to authorize a read or a write on a characteristic's value
attribute before GATT commits the transaction. We now have an API for
GattCharacterisitc called setWriteAuthorizationCallback() which can filter
incoming access requests before they get applied to the GATT database.
Bugfixes
~~~~~~~~
Compatibility
~~~~~~~~~~~~~
This release is backward compatible with 0.2.4.
=============
Minor API enhancements to support LinkLoss service.
Enhancements
~~~~~~~~~~~~
* Introduce LinkLoss Service.
https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.link_loss.xml
* Add BLEDevice::addToDisconnectionCallChain(). This is in some sense parallel
to the onDisconnection callback; but it allows for chaining and these
callbacks don't receive any context.
* Some improvements to documentation.
Bugfixes
~~~~~~~~
Compatibility
~~~~~~~~~~~~~
This release is backward compatible with 0.2.4.
=============
API enhancements to support purging of GATT/GAP state.
Enhancements
~~~~~~~~~~~~
* Add API BLEDevice::shutdown() to purge the BLE stack of GATT and GAP state.
BLEDevice::init() should be called before restoring state.
* Minor update to API for GattCharacterisitc: add getValueHandle() as a
shortcut for getValueAttribute().getHandle().
Bugfixes
~~~~~~~~
Compatibility
~~~~~~~~~~~~~
This release is backward compatible with 0.2.4.