Commit graph

900 commits

Author SHA1 Message Date
Rohit Grover
6c13ded25b version v2.1.13 2015-12-11 09:29:34 +00:00
Rohit Grover
21447dcf8a version v2.1.12 2015-12-11 09:27:59 +00:00
Rohit Grover
5eca22cd68 Merge pull request #140 from marcuschangarm/bond
Added SecurityManager::setLinkSecurity call for elevating security settings on a particular connection.
2015-12-11 09:13:43 +00:00
Marcus Chang
372e20367c Added SecurityManager::setLinkSecurity call for elevating security settings on a particular connection. 2015-12-10 15:02:05 +00:00
Rohit Grover
f3dd147b2b Release 2.1.11
==============

* Added byte ordering parameter to UUID construction for long UUIDs. The
  default remains as Big-Endian.

* Add a doxyfile that warns for undocumented elements.

* Minor fixes for some documentation.
2015-12-10 09:11:25 +00:00
Rohit Grover
12d317cc9f version v2.1.10 2015-12-07 15:45:06 +00:00
Rohit Grover
e8cf2c3999 Merge branch 'marcuschangarm-endian' into develop 2015-12-07 15:44:52 +00:00
Rohit Grover
694130ff18 use std::reverse_copy to switch byte-order 2015-12-07 15:44:28 +00:00
Rohit Grover
9ba091134d rename UUID::BitOrder_t to ByteOrder 2015-12-07 15:36:46 +00:00
Rohit Grover
9c648dc3c6 add comment header for UUID::char2int 2015-12-07 15:30:35 +00:00
Rohit Grover
aac3181548 Merge branch 'endian' of https://github.com/marcuschangarm/ble into marcuschangarm-endian 2015-12-07 15:26:04 +00:00
Marcus Chang
01eaeeeea2 Added bit ordering parameter to UUID construction. 2015-12-07 13:43:44 +00:00
Rohit Grover
ce4551ba6b remove an incorrect comment block 2015-12-04 13:14:01 +00:00
Rohit Grover
605519dc6e version v2.1.9 2015-12-04 13:07:06 +00:00
Rohit Grover
ae05cd7950 merge the options from Doxyfile into ble.doxyfile 2015-12-04 13:06:48 +00:00
Rohit Grover
1922b9a19f Merge pull request #134 from andresag01/develop
Fix documentation for advertising interval getters
2015-12-04 11:00:20 +00:00
Andres Amaya Garcia
d9faf10036 Fix documentation for getMinAdvertisingInterval and getMinNonConnectableAdvertisingInterval 2015-12-04 10:14:48 +00:00
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
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
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
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