Commit graph

997 commits

Author SHA1 Message Date
Rohit Grover
4fc8488e04 Merge branch 'bremoran-doxyfile' into develop 2015-12-03 13:45:04 +00:00
Rohit Grover
b781a461ea Merge branch 'doxyfile' of https://github.com/bremoran/ble into bremoran-doxyfile 2015-12-03 13:44:49 +00:00
Rohit Grover
f059dac3b6 Merge pull request #132 from iriark01/patch-12
I change the service description
2015-12-03 13:25:57 +00:00
Irit Arkin
e31ca45a34 I change the service description
It looked like it was the thermometer's description.
2015-12-03 11:34:35 +00:00
Brendan Moran
632d44b8be Add a doxyfile that warns for undocumented elements 2015-12-03 10:45:48 +00:00
Rohit Grover
abe186143f dropping the un-necessary mention of doc-generation from FRONTPAGE.md 2015-12-03 09:07:03 +00:00
Rohit Grover
2bbeb1d848 version v2.1.8 2015-12-03 08:42:44 +00:00
Rohit Grover
9d3cd74b41 Merge pull request #129 from iriark01/patch-10
Edit
2015-12-03 08:42:00 +00:00
Rohit Grover
145b83cde2 Merge pull request #130 from iriark01/patch-11
Edit
2015-12-03 08:41:32 +00:00
Irit Arkin
2d708e9462 Edit 2015-12-02 17:08:13 +00:00
Irit Arkin
b9af3222e9 Edit 2015-12-02 16:39:58 +00:00
Marcus Chang
ea69dba564 Reversed internal representation of long UUID in the UUID class to little endian to be consistent with the short UUID. 2015-12-02 15:37:44 +00:00
Rohit Grover
12c913d23a Release 2.1.7
=============

updating versions for dependencies
2015-12-02 12:55:06 +00:00
Rohit Grover
e15a022d1d update depenency for ble-nrf51822 to 2.1.3 2015-12-02 12:54:31 +00:00
Rohit Grover
2cf39597b5 version v2.1.7 2015-12-02 12:44:46 +00:00
Rohit Grover
35adda9856 Release 2.1.6
=============

Minor update around GattCharacteristics having variable length.
2015-12-02 12:42:19 +00:00
Rohit Grover
68165f2f65 update depenency for ble-nrf51822 to 2.1.2 2015-12-02 12:41:44 +00:00
Rohit Grover
d71c316181 Merge pull request #127 from andresag01/develop
Allow GattAttributes to have variable length
2015-12-02 11:44:32 +00:00
Andres Amaya Garcia
46b05925f9 Make some subclasses of GattChar variable size
The following subclasses of GattCharacteristic are modified to have variable
size:

* WriteOnlyGattCharacteristic
* ReadWriteGattCharacteristic
* WriteOnlyArrayGattCharacteristic
* ReadWriteArrayGattCharacteristic
2015-12-02 11:26:09 +00:00
Andres Amaya Garcia
3108e0e54c Make subclasses of GattCharacteristic fixed len
The following subclasses of GattCharacteristic now have fixed length by passing
false as the last parameter to the GattCharacteristic constructore:

* ReadOnlyGattCharacteristic
* WriteOnlyGattCharacteristic
* ReadWriteGattCharacteristic
* WriteOnlyArrayGattCharacteristic
* ReadOnlyArrayGattCharacteristic
* ReadWriteArrayGattCharacteristic
2015-12-02 11:26:09 +00:00
Andres Amaya Garcia
87aeff3474 Allow GattAttributes to have fixed length
Previously the concepts of initLength and lenth were clearly separated.
However, this was at the cost of registering all characteristics in the
SoftDevice as having variable length. Clearly, this is not the desired
behaviour. Therefore, an additional field '_hasVariableLen' is added to the
GattAttribute to address the problem. Also, the GattAttribute and
GattCharacteristic constructors have been modified to take a boolean that
sets '_hasVariableLen'.
2015-12-02 11:26:09 +00:00
Rohit Grover
7317670ba4 version v2.1.6 2015-12-02 10:54:04 +00:00
Rohit Grover
c4bc3fa2bc fix a typo. onConnection had got renamed incorrectly with recent chagnes. 2015-12-02 10:49:19 +00:00
Rohit Grover
13bf70b67d Release 2.1.5
=============

