Commit graph

845 commits

Author SHA1 Message Date
Rohit Grover
7ac6aea06b remove un-necessary header include; and some white space diffs. 2014-12-12 10:03:07 +00:00
Rohit Grover
07baffd9a9 white space diffs. 2014-12-12 07:35:07 +00:00
Rohit Grover
5ee435ea86 Release 0.2.8
=============

Minor API enhancements to support LinkLoss service.

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

* Introduce LinkLoss Service.
  https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.link_loss.xml

* Add BLEDevice::addToDisconnectionCallChain(). This is in some sense parallel
  to the onDisconnection callback; but it allows for chaining and these
  callbacks don't receive any context.

* Some improvements to documentation.

Bugfixes
~~~~~~~~

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

This release is backward compatible with 0.2.4.
2014-12-11 11:51:04 +00:00
Rohit Grover
eed20c82ce make use of getValueHandle() as a short cut. 2014-12-11 11:39:46 +00:00
Rohit Grover
709abe6a97 add BLEDevice::addToDisconnectionCallChain() 2014-12-11 11:39:26 +00:00
Rohit Grover
ba5fb7fb36 minor improvements to documentation. 2014-12-09 13:14:45 +00:00
Rohit Grover
c7eb83db09 minor white space diffs and fixes for typos. 2014-12-09 08:12:20 +00:00
Rohit Grover
149605fe95 pulling in doxygen improvements submitted by Austin. 2014-12-09 07:36:51 +00:00
Blackstone Engineering
ad56c72314 Merge pull request #20 from BlackstoneEngineering/master
Updated Readme
2014-12-05 15:26:54 -06:00
Austin Blackstone
347fb34f63 added link to mbed page for BLE, redirecting all things BLE here 2014-12-05 15:24:58 -06:00
Austin Blackstone
8868f8ddfd updated Readme to include iBeacon and UriBeacon services 2014-12-05 15:23:18 -06:00
Rohit Grover
61cff47899 Release 0.2.7
=============

API enhancements to support purging of GATT/GAP state.

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

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

* Minor update to API for GattCharacterisitc: add getValueHandle() as a
  shortcut for getValueAttribute().getHandle().

Bugfixes
~~~~~~~~

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

This release is backward compatible with 0.2.4.
2014-12-03 11:55:39 +00:00
Rohit Grover
7e9f9a0530 add API BLEDevice::shutdown() to purge the BLE stack of GATT and GAP state.
init() should be called before restoring state.

fixes #15.
2014-12-03 11:54:16 +00:00
Rohit Grover
ac3a548eff minor update to GattCharacterisitc API: add getValueHandle() as a shortcut for getValueAttribute().getHandle(). 2014-12-02 16:24:35 +00:00
Rohit Grover
809ff6f235 Merge pull request #18 from schilit/getHandle
Add getHandle for readability
2014-12-02 16:02:36 +00:00
Bill Schilit
7a86401e48 Add getHandle for readability
use getHandle() for readability.
2014-12-02 01:18:43 -08:00
Rohit Grover
04ceb5cea6 Release 0.2.6
=============

Bugfixes and enhancements to URIBeaconConfigService. This entire release
refers to this service. Nothing else has changed.

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

* Rename to URIBeacon2Service to URIBeaconConfigService.

* Add helper functions to update characteristics.

* Add txPowerMode characteristic.

* Add API to setup TxPowerLevels.

Bugfixes
~~~~~~~~

* Uri Data must be between 0 and 18 bytes.

* beaconPeriod should be converted to adv_duration_units only before calling setAdvertisingInterval().

* Fixed characteristic properties to match spec.

* Make UUID consts static so that the header file can be included from multiple compilation units.

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

