Rohit Grover
61eae6c03a
fix Gap::onTimeout().
...
Introduce Gap::TimeoutSource_t. Update TimeoutEventCallback_t
2015-06-18 19:04:16 +01:00
Rohit Grover
5a93322a63
remove GATTClient related APIs from BLE
2015-06-18 18:34:59 +01:00
Rohit Grover
5b76b4ae76
GattServer: readValue()->read(), updateValue()->write()
2015-06-18 16:15:23 +01:00
Rohit Grover
42aaf6bb99
add BLE::gattServer()
2015-06-18 14:49:33 +01:00
Rohit Grover
68683f1c43
deprecate all GAP APIs from within BLE;
...
add consistent comment headers.
2015-06-18 14:20:43 +01:00
Rohit Grover
7d4f3584ce
drop reset() from BLEInstanceBase.h
2015-06-18 06:53:36 +01:00
Rohit Grover
93ef520e62
GapAdvertisingParams: rename type to AdvertisingType_t
2015-06-17 14:16:43 +01:00
Rohit Grover
0e9fdf09a7
copy over GAP APIs from BLE into GAP
2015-06-17 11:09:28 +01:00
Rohit Grover
3832347ea8
rename accessors within Gap
2015-06-17 09:58:40 +01:00
Rohit Grover
f3de00348d
rename members within GAP with an underscore prefix
2015-06-17 09:55:33 +01:00
Rohit Grover
e74eb3b4f2
moved GAP related members out of BLE and into GAP
2015-06-17 09:51:37 +01:00
Rohit Grover
756e86da71
BLE: move scanningParams to a better location
2015-06-16 12:46:56 +01:00
Rohit Grover
5981b610d1
add BLE::gap()
2015-06-16 11:58:35 +01:00
Rohit Grover
c89eea7a32
rename BLEDevice as BLE; BLEDeviceInstanceBase as BLEInstanceBase
2015-06-16 11:35:59 +01:00
Rohit Grover
532535b1ec
Merge branch 'gattClient' into develop
2015-06-16 11:17:54 +01:00
Rohit Grover
9bcd743330
Rename BLEDevice as BLE. Retain an alias to BLEDevice for the sake of compatibility with old code.
2015-06-16 09:45:57 +01:00
Rohit Grover
05edd0f454
minor white space diffs.
2015-06-15 08:12:22 +01:00
Rohit Grover
43177a02f7
remove un-necessary comments in GattClient.h
2015-06-15 08:09:58 +01:00
Rohit Grover
bfc5480375
fixes #43 . Added a few items to DisconnectionReason_t
2015-06-13 00:31:21 +01:00
Rohit Grover
bc4233f22a
white space and cosmetic changes.
2015-06-13 00:18:40 +01:00
Rohit Grover
eaf65c9ec4
various services: changed member access levels from private to protected
2015-06-13 00:17:29 +01:00
Rohit Grover
1298a1dda9
certain services like the batteryService and heartRateService don't need to be singletons.
2015-06-13 00:14:52 +01:00
Rohit Grover
33e1d6f93a
minor reordering of APIs in BLEDeviceInstanceBase
2015-06-12 17:50:53 +01:00
Rohit Grover
8ebf721ef2
move setTxPower() and getPermittedTxPowerValues() into Gap.h
2015-06-12 17:48:48 +01:00
Rohit Grover
06fe80d975
GattServer APIs should be mostly public
2015-06-12 17:35:12 +01:00
Rohit Grover
ab66c925bc
Gap APIs should be mostly public.
2015-06-12 17:34:52 +01:00
Rohit Grover
69726547cc
Release 0.3.9
...
=============
A minor patch to fix a build error introduced by the previous
release. This has to do with certain declarations being made members
of class UUID.
2015-06-08 10:55:27 +01:00
Rohit Grover
f6cd813d68
fix minor build errors arising from making certain declarations members of class UUID.
2015-06-08 10:54:52 +01:00
Rohit Grover
7e8977d8e7
Release 0.3.8
...
=============
This is a minor set of enhancements before we yotta-ize BLE_API.
Enhancements
~~~~~~~~~~~~
* Minor rework for class UUID; added a default and copy constructor; and a != operator.
* Added copy constructor and accessors for GapAdvertisingParams.
* GapScanningParams:: remove unnecessary checks for SCAN_TIMEOUT_MAX.
* Add a comment header block to explain why BLEDevice::init() may not be safe
to call from global static context.
* Introduce GattAttribute::INVALID_HANDLE.
* Replace some deprecated uses of Gap::address_t with Gap::Address_t.
Bugfixes
~~~~~~~~
* None.
2015-06-08 10:28:33 +01:00
Rohit Grover
9f26d2a308
define operator!= for UUID
2015-06-08 09:53:16 +01:00
Rohit Grover
cdaa23edfd
add UUID::setupLong()
2015-06-08 09:52:44 +01:00
Rohit Grover
27aae6bf41
Add a copy and default constructor for UUID.h.
...
add a comment to UUID constructor to explain MSB byte ordering.
2015-06-08 09:51:24 +01:00
Rohit Grover
77c592a9a9
Move certain UUID related declarations within the UUID namespace.
2015-06-08 09:47:28 +01:00
Rohit Grover
abb753428b
add GattAttribute::INVALID_HANDLE
2015-06-08 09:38:57 +01:00
Rohit Grover
db326a1c70
replaced more deprecated uses of Gap::address_t
2015-06-08 09:36:04 +01:00
Rohit Grover
2ae75d427d
minor change to comment header for launchServiceDiscovery()
2015-06-08 07:23:11 +01:00
Rohit Grover
03c8740344
we now have a working GattClient::write()
2015-06-05 13:30:01 +01:00
Rohit Grover
5f0668ee2c
rename GattCharacteristicCallbackParams.h -> GattCallbackParamTypes.h
2015-06-05 11:23:07 +01:00
Rohit Grover
c01f76cfbe
cleanup around GattCallbackParamTypes
2015-06-05 11:13:31 +01:00
Rohit Grover
49c495d36f
get rid of 'op' from GattCharacteristicReadCBParams
2015-06-05 10:50:23 +01:00
Rohit Grover
06deb96559
GattClient now reuses GattCharacteristicReadCBParams
2015-06-05 10:46:09 +01:00
Rohit Grover
c9d1588dea
white space diffs.
2015-06-05 10:41:16 +01:00
Rohit Grover
248c63d793
GattCharacteristicReadCBParams::len isn't a pointer. And data is const.
2015-06-05 10:40:49 +01:00
Rohit Grover
c0eb59b498
oops. ReadCallback_t has moved into GattClient.
2015-06-05 10:12:57 +01:00
Rohit Grover
49ec8f8bc2
Add GattClient::WriteResponse*
2015-06-05 09:56:21 +01:00
Rohit Grover
d250191883
remove extraneous header include.
2015-06-05 09:55:16 +01:00
Rohit Grover
ee29ce32ef
minor sanity check for DiscoveredCharacteristic::writeWoResponse()
2015-06-05 09:21:24 +01:00
Rohit Grover
1a9e68e197
ReadCallback_t moves into GattClient.
2015-06-05 09:20:41 +01:00
Rohit Grover
037ea9c6a7
use forward declarations.
2015-06-05 09:16:23 +01:00
Rohit Grover
92f61ed875
fix API header for writeWoResponse()
2015-06-05 08:20:48 +01:00