=============
Enhancements
~~~~~~~~~~~~
* Add new API: onRadioNotification(). Radio Notification is a feature that
enables ACTIVE and INACTIVE (nACTIVE) signals from the stack that notify the
application when the radio is in use. The ACTIVE signal is sent before the
Radio Event starts. The nACTIVE signal is sent at the end of the Radio
Event. These signals can be used by the application programmer to
synchronize application logic with radio activity. For example, the ACTIVE
signal can be used to shut off external devices to manage peak current drawn
during periods when the radio is on, or to trigger sensor data collection
for transmission in the Radio Event.
* merge contents of several .cpp files under common/* into .h files under public/*.
e.g. GattService, GapAdvertisingData, UUID.
* Add a note to the documentation for setAdvertisingInterval() to warn users
about the new units for 'interval'.
* get rid of a few deprecated APIs: setAdvertisingData() and startAdvertising().
Bugfixes
~~~~~~~~
none.
==============
Enhancements
~~~~~~~~~~~~
* BLEDevice::setAdvertisingInterval() uses milliseconds as the unit for its
argument. If advertising interval is set to 0, advertising is stopped. If
advertising interval is smaller than the minimum value supported, then the
minimum value is used instead.
* Add an enumeration called GattCharacteristicAuthCBReply_t to capture a
status code from read/write authorization callback. Previously it used to
return only a bool.
* Add APIs for getMinAdvertisingInterval() and variants.
Bugfixes
~~~~~~~~
* URIBeaconConfigService uses better write-authorization filters. It now
passes tests defined in Google's validator app.
[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]