Commit graph

619 commits

Author SHA1 Message Date
Rohit Grover
2294f555d8 Release 0.4.5
=============

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

* Renamed to GapAdvertisementParams::getIntervalInADVUnits() based on change in BLE API.
* Fix Gap::getAppearance() to checks for correct success code from sd_ble_gap_appearance_get().

Bugfixes
~~~~~~~~

none.
2015-08-10 15:16:08 +01:00
Rohit Grover
ab1f76572e version v0.4.5 2015-08-10 15:15:53 +01:00
Rohit Grover
dae7886be3 require ble-0.4.5 because of API changes 2015-08-10 15:15:29 +01:00
Rohit Grover
7e6bd9a4f9 https://github.com/ARMmbed/ble-nrf51822/pull/36
* renamed to GapAdvertisementParams::getIntervalInADVUnits()
* fix getAppearance() to checks for correct success code from sd_ble_gap_appearance_get().
2015-08-10 15:12:41 +01:00
Joshua Slater
8830c07558 getAppearance now checks for correct success code from sd_ble_gap_appearance_get 2015-08-10 15:11:33 +01:00
Rohit Grover
bf25a5a4c4 rename to getIntervalInADVUnits() 2015-08-10 15:11:18 +01:00
Joshua Slater
781dcbdcfd changed getInterval to getIntervalInAdvUnits to support changes in GapAdvertisingParams.h 2015-08-10 15:08:51 +01:00
Rohit Grover
fa0f12d376 version v0.4.4 2015-08-07 15:40:51 +01:00
Rohit Grover
330e3ba31f Release 0.4.4
=============

This is a minor release.

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

* Minor changes to allow compatibility with S110 SDK headers. Had mostly to do
  with the role_t member in the event structure for BLE_GAP_EVT_CONNECTED.

* Select the clock source dynamically on SoftDevice initialization. This
  change will allow lots of applications to still run and provide FOTA, when
  the wrong Nordic platform is specified.

* Updated module.json because URL of the host repo has changed to
  "git@github.com:ARMmbed/ble-nRF51822.git".

Bugfixes
~~~~~~~~

none.
2015-08-07 15:39:18 +01:00
Rohit Grover
db8e482c31 we now depend on ble v0.4.4 because of API changes 2015-08-07 15:38:54 +01:00
Rohit Grover
32f4698d56 URL of the host repo has changed to "git@github.com:ARMmbed/ble-nRF51822.git" 2015-08-07 15:30:58 +01:00
Rohit Grover
552a3b5d46 Merge pull request #34 from jslater8/develop
Changed Gap:: to GapAdvertisingParams:: because of change in BLE
2015-08-06 13:37:29 +01:00
Joshua Slater
110db4c514 Changed Gap:: to GapAdvertisingParams:: because of change in BLE 2015-08-06 10:50:53 +01:00
Rohit Grover
692d7e08e8 minor cosmetic change to the previous commit. 2015-08-05 12:47:41 +01:00
Rohit Grover
27cd45a37c Merge pull request #32 from jpbrucker/dynamic_clksrc
Select the clock source dynamically on SoftDevice initialisation
2015-08-05 12:35:28 +01:00
Jean-Philippe Brucker
b22c2e826f Select the clock source dynamically on SoftDevice initialisation
Instead of relying on build macros to know which oscillator we're
supposedly using, check the value of LFCLKSRC register. This way, we can
trust mbed's init code to fallback on the internal clock if the user
specified a wrong target.
This change, along with the mbed patch that selects clock source
dynamically, will allow lots of application to still run and provide
FOTA, when the wrong Nordic platform is specified.

Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
2015-08-03 18:56:22 +01:00
Rohit Grover
71d6c4148f fix #29: add mention of version number to the version string. 2015-07-29 12:12:29 +01:00
Rohit Grover
6cdf4e12e0 fix #29: support getVersion for v8 of the softdevice. 2015-07-29 12:08:55 +01:00
Rohit Grover
723c701b95 Merge pull request #28 from jpbrucker/s110_compat
Add S110 SoftDevice compatibility
2015-07-24 12:44:36 +01:00
Jean-Philippe Brucker
20f4417724 Add SoftDevice s110 compatibility
This patch adds the ability to use the API with the s110 SoftDevice.
Only a minor change is needed so far, to support the absence of roles in
s110.
2015-07-22 11:29:25 +01:00
Jean-Philippe Brucker
34977aea1c Add S110 compatibility in S130 headers 2015-07-22 11:29:25 +01:00
Rohit Grover
7a425e10bf version v0.4.3 2015-07-22 10:20:35 +01:00
Rohit Grover
ec744cbd62 Release 0.4.3
=============

This is a minor release.

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

* Rename nRF51... to nRF5x... This prepares for the arrival of nRF52.
* Switch Github repository URL to ARMmbed organization.

* Add support to handle radio-notification callback as a FuncionPointer so that
  we can have <object, member> pairs for callbacks.

Bugfixes
~~~~~~~~

none.
2015-07-21 13:09:56 +01:00
Rohit Grover
b55677ade1 Release 0.4.3
=============

This is a minor release.

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

* Rename nRF51... to nRF5x... This prepares for the arrival of nRF52.
* Switch Github repository URL to ARMmbed organization.

