Commit graph

13 commits

Author SHA1 Message Date
Rohit Grover
709abe6a97 add BLEDevice::addToDisconnectionCallChain() 2014-12-11 11:39:26 +00:00
Rohit Grover
e8e3a7aa2b add Gap::MSEC_TO_ADVERTISEMENT_DURATION_UNITS() 2014-11-28 13:56:11 +00:00
Rohit Grover
d0dbe29f35 minor white space diffs 2014-11-21 08:06:22 +00:00
Rohit Grover
4234515948 Minor re-organization of member functions and their access privileges.
Make most APIs private, and accessible only to BLEDevice.
Add a private copy constructor and assignment operator.
2014-11-21 08:00:15 +00:00
Rohit Grover
a795389b7d remove un-necessary header files from Gap.h 2014-11-21 07:53:32 +00:00
Rohit Grover
d9fecf9209 add helper funcs: MSEC_TO_GAP_DURATION_UNITS 2014-11-19 10:08:14 +00:00
Rohit Grover
8d15b5e908 uncrustify Gap.h 2014-11-19 08:57:13 +00:00
Rohit Grover
23f9ef8058 enhance connectionEventCallback() to take in peer addr information 2014-11-18 15:10:26 +00:00
Rohit Grover
44f26b4024 adding typedef for address_t 2014-11-18 15:08:45 +00:00
Rohit Grover
039fd060ad Release 0.2.3
=============

Features
~~~~~~~~

* add API for getAddress() to fetch the MAC address.

Bugfixes
~~~~~~~~

* DFUService object needs to remain alive after ble.init(); declaring as static.

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

One new API has been added between 0.2.0 and this release. Applications should be updated.
2014-11-05 14:08:42 +00:00
Rohit Grover
b134b516d5 Release 0.1.1: Minor bugfix release.
Bugfixes
~~~~~~~~

- Handle all valid disconnection reasons.
2014-09-08 17:11:58 +01:00
Rohit Grover
c8eccb0222 Release 0.1.0
=============

Mostly API changes.

Features
~~~~~~~~

- onConnection() callback now receives connection-parameters applicable to the
  new connection.

- onDataSent() callback now receives a count parameter containing the number of
  times notifications were sent out since the last callback.

- A 'reason' parameter has been added to Gap::disconnect() to indicate the
  reason for disconnection; and also to the onDisconnection callback to
  receive a reason from the remote host.

Bugfixes
~~~~~~~~

- onDataWritten() callback now receives an additional parameter
  (GattServer::WriteEventCallback_t) encapsulating the update. This avoids
  having to re-fetch the updated characteristic's value attribute. It also
  fixes a bug where multiple updates to the characteristic's value-attribute
  could get clobbered if they occurred in quick succession before the
  callbacks could be processed.
2014-09-02 15:09:46 +01:00
Rohit Grover
9c8f69c78c initial re-organization of BLE_API directory structure 2014-07-23 15:09:23 +01:00
Renamed from hw/Gap.h (Browse further)