Commit Graph

489 Commits

Author SHA1 Message Date
Rohit Grover 1c1dad30d9 minor white space diff. 2015-01-09 10:44:09 +00:00
Rohit Grover c9a39ef3ea Merge pull request #4 from marcuschangarm/master
Updated return value for nRF51GattServer::updateValue. Will now report w...
2015-01-07 09:06:34 +00:00
Marcus Chang 7ce2924889 Updated return value for nRF51GattServer::updateValue. Will now report when call fails. 2015-01-06 13:06:37 +00:00
Rohit Grover 5d2eb310fc white space diffs. 2014-12-17 08:55:57 +00:00
Rohit Grover d3ac84395f Merge pull request #3 from marcuschangarm/master
Added optional data and length fields to the return struct for authorize...
2014-12-17 08:51:23 +00:00
Marcus Chang e6d3736490 Added optional data and length fields to the return struct for authorized reads so a new value can be provided for each individual authorization. 2014-12-16 11:35:29 +00:00
Rohit Grover 6151c498de Synchronizing with pull request from Marcus Chang.
description:
Write permission was not set for 'write without response' characteristics.

changeset:   85:17fe69405098
tag:         tip
user:        marcuschang
date:        Fri Dec 12 17:12:35 2014 +0000
files:       btle/custom/custom_helper.cpp
2014-12-15 07:43:32 +00:00
Rohit Grover 03791a03e9 minor changes to fix GCC compiler issues 2014-12-12 14:14:07 +00:00
Rohit Grover f6b58a5aa3 Release 0.2.5
=============

API enhancements to support read/write authorization for GATT accesses.

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

* Add support for authorization, whereby the user application can receive a
  callback to authorize a read or a write on a characteristic's value
  attribute before GATT commits the transaction.

Bugfixes
~~~~~~~~

Compatibility
~~~~~~~~~~~~~

This release is backward compatible with 0.2.3.
2014-12-12 13:18:22 +00:00
Rohit Grover 9b33184697 add support for write authorization. 2014-12-12 11:03:38 +00:00
Rohit Grover 4e2d4aca36 Release 0.2.4
=============

API enhancements to support purging of GATT/GAP state.

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

* Add support for API BLEDevice::shutdown() to purge the BLE stack of
  GATT and GAP state.  BLEDevice::init() should be called before
  restoring state.

Bugfixes
~~~~~~~~

Compatibility
~~~~~~~~~~~~~

This release is backward compatible with 0.2.3.
2014-12-03 11:57:38 +00:00
Rohit Grover 5c80717d97 add support for shutdown().
This API allows for the GATT/GAP state to be purged.
2014-12-03 11:45:02 +00:00
Rohit Grover 2c80818744 remove un-necessary comment blocks. 2014-12-03 09:48:22 +00:00
Rohit Grover 2415bbb412 Release 0.2.3
=============

Features
~~~~~~~~

* Add nRF51GattServer::initializeGATTDatabase() to have an explicit commit
  point where the underlying GATT server is populated.

* Extend ConnectionCallbackParameters_t to include peer_addr.

Bugfixes
~~~~~~~~

none

Compatibility
~~~~~~~~~~~~~

Works with 0.2.4 of BLE_API.
2014-11-21 10:00:06 +00:00
Rohit Grover 6cd6038954 extending ConnectionCallbackParameters_t 2014-11-18 15:12:09 +00:00
Rohit Grover eee261a2e6 nRFGattServer:: simplify header includes 2014-11-18 10:13:59 +00:00
Rohit Grover 1bc9fa928b nrfGattServer:: move constants into the class. 2014-11-18 10:13:31 +00:00
Rohit Grover d419ec36e7 minor cosmetic change. 2014-11-18 10:10:29 +00:00
Rohit Grover ec94c68e74 move descriptorCount into nRFGattServer 2014-11-18 10:09:35 +00:00
Rohit Grover 8940e82481 GattServer:: improve default constructor 2014-11-18 10:09:00 +00:00
Rohit Grover 8c33bdd29c improve signatures for copy constructor and assignment operator for GattServer 2014-11-18 10:08:28 +00:00
Rohit Grover 3eda3f6fc3 GAP_ADV_PARAMS_INTERVAL_MAX and other such constants have moved into GapAdvertisingParams 2014-11-10 14:46:52 +00:00
Rohit Grover 989d0668d1 69:61da91a52bd6
Revert "minor changes pulled in from Nordic's latest SDK"