This release is backward compatible with 0.2.4.
2014-12-01 14:29:39 +00:00
Rohit Grover
1150cca720 oops caught a typo. 2014-12-01 14:25:53 +00:00
Rohit Grover
88d278cc71 make UUID consts static so that the header file can be included from multiple compilation units. 2014-12-01 14:06:29 +00:00
Rohit Grover
b940e50a34 simplify construction of TxPowerLevelsChar 2014-12-01 13:49:07 +00:00
Rohit Grover
eaa62b877b should still call configureGAP after updating powerLevels. 2014-12-01 13:43:28 +00:00
Rohit Grover
62e9ce268b white space diffs. 2014-12-01 13:42:46 +00:00
Rohit Grover
9ea6d8b6c1 allow update to txPowerMode from onDataWritten() 2014-12-01 13:39:19 +00:00
Rohit Grover
93af1ec289 updateGATT() should update TxPower related characteristics. 2014-12-01 13:34:19 +00:00
Rohit Grover
78696699c8 add API to setup TxPowerLevels 2014-12-01 13:33:43 +00:00
Rohit Grover
13ed67ec1e add txPowerMode characteristic. 2014-12-01 13:30:13 +00:00
Rohit Grover
d3cc9ed912 white space diffs. 2014-12-01 12:47:31 +00:00
Rohit Grover
9168068e56 re-organized code within resetDefaults() 2014-12-01 11:19:57 +00:00
Rohit Grover
8491673e7d fixed characteristic properties to match spec. 2014-12-01 11:14:37 +00:00
Rohit Grover
bca072e3ac add updateLockedStateCharacteristic() 2014-12-01 11:07:30 +00:00
Rohit Grover
0c38a1e8ef fast path for encodeURISchemePrefix() if sizeofURLData is 0 2014-12-01 11:01:20 +00:00
Rohit Grover
19f5054adf no need to save defaults; they are implicit. 2014-12-01 10:57:36 +00:00
Rohit Grover
bb041bbb10 add helper functions to update characteristics. 2014-12-01 09:34:00 +00:00
Rohit Grover
076ade55a4 rename configure() to configureGAP(); and remove duplication of this call from resetDefaults(). 2014-12-01 09:16:26 +00:00
Rohit Grover
3f856e0c4e rename to URIBeaconConfig.h 2014-12-01 08:51:10 +00:00
Rohit Grover
4163b0d2d4 fix minor typo in a comment. 2014-12-01 08:50:43 +00:00
Rohit Grover
94cb946fc8 raname to URIBeaconConfigService. 2014-12-01 08:50:20 +00:00
Rohit Grover
c9fbe1f4ba white space diffs. (uncrustified) 2014-12-01 08:45:18 +00:00
Rohit Grover
da85949113 add saveDefaults() 2014-12-01 08:42:13 +00:00
Rohit Grover
dc40eb8113 Add a comment for MAX_SIZE_URI_DATA_CHAR_VALUE 2014-12-01 08:41:56 +00:00
Rohit Grover
e5bd170d5d drop virtual from onDataWritten() 2014-12-01 08:39:03 +00:00
Rohit Grover
fe765b0191 remove block comment for onDataWritten. 2014-12-01 08:38:29 +00:00
Rohit Grover
eaf31a3941 beaconPeriod should be converted to adv_duration_units only before calling setAdvertisingInterval() 2014-12-01 08:38:10 +00:00
Rohit Grover
25eebd68ef rename to effectiveTxPower 2014-12-01 08:37:08 +00:00
Rohit Grover
6e85b53f92 Uri Data must be between 0 and 18 bytes
https://github.com/mbedmicro/BLE_API/issues/6
2014-12-01 08:19:59 +00:00
Rohit Grover
1c37781d6e Release 0.2.5
=============

Features
~~~~~~~~

* Introduce the URIBeacon2 service.

* Add helper API Gap::MSEC_TO_ADVERTISEMENT_DURATION_UNITS(); this can then be
  used in calls to setAdvertisingInterval().

* Remove Stream as a base class for UARTService. Instantiating Stream() was
  causing the C library to initialize the serial console UART implicitly;
  which caused a constant drain of around 1mA. This change means that we can
  no longer benefit from the APIs offered by Stream, and we can no longer re-
  target STDOUT to UARTService like before; but that's not worth losing 1mA.

* Remove some un-necessary header files from BLEDevice.h.

Bugfixes
~~~~~~~~

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

This release is backward compatible with 0.2.4.
2014-11-28 14:08:36 +00:00
Rohit Grover
959ba7c6db removing Stream as a base class for UARTService.
Instantiating Stream was causing a call to initialize the serial console uart; which caused a constant drain of around 1mA.
2014-11-28 13:57:03 +00:00
Rohit Grover
a4d2a4327c fix access privileges for methods of URIBeacon2Service. 2014-11-28 13:57:03 +00:00
Rohit Grover
6694c00b40 Merge branch 'uribeacon' into develop 2014-11-28 13:57:03 +00:00
Rohit Grover
49103aff55 minor change to a check. 2014-11-28 13:57:02 +00:00