A minor release to separate the concept of minlen and len in
GattCharacteristic. Also contains some improvements to documentation.
2015-12-02 09:42:05 +00:00
Rohit Grover
34c8643d08 version v2.1.5 2015-12-02 09:38:42 +00:00
Rohit Grover
4cbf096268 Merge pull request #114 from iriark01/patch-5
Minor edits
2015-12-02 08:03:30 +00:00
Rohit Grover
a2c6455c08 Merge pull request #123 from iriark01/patch-6
Edit
2015-12-02 08:02:50 +00:00
Rohit Grover
67ad1a2a99 Merge pull request #124 from iriark01/patch-7
Edit
2015-12-02 08:02:36 +00:00
Rohit Grover
23690e78e1 Merge pull request #125 from iriark01/patch-8
Edit
2015-12-02 08:01:59 +00:00
Rohit Grover
f0c1526f00 Merge pull request #126 from iriark01/patch-9
Edit
2015-12-02 08:01:30 +00:00
Irit Arkin
467eb2e902 Edit 2015-12-01 17:51:17 +00:00
Irit Arkin
1af35b6413 Edit 2015-12-01 17:31:21 +00:00
Irit Arkin
ec20b5e302 Edit 2015-12-01 17:26:28 +00:00
Irit Arkin
acda4fd2f5 Edit
This is very light; is there more information you can add?
2015-12-01 15:01:19 +00:00
Rohit Grover
d45033b290 Merge pull request #122 from andresag01/develop
Separate the concept of minlen and len in GattAttr
2015-11-29 13:46:55 +00:00
Andres Amaya Garcia
db1ff945de Separate the concept of minlen and len in GattChar
In previous versions of BLE_API the GattCharacteristic initLen parameter is
named minLen as well. When the characteristic is committed to the SoftDevice
the value of initial length is also used as the minimum length of the
characteristic value. Furthermore, the test (max_length == min_length) is used
to determine whether the characteristic value has variable length. This is
slightly confusing and also causes problems if the user wishes to use a
characteristic with variable length but the initial lenght is equal to max
length.

To solve this problem the characteristic is now always committed to the
SoftDevice as variable. Furthermore, the API only maintains the current lenght
and the max length i.e. the field initialLen in the GattAttribute is removed.
Finally, the constructor for the GattCharacteristic was modified to reflect
these changes.

*NOTES:*
* This change requires updates to ble-nrf51822.
* Ideally we would like the characteristics to be declared as 'variable' only
when necessary, but this requires changing the signature of the
GattCharacteristic and GattAttribute constructures. Therefore, it will be part
of a separate pull request.
2015-11-27 17:17:56 +00:00
Rohit Grover
dd3d3ecc6f Merge pull request #120 from metc/develop
Doxygen fixes
2015-11-27 08:04:23 +00:00
Christopher Métrailler
1a3e9c4c84 Doxygen fixes.
The DFU service doc was filtered due to f8ab6daf70
Ignore two MD files which must not appear in Doxygen
Fix Doxygen link
2015-11-26 22:26:34 +01:00
Rohit Grover
3d9913ce70 Release 2.1.4
=============

Minor change to fix a build issue:
Disable DFUService except for nRF51 targets.
2015-11-26 14:49:31 +00:00
Rohit Grover
76c8c36e04 version v2.1.4 2015-11-26 14:44:36 +00:00
Rohit Grover
f8ab6daf70 Merge pull request #119 from LiyouZhou/guard_dfu_files
Guard nordic specific implementation with #ifdef TARGET_NRF51822
2015-11-26 14:42:42 +00:00
Liyou Zhou
ce62be1ea5 Change position of ifdef 2015-11-26 14:24:38 +00:00
Liyou Zhou
2a58ee974c Merge branch 'guard_dfu_files' of github.com:LiyouZhou/ble into guard_dfu_files 2015-11-26 14:22:47 +00:00
Liyou Zhou
f2a0a2f09e Guard nordic specific implementation with #ifdef TARGET_NRF51822 2015-11-26 14:22:15 +00:00
Liyou Zhou
9b159ddaa4 Guard nordic specific implementation with #ifdef TARGET_NRF51822 2015-11-26 13:54:20 +00:00
Rohit Grover
12e27cd443 Release 2.1.3
=============

* Improvements to CallChainOfFunctionPointerswithContext:
  - add a `detach` function to be able to remove callbacks.
  - detach function now return true if a function has been detached and
    false otherwise.
  - add a function call operator.
  - use safe-bool idiom. see : http://www.artima.com/cppsource/safebool.html

* Add SafeBool class which allow to easily declare a safe bool operator in
  c++03.

* Improvements to FunctionPointerWithContext:
  - fix call propagation
  - use safe bool idiom

* Add config file for generating Doxygen.

* Setup for onRadioNotification callback does not call initRadioNotification
  anymore.

* GapAdvertisementData now handles replacement and appending of data fields
  based on type. Some fields can be replaced with new values, and others
  require the payload to be appended.
2015-11-26 11:28:18 +00:00
Vincent Coubard
9f31f3800f Merge remote-tracking branch 'origin/develop' into descriptorDiscovery 2015-11-26 11:25:01 +00:00
Rohit Grover
aad34762ee version v2.1.3 2015-11-26 11:10:41 +00:00
Rohit Grover
ffd18cb519 Merge pull request #118 from LiyouZhou/develop
Call bootloader_start implicitly trough a event handler call
2015-11-26 11:10:10 +00:00
Rohit Grover
6dc7b8ff28 version v2.1.2 2015-11-26 10:48:35 +00:00