* Add support to handle radio-notification callback as a FuncionPointer so that
  we can have <object, member> pairs for callbacks.

Bugfixes
~~~~~~~~

none.
2015-07-21 13:09:33 +01:00
Rohit Grover
553132b406 add support to handle radio-notification event as a FuncionPointer so that we can have <object, member> pairs for callbacks. 2015-07-21 11:34:36 +01:00
Rohit Grover
5ad392605f switch repository URL to ARMmbed organization. 2015-07-14 08:05:52 +01:00
Rohit Grover
df2efa5adb white space diffs. 2015-07-13 07:51:07 +01:00
Rohit Grover
5f6e01aa24 Merge branch 'afernandes' into develop 2015-07-13 07:50:29 +01:00
Rohit Grover
c0a8c6b544 Merge branch 'master' of https://github.com/adfernandes/nRF51822 into afernandes 2015-07-13 07:49:07 +01:00
Andrew Fernandes
2e68655044 nRF51ServiceDiscovery should be able to match short AND long UUIDs. 2015-07-11 15:07:00 -04:00
Andrew Fernandes
4ec44d75e3 Change DiscoveredCharacteristic API to return long or short UUIDs. 2015-07-10 11:51:09 -04:00
Rohit Grover
2a234a68df Merge branch 'adfernandes-master' into develop 2015-07-07 08:14:32 +01:00
Rohit Grover
9606130953 Merge branch 'master' of https://github.com/adfernandes/nRF51822 into adfernandes-master 2015-07-07 08:14:15 +01:00
Andrew Fernandes
b743df2a51 Remove unnecessary 'compiler_abstraction.h' to get rid of duplicate '__ASM' warning. 2015-07-06 15:19:04 -04:00
Rohit Grover
0eb58d86f5 rename nRF51... to nRF5x...
This prepares us to support nRF52.
2015-07-06 14:18:01 +01:00
Rohit Grover
e79eec6b67 Release 0.4.2
=============

This is a minor release.

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

* fix #53: add GattClient API for handling HVX Events (notifications and
  indications). Refer to GattClient::onHVX(HVXCallback_t ...).

* Reformat source tree to align nRF51822 for yotta.

Bugfixes
~~~~~~~~

none.
2015-07-06 09:29:40 +01:00
Rohit Grover
e408ce6f02 Release 0.4.2
=============

This is a minor release.

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

* fix #53: add GattClient API for handling HVX Events (notifications and
  indications). Refer to GattClient::onHVX(HVXCallback_t ...).

* Reformat source tree to align nRF51822 for yotta.

Bugfixes
~~~~~~~~

none.
2015-07-06 09:28:04 +01:00
Rohit Grover
57c99a5ac3 fix #22: add GattClient API for handling HVX Events (notifications and indications). 2015-07-06 09:23:17 +01:00
Rohit Grover
842a7b46fd update module.json with version numbers 2015-07-03 11:09:26 +01:00
Rohit Grover
f1fcc88868 Merge pull request from James to align nRF51822 for yotta.
Merge branch 'autopulated-master' into develop
2015-07-02 13:37:56 +01:00
Rohit Grover
5370a5097e relocating the tree under ble-nrf51822/btle 2015-07-02 13:32:19 +01:00
Rohit Grover
094e94b9f8 Merge branch 'master' of https://github.com/autopulated/nRF51822 into autopulated-master 2015-07-02 12:56:29 +01:00
Rohit Grover
928a5e634d Release 0.4.1
=============

This is a minor release.

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

* Hide duplicate symbol definitions in ble_types.h. These have already been
  brought into ble/blecommon.h.

* Replace DiscoveredCharacteristic::setupOnDataRead() with
  GattClient::onDataRead().

* Implement new API GattServer::areUpdatesEnabled() to determine notification
  status for a characteristic.

Bugfixes
~~~~~~~~

* fix for #20: GattServer::addService() incorrectly initialized value
  attribute-handles. These were getting confused with characteristicIndex.
  Event handlers also return attribute handles correctly now; they were also
  previously returning characteristic indices.
2015-07-02 08:51:00 +01:00
Rohit Grover
d854663cbc add consts at a couple of places. 2015-07-02 07:59:44 +01:00
Rohit Grover
bf1405414d close #21: provide an implementation for areUpdatesEnabled() 2015-07-02 07:57:51 +01:00
Rohit Grover
1682fb0932 fixes #20: addService initializes value attribute handles correctly. Previously these were getting confused with characteristicIndex.
Event handlers also return attribute handles correctly now; they were also previously returning characteristic indices.
2015-07-01 11:39:13 +01:00
Rohit Grover
4bedd5ac7c replace DiscoveredCharacteristic::setupOnDataRead() with GattClient::onDataRead() 2015-07-01 08:18:38 +01:00
Rohit Grover
84e2b306e1 #16: unhide GATT_MTU_SIZE_DEFAULT because the nordic bootloader depends on it. 2015-07-01 07:25:33 +01:00
Rohit Grover
2ebe5108ee Fix #16: move GATT_MTU_SIZE_DEFAULT into blecommon.h
Note: there's a corresponding change to mbedmicro/BLE_API
2015-06-30 07:49:39 +01:00
Rohit Grover
3d87035e26 fix #16: hide duplicate symbol definitions in ble_types.h 2015-06-29 07:45:28 +01:00