Commit graph

782 commits

Author SHA1 Message Date
Rohit Grover
cc3db8500c minor improvement to comment header for GattServer::onDataRead() 2015-09-08 10:11:39 +01:00
Rohit Grover
984266ee8a oops. typo. 2015-09-07 15:24:28 +01:00
Rohit Grover
ce4821076f handle the case of a NULL transport pointer for BLE. 2015-09-07 14:55:02 +01:00
Rohit Grover
ad8e92acd5 adding an initial prototype for a yotta-config based initialization for BLE transports 2015-09-07 14:55:02 +01:00
Rohit Grover
a462757a6c disallow copy constructor and assignment operators for BLE. 2015-09-07 14:10:35 +01:00
Rohit Grover
4c2aac540d Merge branch 'master' into develop 2015-09-07 14:08:48 +01:00
Rohit Grover
715d0746bb adding LICENSE at the top level 2015-09-03 13:22:34 +01:00
Rohit Grover
7198945fb5 Adding LICENSE at the top level. 2015-09-02 11:04:21 +01:00
Rohit Grover
3f2f94ec1b update comment header for Gap::updateConnectionParams() 2015-09-01 12:52:31 +01:00
Rohit Grover
626c551477 minor improvement to comments for AuthCallbackParams. 2015-09-01 12:52:31 +01:00
Rohit Grover
3b01f2a250 Merge branch 'marcuschangarm-master' into develop 2015-09-01 12:51:08 +01:00
Marcus Chang
6f960cbecd Gap.h - Added onConnection callback chain simarly to the currently present onDisconnection callback chain. 2015-08-30 18:00:19 +01:00
Rohit Grover
eb2130f7a6 Release 0.4.7
=============

* Depend on an updated version of nRF51822 which provides event handling
  through the mbed OS scheduler. As a result, all mbed-OS BLE event handling
  now happens in thread mode.

* minor: use "mbed-os" to select the target dependency on mbed-drivers. This
  allows bbc-micro builds.
2015-08-13 11:20:21 +01:00
Rohit Grover
5bf17c0e7c version v0.4.7 2015-08-13 11:10:40 +01:00
Rohit Grover
8de531a7b5 depend on an updated version of nRF51822 which provides event handling through minar. 2015-08-13 11:08:32 +01:00
Rohit Grover
9d7a7568b8 Use mbed-os as a target dependency.
This will be provided by the target configs.
2015-08-13 11:03:28 +01:00
Rohit Grover
603dae3166 Release 0.4.6
=============

Enhancements
~~~~~~~~~~~~

* Add connection handle to GATT callback parameters. This paves the way for
  applications requiring multiple concurrent connections: read/write/HVX
  callbacks will be able to distinguish between peripherals by comparing per-
  device connection handles.

* Revert to an older, working version of eddystone. This is temporary, and
  will only help with demos. We will provide a mature Eddystone offering
  shortly.
2015-08-11 15:03:37 +01:00
Rohit Grover
d5c5335fce version v0.4.6 2015-08-11 15:03:16 +01:00
Rohit Grover
a15780a712 require 0.4.6 of nRF51 because of the implementation of connHandle field in callbacks. 2015-08-11 14:55:13 +01:00
Rohit Grover
f5fb089d00 white space diffs. 2015-08-11 14:14:32 +01:00
Rohit Grover
8394e33e59 Add a connHandle field to most gattClient callbacks.
Merge branch 'jpbrucker-GattCB_conn_handle' into develop.
This should help applications with multiple concurrent connections.
2015-08-11 14:04:04 +01:00
Rohit Grover
a59e1ee07b Merge branch 'GattCB_conn_handle' of https://github.com/jpbrucker/ble into jpbrucker-GattCB_conn_handle 2015-08-11 14:02:51 +01:00
Rohit Grover
eec3f3518f URIBeaconConfigService: move declarations of some local variables closer to their use. 2015-08-11 13:51:26 +01:00
Rohit Grover
1b265c4e3d minor cosmetic change to the comment header for GapAdvertisingParams. 2015-08-11 13:50:31 +01:00
Jean-Philippe Brucker
99c7253051 Add connection handle in Gatt callback parameters
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.
2015-08-11 11:37:08 +01:00
Rohit Grover
3f3ceebeba Merge branch 'BlackstoneEngineering-eddystoneUpdate' into develop 2015-08-11 07:41:20 +01:00
Rohit Grover
3e2ef66dc2 Merge branch 'eddystoneUpdate' of https://github.com/BlackstoneEngineering/BLE_API into BlackstoneEngineering-eddystoneUpdate 2015-08-11 07:41:07 +01:00
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