This reverts commit c35f80d309.
2014-11-04 10:48:59 +00:00
Rohit Grover 8f29d80930 minor typos in comment blocks. 2014-11-04 10:07:12 +00:00
Rohit Grover abfad118f5 add inline assembly for bootloader to be compiled with arm-gcc. 2014-11-04 09:56:57 +00:00
Rohit Grover b5c17644f3 white space diffs 2014-11-04 09:11:15 +00:00
Rohit Grover c35f80d309 minor changes pulled in from Nordic's latest SDK 2014-11-04 09:00:47 +00:00
Rohit Grover 2a9ab86246 white space diffs 2014-11-04 08:58:01 +00:00
Rohit Grover c3d07e49ea simplify BLE_GAP_ADDR_LEN to ADDR_LEN defined in Gap.h 2014-10-06 10:51:19 +01:00
Rohit Grover 2220853d1e introduce GAP::getAddress() to fetch the MAC address. 2014-10-06 10:42:30 +01:00
Rohit Grover 8d7351c5f3 white space diffs. 2014-10-06 10:41:23 +01:00
Rohit Grover 2f9ca20cb3 68:936d81c963fe turn on service-changed characteristic by default 2014-09-26 14:47:00 +01:00
Rohit Grover b272b61cb2 67:e6cc149033a6 raised the maximum number of characteristics/descriptors to 24. 2014-09-23 16:10:56 +01:00
Rohit Grover 6154c272a9 66:b3680699d9a4
Release 0.2.0
=============

Highlights:
  Add support for over-the-air firmware updates.

Features
~~~~~~~~

- Add files to support DFU bootloader.

- charHandle is now a part of GattCharacteristicWriteCBParams.

- nRF51GattServer::addService(): Skip any incompletely defined, read-only
  characteristics. For instance, the DeviceInformationService may have many
  optional, read-only characteristics which may be safely dropped if the
  application hasn't defined them.

Bugfixes
~~~~~~~~

None.

Compatibility
~~~~~~~~~~~~~

Works with 0.2.0 of BLE_API.
2014-09-22 11:20:23 +01:00
Rohit Grover 2db47d6a76 fix typos in a comment. 2014-09-22 11:15:05 +01:00
Rohit Grover 79b1e7282d make lookupConvertedUUIDTable() static again 2014-09-22 11:11:18 +01:00
Rohit Grover 612f3540b0 skip incompletely defined, read-only characteristics. 2014-09-22 09:52:01 +01:00
Rohit Grover fa3c0990e1 drop un-necessary include of DFUService.h 2014-09-18 19:50:47 +01:00
Rohit Grover 41e7ed0b19 DFUService now has its own onDataWritten; no need to make a special case for it in event handling 2014-09-18 18:41:46 +01:00
Rohit Grover b9813e57e1 add bootloader dfu related headers to nRF-sdk 2014-09-18 11:23:22 +01:00
Rohit Grover d848bd1c03 temporary checkin for bootloader 2014-09-18 10:47:19 +01:00
Rohit Grover 11c96570b4 charHandle is now a part of GattCharacteristicWriteCBParams 2014-09-18 10:24:44 +01:00
Rohit Grover 4e2e9c1133 Detect writes to the DFU control characteristic and forward them separately to the DFU Service. 2014-09-09 14:46:25 +01:00
Rohit Grover 6d1b6e3f74 white space diffs. 2014-09-09 11:48:59 +01:00
Rohit Grover e639e66d4a 65:98215c4f3a25 Release 0.1.3
Update to v6.1.0 of Nordic's SDK.

Bugfixes
~~~~~~~~

- Handle all valid disconnection reasons.

Compatible with Release 0.1.1 of the BLE_API.
2014-09-08 17:23:21 +01:00
Rohit Grover c8a258749a bringing in updates from v6.1.0 of the SDK 2014-09-08 16:59:53 +01:00
Rohit Grover fc3f7cf753 64:5d5f5cbc Merge pull request from YiHui 2014-09-08 16:59:28 +01:00
Rohit Grover a23e2bd9ec r62:a022be4c Minor improvement to Tsuboi San's pull request. 2014-09-08 10:29:51 +01:00
Rohit Grover 6f68e7faeb r61:d0158c65 add ifdef for HRM1017 to choose IRC on btle.cpp 2014-09-08 10:28:53 +01:00
Rohit Grover 3434e4b0ee 60:e861f2041469
Release 0.1.2: Minor bugfix release.

Bugfixes
~~~~~~~~

- drop un-necessary app_button.c.

Compatibility
~~~~~~~~~~~~~

Compatible with revision 0.1.0 of the BLE_API.
2014-09-02 17:07:29 +01:00