my version with changed conversion between duration units

Fork of BLE_API by Bluetooth Low Energy

History

Conversion from Interval duration units to milliseconds now in GapAdvertisingParams.h and changed getInterval to properly convert back to milliseconds default tip

2015-08-05, by jslater8 [Wed, 05 Aug 2015 14:20:04 +0000] rev 758

Conversion from Interval duration units to milliseconds now in GapAdvertisingParams.h and changed getInterval to properly convert back to milliseconds


Synchronized with git rev 1842576f

2015-07-21, by rgrover1 [Tue, 21 Jul 2015 13:25:40 +0100] rev 757

Synchronized with git rev 1842576f
Author: Rohit Grover
Release 0.4.3
=============

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.


Synchronized with git rev cf1a6630

2015-07-21, by rgrover1 [Tue, 21 Jul 2015 13:25:40 +0100] rev 756

Synchronized with git rev cf1a6630
Author: Rohit Grover
Rename some enums in GapAdvertisingData, and create some deprecated type aliases. This helps harmonize type-names.


Synchronized with git rev 74bf708b

2015-07-21, by rgrover1 [Tue, 21 Jul 2015 13:25:40 +0100] rev 755

Synchronized with git rev 74bf708b
Author: Rohit Grover
rename iBeaconService as iBeacon.


Synchronized with git rev f12267fc

2015-07-21, by rgrover1 [Tue, 21 Jul 2015 13:25:39 +0100] rev 754

Synchronized with git rev f12267fc
Author: Rohit Grover
Update comment header for onRadioNotification() to explain the second prototype.


Synchronized with git rev c1c05e5f

2015-07-21, by rgrover1 [Tue, 21 Jul 2015 13:25:39 +0100] rev 753

Synchronized with git rev c1c05e5f
Author: Rohit Grover
Extend onRadioNotification() to take a <object, member> pair.
Add new API to be implemented by BLE ports: initRadioNotification


Synchronized with git rev 5eda1ad9

2015-07-21, by rgrover1 [Tue, 21 Jul 2015 13:25:39 +0100] rev 752

Synchronized with git rev 5eda1ad9
Author: Rohit Grover
make signature of BLE::onRadioNotification() more explicit.

void onRadioNotification(void (*callback)(bool))
This then is extended in Gap.h by:

template <typename T>
void onRadioNotification(T *tptr, void (T::*mptr)(bool));


Synchronized with git rev 26e9536a

2015-07-21, by rgrover1 [Tue, 21 Jul 2015 13:25:39 +0100] rev 751

Synchronized with git rev 26e9536a
Author: Rohit Grover
fix some typos in API comment blocks in BLE.h


Synchronized with git rev 90551b6e

2015-07-21, by rgrover1 [Tue, 21 Jul 2015 13:25:39 +0100] rev 750

Synchronized with git rev 90551b6e
Author: Rohit Grover
Rename iBeaconService as iBeacon. This is not a Service in the BLE sense.


Synchronized with git rev 09076e16

2015-07-21, by rgrover1 [Tue, 21 Jul 2015 13:25:39 +0100] rev 749

Synchronized with git rev 09076e16
Author: Rohit Grover
simplified some declarations: removed extraneous 'typedef' from typedef struct X {};