Commit Graph

805 Commits

Author SHA1 Message Date
Rohit Grover bc899071d2 oops. ble depends on nrf51822-v0.4.5. 2015-08-11 07:13:10 +01:00
Austin Blackstone f09b0b6307 modified eddystone service, currently blows away any associated services but it works 2015-08-10 15:00:01 -05:00
Rohit Grover 5333f3691a Release 0.4.5
=============

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.
2015-08-10 15:01:14 +01:00
Rohit Grover 3aac9f7c90 version v0.4.5 2015-08-10 14:54:59 +01:00
Rohit Grover 44633a5170 merge https://github.com/ARMmbed/ble/pull/65.
GapADVParams::get/setInterval() are now counterparts in terms of their units.
2015-08-10 14:51:11 +01:00
Rohit Grover 186500f135 rename to ADVParams::getIntervalInADVUnits() 2015-08-10 14:48:13 +01:00
Rohit Grover 8ed4a14b90 minor improvements in the form of comments to Joshua's commit around AdvParams::get/setInterval 2015-08-10 14:46:50 +01:00
Joshua Slater caadd8c62c added getIntervalInAdvUnits 2015-08-10 14:27:52 +01:00
Rohit Grover 340a046a8c update module.json to depend on mbed-drivers instead of mbed-core 2015-08-10 08:36:41 +01:00
Rohit Grover 3d6893f3da version v0.4.4 2015-08-07 15:50:59 +01:00
Rohit Grover 17253370ff Release 0.4.4
=============

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.
2015-08-07 15:50:37 +01:00
Rohit Grover 00e76777b2 add yotta dependency for mbed-core 2015-08-07 15:50:03 +01:00
Rohit Grover 5422ec45c3 we now depend on v0.4.4 of ble-nrf51822 2015-08-07 15:42:49 +01:00
Rohit Grover a9561faea1 host repository has been renamed to github/ARMmbed/ble. 2015-08-07 15:29:34 +01:00
Rohit Grover eb97fcf064 minor change to avoid a compiler warning about un-used variable. 2015-08-07 15:27:34 +01:00
Rohit Grover bff44f94a6 Adding an initial implementation for Eddystone beacon service. 2015-08-07 15:27:08 +01:00
Rohit Grover 45813579a5 fix #60: if scanning parameters are changed while scanning is active, their new values are propagated to the underlying stack rightaway. 2015-08-07 10:14:37 +01:00
Rohit Grover 24a989212a fix #64: GapAdvertisingData::getPayload() should return the payload pointer regardless of len. 2015-08-07 09:20:30 +01:00
Rohit Grover 3711ca3016 deprecate GattClient::onDataWrite() in favour of onDataWritten(). 2015-08-07 09:10:39 +01:00
Rohit Grover 501de9ef1f Merge pull request #63 from jslater8/develop
Conversion from advertisement duration units to ms moved from Gap to …
2015-08-06 13:36:43 +01:00
Joshua Slater e65471d680 Fixed bugs with Gap:: and GapAdvertisingParams 2015-08-06 11:04:38 +01:00
Joshua Slater 0f2ba674c8 Conversion from advertisement duration units to ms moved from Gap to GapAdvertisingParams. getInterval converts to ms. Added conversion in GapScanningParams 2015-08-06 10:43:04 +01:00
Rohit Grover ce6772dd88 Merge branch 'sunsmilearm-develop' into develop. Bring in Gap::updateAdvertisingPayload() 2015-08-03 08:11:30 +01:00
Rohit Grover 97d939ca77 Minor updates to the implementation. Add a local struct to describe ADV fields. 2015-08-03 08:08:47 +01:00
Rohit Grover ea37b64307 Merge branch 'develop' of https://github.com/sunsmilearm/BLE_API into sunsmilearm-develop 2015-08-03 07:23:21 +01:00
Xiao Sun 509ffdd1de Add a new function updateAdvertisingPayload()
add updateAdvertisingPayload() to update  one field of the advertising
payload
2015-08-03 14:05:16 +08:00
Rohit Grover 64e5ef32c1 minor update to a comment header. Add a mention of units for accumulateAdvertisingPayloadTxPower(). 2015-07-29 12:06:51 +01:00
Rohit Grover 0183fdc2cb Merge branch 'ddavidebor-master' into develop 2015-07-27 12:16:30 +01:00
Rohit Grover 97b0438704 Merge branch 'master' of https://github.com/ddavidebor/BLE_API into ddavidebor-master 2015-07-27 12:15:47 +01:00
Davide Bortolami 40929416ea minor corrections to the comments 2015-07-25 19:41:58 +02:00
Rohit Grover 2cf2c2f52d version v0.4.3 2015-07-22 10:14:56 +01:00
Rohit Grover 95321570fb 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.
2015-07-21 12:02:37 +01:00
Rohit Grover 1842576f26 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.
2015-07-21 12:01:59 +01:00
Rohit Grover cf1a66303f Rename some enums in GapAdvertisingData, and create some deprecated type aliases. This helps harmonize type-names. 2015-07-21 12:01:39 +01:00
Rohit Grover 74bf708b05 rename iBeaconService as iBeacon. 2015-07-21 11:44:36 +01:00
Rohit Grover b3462b3c82 Extend onRadioNotification() to take a <object, member> pair.
This is going to help with the implementation of Eddystone.
2015-07-21 11:36:36 +01:00
Rohit Grover f12267fc71 Update comment header for onRadioNotification() to explain the second prototype. 2015-07-21 11:16:36 +01:00
Rohit Grover c1c05e5f90 Extend onRadioNotification() to take a <object, member> pair.
Add new API to be implemented by BLE ports: initRadioNotification
2015-07-21 11:05:04 +01:00
Rohit Grover 5eda1ad9e7 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));
2015-07-21 09:34:08 +01:00
Rohit Grover 26e9536a80 fix some typos in API comment blocks in BLE.h 2015-07-21 09:30:09 +01:00
Rohit Grover 90551b6eb7 Rename iBeaconService as iBeacon. This is not a Service in the BLE sense. 2015-07-21 09:24:05 +01:00
Rohit Grover 09076e1673 simplified some declarations: removed extraneous 'typedef' from typedef struct X {}; 2015-07-14 09:05:35 +01:00
Rohit Grover 86d7566467 white space diffs. 2015-07-14 08:20:31 +01:00
Rohit Grover d79995b3ce Merge pull request #56 from OJFord/develop
expose descriptors optional arg in derived GattChar. constructors
2015-07-14 08:07:18 +01:00
Rohit Grover 98261b871b switch repo URL to ARMmbed organization. 2015-07-14 08:05:20 +01:00
Ollie Ford d583b13bba fix typo in GattService constructor
Reference to 'this characteristic' become 'this service'
2015-07-13 15:26:03 +01:00
Ollie Ford ab17d9c409 expose optional descriptors in template constructors
Read/Write/Only/Array derivations forward `descriptors` and `numDescriptors` to base constructor
2015-07-13 15:22:59 +01:00
Rohit Grover 74191e254b module.json: depend on mbed-classic only for mbed-classic builds. 2015-07-13 10:05:56 +01:00
Rohit Grover 7aaf768fde Merge branch 'adfernandes-master' into develop 2015-07-13 07:40:09 +01:00
Rohit Grover 7d961c15f5 Merge branch 'master' of https://github.com/adfernandes/BLE_API into adfernandes-master 2015-07-13 07:39:40 +01:00