Commit graph

21 commits

Author SHA1 Message Date
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
f983494cc9 adjust to the new yotta friendly file tree for BLE_API 2015-06-19 13:39:08 +01:00
Rohit Grover
2453a09171 drop initializeGattDatabase() 2015-06-19 10:24:27 +01:00
Rohit Grover
b7fdb260a0 implement GattServer::read() and write() 2015-06-18 21:23:54 +01:00
Rohit Grover
6c12041f89 reduce the maximum number of CHARACTERISTICS and DESCRIPTORS that can be handled. 2015-05-28 15:51:43 +01:00
Rohit Grover
c1223374fd move GattServer::getInstance() into a .cpp file.
Leaving it in the header was causing duplication of some static memory.
2015-05-28 15:18:07 +01:00
Rohit Grover
4ae92f89c1 porting to v8.0 of the SDK 2015-04-20 10:50:56 +01:00
Rohit Grover
ab5d4cf092 adding const to an argument of GattServer::updateValue() 2015-04-15 08:36:30 +01:00
Rohit Grover
929136c446 use GattAttribute::Handle_t for GattServer::readValue and updateValue 2015-03-02 11:32:01 +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
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
b272b61cb2 67:e6cc149033a6 raised the maximum number of characteristics/descriptors to 24. 2014-09-23 16:10:56 +01:00
Rohit Grover
4e77274ffc move get/set of deviceName and appearance to Gap 2014-09-02 13:44:52 +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