Commit graph

20 commits

Author SHA1 Message Date
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
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
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
2db47d6a76 fix typos in a comment. 2014-09-22 11:15:05 +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
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
ff8e8673ef white space diff 2014-09-02 16:16:51 +01:00
Rohit Grover
4e77274ffc move get/set of deviceName and appearance to Gap 2014-09-02 13:44:52 +01:00
Rohit Grover
10ad7e4f1a introduce a handleDataSentEvent which takes a count. 2014-09-02 13:44:52 +01:00
Rohit Grover
900ead3cc5 have onDataSent() invoked repeatedly based on the count parameter in the event. 2014-09-02 13:44:52 +01:00
Rohit Grover
2b9fee3a56 rename WriteEvent as WriteCBParams 2014-09-02 13:44:52 +01:00
Rohit Grover
a601082563 define a new handler for dataWritten event;
this exposes the data to the callback handler.
2014-09-02 13:44:50 +01:00
Rohit Grover
83f44c29d5 54:e2294c844c83 Move value attribute as member of the char class 2014-09-02 13:35:55 +01:00
Rohit Grover
d22868169f 54:e2294c844c83 Add support for adding descriptors 2014-09-02 13:34:54 +01:00
Rohit Grover
d1a8667c1d forking from 53:1e5c300cec7f 2014-07-30 11:36:32 +01:00